src/share/vm/gc_implementation/shared/gcTraceTime.hpp

Print this page
rev 5685 : 8028128: Add a type safe alternative for working with counter based data
Reviewed-by:

*** 24,42 **** #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_GCTRACETIME_HPP #define SHARE_VM_GC_IMPLEMENTATION_SHARED_GCTRACETIME_HPP #include "prims/jni_md.h" class GCTimer; class GCTraceTime { const char* _title; bool _doit; bool _print_cr; GCTimer* _timer; ! jlong _start_counter; public: GCTraceTime(const char* title, bool doit, bool print_cr, GCTimer* timer); ~GCTraceTime(); }; --- 24,43 ---- #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_GCTRACETIME_HPP #define SHARE_VM_GC_IMPLEMENTATION_SHARED_GCTRACETIME_HPP #include "prims/jni_md.h" + #include "utilities/ticks.hpp" class GCTimer; class GCTraceTime { const char* _title; bool _doit; bool _print_cr; GCTimer* _timer; ! Ticks _start_counter; public: GCTraceTime(const char* title, bool doit, bool print_cr, GCTimer* timer); ~GCTraceTime(); };