mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8078901: Add trace event for G1 MMU information
Reviewed-by: ehelin, mlarsson
This commit is contained in:
parent
a7f0956201
commit
c85e4ae56f
8 changed files with 45 additions and 6 deletions
|
@ -199,6 +199,17 @@ void G1NewTracer::send_g1_young_gc_event() {
|
|||
}
|
||||
}
|
||||
|
||||
void G1MMUTracer::send_g1_mmu_event(const GCId& gcId, double timeSlice, double gcTime, double maxTime) {
|
||||
EventGCG1MMU e;
|
||||
if (e.should_commit()) {
|
||||
e.set_gcId(gcId.id());
|
||||
e.set_timeSlice(timeSlice);
|
||||
e.set_gcTime(gcTime);
|
||||
e.set_maxGcTime(maxTime);
|
||||
e.commit();
|
||||
}
|
||||
}
|
||||
|
||||
void G1NewTracer::send_evacuation_info_event(EvacuationInfo* info) {
|
||||
EventEvacuationInfo e;
|
||||
if (e.should_commit()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue