diff src/share/vm/runtime/sweeper.hpp @ 14412:e2722a66aba7

Merge
author kvn
date Thu, 05 Sep 2013 11:04:39 -0700
parents 5888334c9c24
children 510fbd28919c
line wrap: on
line diff
--- a/src/share/vm/runtime/sweeper.hpp	Thu Aug 22 09:39:54 2013 -0700
+++ b/src/share/vm/runtime/sweeper.hpp	Thu Sep 05 11:04:39 2013 -0700
@@ -83,6 +83,7 @@
   static jlong peak_disconnect_time()        { return _peak_disconnect_time; }
 
 #ifdef ASSERT
+  static bool is_sweeping(nmethod* which) { return _current == which; }
   // Keep track of sweeper activity in the ring buffer
   static void record_sweep(nmethod* nm, int line);
   static void report_events(int id, address entry);