< prev index next >
src/hotspot/share/gc/g1/g1VMOperations.hpp
Print this page
rev 53920 : imported patch 8218880-g1-crashes-periodic-gc-gclocker
rev 53921 : [mq]: 8218880-shade-review
@@ -33,25 +33,25 @@
// - VM_G1Concurrent
// - VM_G1CollectForAllocation
// - VM_G1CollectFull
class VM_G1CollectFull : public VM_GC_Operation {
- bool _pause_succeeded;
+ bool _gc_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) { }
+ _gc_succeeded(false) { }
virtual VMOp_Type type() const { return VMOp_G1CollectFull; }
virtual void doit();
- bool pause_succeeded() { return _pause_succeeded; }
+ bool gc_succeeded() { return _gc_succeeded; }
};
class VM_G1CollectForAllocation : public VM_CollectForAllocation {
- bool _pause_succeeded;
+ bool _gc_succeeded;
bool _should_initiate_conc_mark;
bool _should_retry_gc;
double _target_pause_time_ms;
uint _old_marking_cycles_completed_before;
@@ -65,11 +65,11 @@
virtual VMOp_Type type() const { return VMOp_G1CollectForAllocation; }
virtual bool doit_prologue();
virtual void doit();
virtual void doit_epilogue();
bool should_retry_gc() const { return _should_retry_gc; }
- bool pause_succeeded() { return _pause_succeeded; }
+ bool gc_succeeded() { return _gc_succeeded; }
};
// Concurrent G1 stop-the-world operations such as remark and cleanup.
class VM_G1Concurrent : public VM_Operation {
VoidClosure* _cl;
< prev index next >