55 static void log_sweep(const char* msg, const char* format = NULL, ...); |
55 static void log_sweep(const char* msg, const char* format = NULL, ...); |
56 |
56 |
57 public: |
57 public: |
58 static long traversal_count() { return _traversals; } |
58 static long traversal_count() { return _traversals; } |
59 |
59 |
|
60 #ifdef ASSERT |
|
61 // Keep track of sweeper activity in the ring buffer |
|
62 static void record_sweep(nmethod* nm, int line); |
|
63 static void report_events(int id, address entry); |
|
64 static void report_events(); |
|
65 #endif |
|
66 |
60 static void scan_stacks(); // Invoked at the end of each safepoint |
67 static void scan_stacks(); // Invoked at the end of each safepoint |
61 static void sweep_code_cache(); // Concurrent part of sweep job |
68 static void sweep_code_cache(); // Concurrent part of sweep job |
62 static void possibly_sweep(); // Compiler threads call this to sweep |
69 static void possibly_sweep(); // Compiler threads call this to sweep |
63 |
70 |
64 static void notify(nmethod* nm) { |
71 static void notify(nmethod* nm) { |