diff src/share/vm/gc_implementation/shared/objectCountEventSender.cpp @ 13400:86e6d691f2e1

8028128: Add a type safe alternative for working with counter based data Reviewed-by: dholmes, egahlin
author mgronlun
date Sat, 23 Nov 2013 12:25:13 +0100
parents 274ce305e5b9
children 0982ec23da03
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/shared/objectCountEventSender.cpp	Sat Nov 23 09:56:59 2013 +0100
+++ b/src/share/vm/gc_implementation/shared/objectCountEventSender.cpp	Sat Nov 23 12:25:13 2013 +0100
@@ -28,10 +28,11 @@
 #include "memory/heapInspection.hpp"
 #include "trace/tracing.hpp"
 #include "utilities/globalDefinitions.hpp"
+#include "utilities/ticks.hpp"
 
 #if INCLUDE_SERVICES
 
-void ObjectCountEventSender::send(const KlassInfoEntry* entry, GCId gc_id, jlong timestamp) {
+void ObjectCountEventSender::send(const KlassInfoEntry* entry, GCId gc_id, const Ticks& timestamp) {
 #if INCLUDE_TRACE
   assert(Tracing::is_event_enabled(EventObjectCountAfterGC::eventId),
          "Only call this method if the event is enabled");