equal
deleted
inserted
replaced
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 |