File tree 4 files changed +0
-22
lines changed
4 files changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,6 @@ class CollectedHeap : public CHeapObj<mtGC> {
91
91
friend class VMStructs ;
92
92
friend class JVMCIVMStructs ;
93
93
friend class IsSTWGCActiveMark ; // Block structured external access to _is_stw_gc_active
94
- friend class DisableIsSTWGCActiveMark ; // Disable current IsSTWGCActiveMark
95
94
friend class MemAllocator ;
96
95
friend class ParallelObjectIterator ;
97
96
Original file line number Diff line number Diff line change @@ -42,15 +42,3 @@ IsSTWGCActiveMark::~IsSTWGCActiveMark() {
42
42
assert (heap->is_stw_gc_active (), " Sanity" );
43
43
heap->_is_stw_gc_active = false ;
44
44
}
45
-
46
- DisableIsSTWGCActiveMark::DisableIsSTWGCActiveMark () {
47
- CollectedHeap* heap = Universe::heap ();
48
- assert (heap->is_stw_gc_active (), " Not reentrant" );
49
- heap->_is_stw_gc_active = false ;
50
- }
51
-
52
- DisableIsSTWGCActiveMark::~DisableIsSTWGCActiveMark () {
53
- CollectedHeap* heap = Universe::heap ();
54
- assert (!heap->is_stw_gc_active (), " Sanity" );
55
- heap->_is_stw_gc_active = true ;
56
- }
Original file line number Diff line number Diff line change @@ -36,10 +36,4 @@ class IsSTWGCActiveMark : public StackObj {
36
36
~IsSTWGCActiveMark ();
37
37
};
38
38
39
- class DisableIsSTWGCActiveMark : public StackObj {
40
- public:
41
- DisableIsSTWGCActiveMark ();
42
- ~DisableIsSTWGCActiveMark ();
43
- };
44
-
45
39
#endif // SHARE_GC_SHARED_ISGCACTIVEMARK_HPP
Original file line number Diff line number Diff line change @@ -483,9 +483,6 @@ void ZVerify::after_mark() {
483
483
roots_strong (true /* verify_after_old_mark */ );
484
484
}
485
485
if (ZVerifyObjects) {
486
- // Workaround OopMapCacheAlloc_lock reordering with the StackWatermark_lock
487
- DisableIsSTWGCActiveMark mark;
488
-
489
486
objects (false /* verify_weaks */ );
490
487
guarantee (zverify_broken_object == zaddress::null, " Verification failed" );
491
488
}
You can’t perform that action at this time.
0 commit comments