index

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

Print this page
rev 8024 : imported patch event1
* * *
imported patch event2

*** 42,53 **** AllocationContext_t _allocation_context; public: VM_G1OperationWithAllocRequest(uint gc_count_before, size_t word_size, ! GCCause::Cause gc_cause) ! : VM_CollectForAllocation(word_size, gc_count_before, gc_cause), _pause_succeeded(false) {} bool pause_succeeded() { return _pause_succeeded; } void set_allocation_context(AllocationContext_t context) { _allocation_context = context; } AllocationContext_t allocation_context() { return _allocation_context; } }; --- 42,54 ---- AllocationContext_t _allocation_context; public: VM_G1OperationWithAllocRequest(uint gc_count_before, size_t word_size, ! GCCause::Cause gc_cause, ! uint gc_attempt) ! : VM_CollectForAllocation(word_size, gc_count_before, gc_cause, gc_attempt), _pause_succeeded(false) {} bool pause_succeeded() { return _pause_succeeded; } void set_allocation_context(AllocationContext_t context) { _allocation_context = context; } AllocationContext_t allocation_context() { return _allocation_context; } };
*** 66,76 **** }; class VM_G1CollectForAllocation: public VM_G1OperationWithAllocRequest { public: VM_G1CollectForAllocation(uint gc_count_before, ! size_t word_size); virtual VMOp_Type type() const { return VMOp_G1CollectForAllocation; } virtual void doit(); virtual const char* name() const { return "garbage-first collection to satisfy allocation"; } --- 67,78 ---- }; class VM_G1CollectForAllocation: public VM_G1OperationWithAllocRequest { public: VM_G1CollectForAllocation(uint gc_count_before, ! size_t word_size, ! uint gc_attempt); virtual VMOp_Type type() const { return VMOp_G1CollectForAllocation; } virtual void doit(); virtual const char* name() const { return "garbage-first collection to satisfy allocation"; }
*** 85,95 **** public: VM_G1IncCollectionPause(uint gc_count_before, size_t word_size, bool should_initiate_conc_mark, double target_pause_time_ms, ! GCCause::Cause gc_cause); virtual VMOp_Type type() const { return VMOp_G1IncCollectionPause; } virtual bool doit_prologue(); virtual void doit(); virtual void doit_epilogue(); virtual const char* name() const { --- 87,98 ---- public: VM_G1IncCollectionPause(uint gc_count_before, size_t word_size, bool should_initiate_conc_mark, double target_pause_time_ms, ! GCCause::Cause gc_cause, ! uint gc_attempt = 0); virtual VMOp_Type type() const { return VMOp_G1IncCollectionPause; } virtual bool doit_prologue(); virtual void doit(); virtual void doit_epilogue(); virtual const char* name() const {
index