--- old/src/share/vm/gc_implementation/g1/vm_operations_g1.hpp 2015-03-31 14:52:49.931189412 +0200 +++ new/src/share/vm/gc_implementation/g1/vm_operations_g1.hpp 2015-03-31 14:52:49.823189417 +0200 @@ -47,6 +47,11 @@ GCCause::Cause gc_cause) : VM_CollectForAllocation(word_size, gc_count_before, gc_cause), _pause_succeeded(false) {} + + // override to handle G1 specific locking asserts + virtual bool doit_prologue(); + virtual void doit_epilogue(); + bool pause_succeeded() { return _pause_succeeded; } void set_allocation_context(AllocationContext_t context) { _allocation_context = context; } AllocationContext_t allocation_context() { return _allocation_context; }