mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8133530: Add JFR event for evacuation statistics
Introduce two new JFR events for young/old generation allocation statistics based on previous changes. Reviewed-by: ehelin, mgerdin
This commit is contained in:
parent
0ade675b8b
commit
4a849fb21c
7 changed files with 125 additions and 0 deletions
|
@ -252,4 +252,12 @@ void G1NewTracer::report_evacuation_failed(EvacuationFailedInfo& ef_info) {
|
|||
send_evacuation_failed_event(ef_info);
|
||||
ef_info.reset();
|
||||
}
|
||||
|
||||
void G1NewTracer::report_evacuation_statistics(const G1EvacSummary& young_summary, const G1EvacSummary& old_summary) const {
|
||||
assert_set_gc_id();
|
||||
|
||||
send_young_evacuation_statistics(young_summary);
|
||||
send_old_evacuation_statistics(old_summary);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue