8066443: Add G1 support for promotion event

Reviewed-by: tschatzl
This commit is contained in:
Staffan Friberg 2015-09-02 09:51:05 +02:00
parent dada9bc32c
commit 96823ab211
4 changed files with 29 additions and 0 deletions

View file

@ -173,6 +173,11 @@ void YoungGCTracer::report_tenuring_threshold(const uint tenuring_threshold) {
_tenuring_threshold = tenuring_threshold;
}
bool YoungGCTracer::should_report_promotion_events() const {
return should_report_promotion_in_new_plab_event() ||
should_report_promotion_outside_plab_event();
}
bool YoungGCTracer::should_report_promotion_in_new_plab_event() const {
return should_send_promotion_in_new_plab_event();
}