< prev index next >

src/hotspot/share/gc/shared/gcId.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2014, 2015, 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. --- 1,7 ---- /* ! * 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,46 **** 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(); // 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); }; --- 36,46 ---- 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_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 >