--- old/src/hotspot/share/classfile/classLoader.hpp 2020-06-26 14:46:06.572179906 +0000 +++ new/src/hotspot/share/classfile/classLoader.hpp 2020-06-26 14:46:05.718055784 +0000 @@ -441,12 +441,11 @@ public: enum { CLASS_LOAD = 0, - PARSE_CLASS = 1, - CLASS_LINK = 2, - CLASS_VERIFY = 3, - CLASS_CLINIT = 4, - DEFINE_CLASS = 5, - EVENT_TYPE_COUNT = 6 + CLASS_LINK = 1, + CLASS_VERIFY = 2, + CLASS_CLINIT = 3, + DEFINE_CLASS = 4, + EVENT_TYPE_COUNT = 5 }; protected: // _t tracks time from initialization to destruction of this timer instance @@ -484,9 +483,6 @@ initialize(); } - inline void suspend() { _t.stop(); _timers[_event_type].stop(); } - inline void resume() { _t.start(); _timers[_event_type].start(); } - ~PerfClassTraceTime(); void initialize(); };