mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8066441: Add PLAB trace event
Reviewed-by: tschatzl, ehelin, egahlin
This commit is contained in:
parent
5c41d82d78
commit
4b3a02ee0b
4 changed files with 110 additions and 0 deletions
|
@ -172,6 +172,27 @@ void YoungGCTracer::report_tenuring_threshold(const uint tenuring_threshold) {
|
|||
_tenuring_threshold = tenuring_threshold;
|
||||
}
|
||||
|
||||
bool YoungGCTracer::should_report_promotion_in_new_plab_event() const {
|
||||
return should_send_promotion_in_new_plab_event();
|
||||
}
|
||||
|
||||
bool YoungGCTracer::should_report_promotion_outside_plab_event() const {
|
||||
return should_send_promotion_outside_plab_event();
|
||||
}
|
||||
|
||||
void YoungGCTracer::report_promotion_in_new_plab_event(Klass* klass, size_t obj_size,
|
||||
uint age, bool tenured,
|
||||
size_t plab_size) const {
|
||||
assert_set_gc_id();
|
||||
send_promotion_in_new_plab_event(klass, obj_size, age, tenured, plab_size);
|
||||
}
|
||||
|
||||
void YoungGCTracer::report_promotion_outside_plab_event(Klass* klass, size_t obj_size,
|
||||
uint age, bool tenured) const {
|
||||
assert_set_gc_id();
|
||||
send_promotion_outside_plab_event(klass, obj_size, age, tenured);
|
||||
}
|
||||
|
||||
void OldGCTracer::report_gc_end_impl(const Ticks& timestamp, TimePartitions* time_partitions) {
|
||||
assert_set_gc_id();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue