< prev index next >
src/hotspot/share/gc/g1/g1VMOperations.hpp
Print this page
rev 53920 : imported patch 8218880-g1-crashes-periodic-gc-gclocker
*** 33,49 ****
// - VM_G1Concurrent
// - VM_G1CollectForAllocation
// - VM_G1CollectFull
class VM_G1CollectFull : public VM_GC_Operation {
public:
VM_G1CollectFull(uint gc_count_before,
uint full_gc_count_before,
GCCause::Cause cause) :
! VM_GC_Operation(gc_count_before, cause, full_gc_count_before, true) { }
virtual VMOp_Type type() const { return VMOp_G1CollectFull; }
virtual void doit();
};
class VM_G1CollectForAllocation : public VM_CollectForAllocation {
bool _pause_succeeded;
--- 33,53 ----
// - VM_G1Concurrent
// - VM_G1CollectForAllocation
// - VM_G1CollectFull
class VM_G1CollectFull : public VM_GC_Operation {
+ bool _pause_succeeded;
+
public:
VM_G1CollectFull(uint gc_count_before,
uint full_gc_count_before,
GCCause::Cause cause) :
! VM_GC_Operation(gc_count_before, cause, full_gc_count_before, true),
! _pause_succeeded(false) { }
virtual VMOp_Type type() const { return VMOp_G1CollectFull; }
virtual void doit();
+ bool pause_succeeded() { return _pause_succeeded; }
};
class VM_G1CollectForAllocation : public VM_CollectForAllocation {
bool _pause_succeeded;
< prev index next >