< prev index next >
src/hotspot/share/gc/shared/gcId.hpp
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -36,11 +36,11 @@
public:
// Returns the currently active GC id. Asserts that there is an active GC id.
static const uint current();
// Same as current() but can return undefined() if no GC id is currently active
- static const uint current_raw();
+ static const uint current_or_undefined();
// Returns the next expected GCId.
static const uint peek();
static const uint undefined() { return UNDEFINED; }
static size_t print_prefix(char* buf, size_t len);
};
< prev index next >