src/hotspot/share/jfr/leakprofiler/emitEventOperation.cpp
changeset 50880 e1117321adaf
parent 50113 caf115bb98ad
child 52850 f527b24990d7
equal deleted inserted replaced
50879:d90c3cbf13df 50880:e1117321adaf
   214 
   214 
   215   EventOldObjectSample e(UNTIMED);
   215   EventOldObjectSample e(UNTIMED);
   216   e.set_starttime(GranularTimer::start_time());
   216   e.set_starttime(GranularTimer::start_time());
   217   e.set_endtime(GranularTimer::end_time());
   217   e.set_endtime(GranularTimer::end_time());
   218   e.set_allocationTime(sample->allocation_time());
   218   e.set_allocationTime(sample->allocation_time());
       
   219   e.set_lastKnownHeapUsage(sample->heap_used_at_last_gc());
   219   e.set_object(object_id);
   220   e.set_object(object_id);
   220   e.set_arrayElements(array_size(*object_addr));
   221   e.set_arrayElements(array_size(*object_addr));
   221   e.set_root(gc_root_id);
   222   e.set_root(gc_root_id);
   222 
   223 
   223   // Temporarily assigning both the stack trace id and thread id
   224   // Temporarily assigning both the stack trace id and thread id