src/share/vm/runtime/sweeper.hpp

changeset 5548
5888334c9c24
parent 5237
f2110083203d
child 5792
510fbd28919c
     1.1 --- a/src/share/vm/runtime/sweeper.hpp	Thu Aug 15 10:05:50 2013 +0200
     1.2 +++ b/src/share/vm/runtime/sweeper.hpp	Thu Aug 15 10:52:18 2013 +0200
     1.3 @@ -83,6 +83,7 @@
     1.4    static jlong peak_disconnect_time()        { return _peak_disconnect_time; }
     1.5  
     1.6  #ifdef ASSERT
     1.7 +  static bool is_sweeping(nmethod* which) { return _current == which; }
     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);

mercurial