< prev index next >
src/share/vm/gc/shared/allocTracer.cpp
Print this page
rev 9681 : 8065331: Add trace events for failed allocations
rev 9682 : imported patch rev
*** 45,57 ****
event.set_tlabSize(tlab_size);
event.commit();
}
}
! void AllocTracer::send_allocation_requiring_gc_event(size_t size, uint gcId) {
EventAllocationRequiringGC event;
if (event.should_commit()) {
- event.set_gcId(gcId);
event.set_size(size);
event.commit();
}
}
--- 45,56 ----
event.set_tlabSize(tlab_size);
event.commit();
}
}
! void AllocTracer::send_allocation_requiring_gc_event(size_t size) {
EventAllocationRequiringGC event;
if (event.should_commit()) {
event.set_size(size);
event.commit();
}
}
< prev index next >