diff src/share/vm/runtime/sweeper.hpp @ 3464:be4ca325525a

Merge.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 27 Jul 2011 17:32:44 -0700
parents f52ed367b66d
children da91efe96a93
line wrap: on
line diff
--- a/src/share/vm/runtime/sweeper.hpp	Wed Jul 27 17:24:11 2011 -0700
+++ b/src/share/vm/runtime/sweeper.hpp	Wed Jul 27 17:32: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