< prev index next >

src/share/vm/gc/g1/g1InCSetState.hpp

Print this page
rev 8362 : 8079792: GC directory structure cleanup
Reviewed-by:

*** 1,7 **** /* ! * Copyright (c) 2014, 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, 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.
*** 20,34 **** * or visit www.oracle.com if you need additional information or have any * questions. * */ ! #ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1INCSETSTATE_HPP ! #define SHARE_VM_GC_IMPLEMENTATION_G1_G1INCSETSTATE_HPP ! #include "gc_implementation/g1/heapRegion.hpp" ! #include "gc_implementation/g1/g1BiasedArray.hpp" #include "memory/allocation.hpp" // Per-region state during garbage collection. struct InCSetState { public: --- 20,34 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ ! #ifndef SHARE_VM_GC_G1_G1INCSETSTATE_HPP ! #define SHARE_VM_GC_G1_G1INCSETSTATE_HPP ! #include "gc/g1/g1BiasedArray.hpp" ! #include "gc/g1/heapRegion.hpp" #include "memory/allocation.hpp" // Per-region state during garbage collection. struct InCSetState { public:
*** 130,135 **** InCSetState at(HeapWord* addr) const { return get_by_address(addr); } void clear() { G1BiasedMappedArray<InCSetState>::clear(); } void clear(const HeapRegion* hr) { return set_by_index(hr->hrm_index(), InCSetState::NotInCSet); } }; ! #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1INCSETSTATE_HPP --- 130,135 ---- InCSetState at(HeapWord* addr) const { return get_by_address(addr); } void clear() { G1BiasedMappedArray<InCSetState>::clear(); } void clear(const HeapRegion* hr) { return set_by_index(hr->hrm_index(), InCSetState::NotInCSet); } }; ! #endif // SHARE_VM_GC_G1_G1INCSETSTATE_HPP
< prev index next >