< prev index next >
src/share/vm/gc/g1/g1IHOPControl.hpp
Print this page
rev 9310 : dihop-changes
rev 9311 : imported patch sihop-thomas-review
rev 9312 : imported patch 8136678-implement-adaptive-sizing-algorithm-for-IHOP
rev 9314 : imported patch 8136679-jfr-event-for-dynamic-ihop
rev 9315 : imported patch sangheon-review
*** 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;
--- 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_event(G1NewTracer* tracer) = 0;
};
class G1StaticIHOPControl : public G1IHOPControl {
double _last_allocation_time_s;
size_t _last_allocated_bytes;
*** 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
};
--- 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_event(G1NewTracer* tracer);
#ifndef PRODUCT
static void test();
#endif
};
*** 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
};
--- 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_event(G1NewTracer* tracer);
#ifndef PRODUCT
static void test();
#endif
};
< prev index next >