src/share/vm/runtime/sweeper.hpp

changeset 2916
f52ed367b66d
parent 2314
f95d63e2154a
child 4037
da91efe96a93
     1.1 --- a/src/share/vm/runtime/sweeper.hpp	Mon May 16 14:21:16 2011 -0700
     1.2 +++ b/src/share/vm/runtime/sweeper.hpp	Mon May 16 22:16:44 2011 -0700
     1.3 @@ -57,6 +57,13 @@
     1.4   public:
     1.5    static long traversal_count() { return _traversals; }
     1.6  
     1.7 +#ifdef ASSERT
     1.8 +  // Keep track of sweeper activity in the ring buffer
     1.9 +  static void record_sweep(nmethod* nm, int line);
    1.10 +  static void report_events(int id, address entry);
    1.11 +  static void report_events();
    1.12 +#endif
    1.13 +
    1.14    static void scan_stacks();      // Invoked at the end of each safepoint
    1.15    static void sweep_code_cache(); // Concurrent part of sweep job
    1.16    static void possibly_sweep();   // Compiler threads call this to sweep

mercurial