diff src/share/vm/gc_implementation/shared/gcTraceTime.hpp @ 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 f2110083203d
children 0982ec23da03
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/shared/gcTraceTime.hpp	Sat Nov 23 09:56:59 2013 +0100
+++ b/src/share/vm/gc_implementation/shared/gcTraceTime.hpp	Sat Nov 23 12:25:13 2013 +0100
@@ -26,6 +26,7 @@
 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_GCTRACETIME_HPP
 
 #include "prims/jni_md.h"
+#include "utilities/ticks.hpp"
 
 class GCTimer;
 
@@ -34,7 +35,7 @@
   bool _doit;
   bool _print_cr;
   GCTimer* _timer;
-  jlong _start_counter;
+  Ticks _start_counter;
 
  public:
   GCTraceTime(const char* title, bool doit, bool print_cr, GCTimer* timer);