diff -r 38569792a45a -r f52ed367b66d src/share/vm/runtime/sweeper.hpp --- a/src/share/vm/runtime/sweeper.hpp Mon May 16 14:21:16 2011 -0700 +++ b/src/share/vm/runtime/sweeper.hpp Mon May 16 22:16:44 2011 -0700 @@ -57,6 +57,13 @@ public: static long traversal_count() { return _traversals; } +#ifdef ASSERT + // 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); + static void report_events(); +#endif + static void scan_stacks(); // Invoked at the end of each safepoint static void sweep_code_cache(); // Concurrent part of sweep job static void possibly_sweep(); // Compiler threads call this to sweep