hotspot/src/share/vm/gc_implementation/g1/heapRegion.inline.hpp
changeset 29470 e34bbcd36e53
parent 29081 c61eb4914428
--- a/hotspot/src/share/vm/gc_implementation/g1/heapRegion.inline.hpp	Mon Mar 09 08:22:34 2015 +0100
+++ b/hotspot/src/share/vm/gc_implementation/g1/heapRegion.inline.hpp	Mon Jan 26 10:32:35 2015 +0100
@@ -196,4 +196,8 @@
   }
 }
 
+inline bool HeapRegion::in_collection_set() const {
+  return G1CollectedHeap::heap()->is_in_cset(this);
+}
+
 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGION_INLINE_HPP