src/share/vm/runtime/sweeper.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hs-comp-code-aging Sdiff src/share/vm/runtime

src/share/vm/runtime/sweeper.hpp

Print this page




  94   static const Tickspan total_time_sweeping()      { return _total_time_sweeping; }
  95   static const Tickspan peak_sweep_time()          { return _peak_sweep_time; }
  96   static const Tickspan peak_sweep_fraction_time() { return _peak_sweep_fraction_time; }
  97   static void log_sweep(const char* msg, const char* format = NULL, ...);
  98 
  99 
 100 #ifdef ASSERT
 101   static bool is_sweeping(nmethod* which) { return _current == which; }
 102   // Keep track of sweeper activity in the ring buffer
 103   static void record_sweep(nmethod* nm, int line);
 104   static void report_events(int id, address entry);
 105   static void report_events();
 106 #endif
 107 
 108   static void mark_active_nmethods();      // Invoked at the end of each safepoint
 109   static void possibly_sweep();            // Compiler threads call this to sweep
 110 
 111   static int hotness_counter_reset_val();
 112   static void report_state_change(nmethod* nm);
 113   static void possibly_enable_sweeper();

 114   static void print();   // Printing/debugging
 115 };
 116 
 117 #endif // SHARE_VM_RUNTIME_SWEEPER_HPP


  94   static const Tickspan total_time_sweeping()      { return _total_time_sweeping; }
  95   static const Tickspan peak_sweep_time()          { return _peak_sweep_time; }
  96   static const Tickspan peak_sweep_fraction_time() { return _peak_sweep_fraction_time; }
  97   static void log_sweep(const char* msg, const char* format = NULL, ...);
  98 
  99 
 100 #ifdef ASSERT
 101   static bool is_sweeping(nmethod* which) { return _current == which; }
 102   // Keep track of sweeper activity in the ring buffer
 103   static void record_sweep(nmethod* nm, int line);
 104   static void report_events(int id, address entry);
 105   static void report_events();
 106 #endif
 107 
 108   static void mark_active_nmethods();      // Invoked at the end of each safepoint
 109   static void possibly_sweep();            // Compiler threads call this to sweep
 110 
 111   static int hotness_counter_reset_val();
 112   static void report_state_change(nmethod* nm);
 113   static void possibly_enable_sweeper();
 114   static void possibly_flush(nmethod* nm);
 115   static void print();   // Printing/debugging
 116 };
 117 
 118 #endif // SHARE_VM_RUNTIME_SWEEPER_HPP
src/share/vm/runtime/sweeper.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File