< 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

*** 44,48 **** --- 44,56 ---- event.set_allocationSize(alloc_size); 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 >