Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
3239:7c4b4daac19b | 3464:be4ca325525a |
---|---|
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) { |