hotspot/src/share/vm/gc/shared/objectCountEventSender.cpp
changeset 40664 1ec65b303bb7
parent 33107 77bf0d2069a3
equal deleted inserted replaced
40659:a2b2936240b9 40664:1ec65b303bb7
    38   assert(Tracing::is_event_enabled(EventObjectCountAfterGC::eventId),
    38   assert(Tracing::is_event_enabled(EventObjectCountAfterGC::eventId),
    39          "Only call this method if the event is enabled");
    39          "Only call this method if the event is enabled");
    40 
    40 
    41   EventObjectCountAfterGC event(UNTIMED);
    41   EventObjectCountAfterGC event(UNTIMED);
    42   event.set_gcId(GCId::current());
    42   event.set_gcId(GCId::current());
    43   event.set_class(entry->klass());
    43   event.set_objectClass(entry->klass());
    44   event.set_count(entry->count());
    44   event.set_count(entry->count());
    45   event.set_totalSize(entry->words() * BytesPerWord);
    45   event.set_totalSize(entry->words() * BytesPerWord);
    46   event.set_endtime(timestamp);
    46   event.set_endtime(timestamp);
    47   event.commit();
    47   event.commit();
    48 #endif // INCLUDE_TRACE
    48 #endif // INCLUDE_TRACE