< prev index next >

src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp

Print this page

        

@@ -1104,21 +1104,10 @@
 
   // Verify that the prev / next bitmap range [tams,end) for the given
   // region has no marks. Return true if all is well, false if errors
   // are detected.
   bool verify_bitmaps(const char* caller, HeapRegion* hr);
-
-  // True if the heap_lock is held by the a non-gc thread invoking a gc
-  // operation.
-  bool _thread_holds_heap_lock_for_gc;
-  // Returns true if the calling thread holds the heap lock,
-  // or the calling thread is a par gc thread and the heap_lock is held
-  // by the vm thread doing a gc operation.
-  bool heap_lock_held_for_gc();
-
-  void set_heap_lock_held_for_gc(bool value) { _thread_holds_heap_lock_for_gc = value; }
-
 #endif // PRODUCT
 
   // If G1VerifyBitmaps is set, verify that the marking bitmaps for
   // the given region do not have any spurious marks. If errors are
   // detected, print appropriate error messages and crash.
< prev index next >