1.1 --- a/src/share/vm/gc_implementation/shared/objectCountEventSender.cpp Wed Jun 25 15:51:15 2014 -0700 1.2 +++ b/src/share/vm/gc_implementation/shared/objectCountEventSender.cpp Thu Jun 19 13:31:14 2014 +0200 1.3 @@ -24,6 +24,7 @@ 1.4 1.5 1.6 #include "precompiled.hpp" 1.7 +#include "gc_implementation/shared/gcId.hpp" 1.8 #include "gc_implementation/shared/objectCountEventSender.hpp" 1.9 #include "memory/heapInspection.hpp" 1.10 #include "trace/tracing.hpp" 1.11 @@ -38,7 +39,7 @@ 1.12 "Only call this method if the event is enabled"); 1.13 1.14 EventObjectCountAfterGC event(UNTIMED); 1.15 - event.set_gcId(gc_id); 1.16 + event.set_gcId(gc_id.id()); 1.17 event.set_class(entry->klass()); 1.18 event.set_count(entry->count()); 1.19 event.set_totalSize(entry->words() * BytesPerWord);