src/share/vm/gc_implementation/g1/g1RemSet.inline.hpp
Print this page
*** 20,29 ****
--- 20,36 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+ #ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1REMSET_INLINE_HPP
+ #define SHARE_VM_GC_IMPLEMENTATION_G1_G1REMSET_INLINE_HPP
+
+ #include "gc_implementation/g1/g1RemSet.hpp"
+ #include "gc_implementation/g1/heapRegionRemSet.hpp"
+ #include "oops/oop.inline.hpp"
+
inline size_t G1RemSet::n_workers() {
if (_g1->workers() != NULL) {
return _g1->workers()->total_workers();
} else {
return 1;
*** 106,110 ****
--- 113,119 ----
if (!oopDesc::is_null(heap_oop) && !_from->is_survivor()) {
_g1_rem_set->par_write_ref(_from, p, 0);
}
}
+
+ #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1REMSET_INLINE_HPP