< prev index next >

src/hotspot/share/classfile/classLoader.hpp

Print this page

        

@@ -439,16 +439,15 @@
 // instances have been created as multiple events are happening.
 class PerfClassTraceTime {
  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
   // including time for all other event types, and recursive calls of this type.
   // When a timer is called recursively, the elapsedTimer _t would not be used.

@@ -482,13 +481,10 @@
                             int type                    /* event type */ ) :
       _timep(timep), _selftimep(NULL), _eventp(NULL), _recursion_counters(NULL), _timers(timers), _event_type(type) {
     initialize();
   }
 
-  inline void suspend() { _t.stop(); _timers[_event_type].stop(); }
-  inline void resume()  { _t.start(); _timers[_event_type].start(); }
-
   ~PerfClassTraceTime();
   void initialize();
 };
 
 #endif // SHARE_CLASSFILE_CLASSLOADER_HPP
< prev index next >