< prev index next >

src/share/vm/gc/g1/g1IHOPControl.hpp

Print this page
rev 9282 : dihop-changes
rev 9283 : imported patch sihop-thomas-review
rev 9284 : imported patch 8136678-implement-adaptive-sizing-algorithm-for-IHOP
rev 9286 : imported patch 8136679-jfr-event-for-dynamic-ihop

*** 27,36 **** --- 27,37 ---- #include "memory/allocation.hpp" #include "utilities/numberSeq.hpp" class G1Predictions; + class G1NewTracer; // Manages the decision about the threshold when concurrent marking should start. class G1IHOPControl : public CHeapObj<mtGC> { protected: double _ihop_percent;
*** 51,60 **** --- 52,62 ---- virtual void update_allocation_info(double allocation_time_s, size_t allocated_bytes, size_t additional_buffer_size) = 0; // Update the time from the end of initial mark to the first mixed gc. virtual void update_time_to_mixed(double marking_length_s) = 0; virtual void print() = 0; + virtual void send_jfr_event(G1NewTracer* tracer) = 0; }; class G1StaticIHOPControl : public G1IHOPControl { double _last_allocation_time_s; size_t _last_allocated_bytes;
*** 74,83 **** --- 76,86 ---- assert(marking_length_s > 0.0, "Marking length must be larger than zero but is %.3f", marking_length_s); _last_marking_length_s = marking_length_s; } virtual void print(); + virtual void send_jfr_event(G1NewTracer* tracer); #ifndef PRODUCT static void test(); #endif };
*** 105,114 **** --- 108,118 ---- virtual void update_allocation_info(double allocation_time_s, size_t allocated_bytes, size_t additional_buffer_size); virtual void update_time_to_mixed(double marking_length_s); virtual void print(); + virtual void send_jfr_event(G1NewTracer* tracer); #ifndef PRODUCT static void test(); #endif };
< prev index next >