mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8132849: Increased stop time in cleanup phase because of single-threaded walk of thread stacks in NMethodSweeper::mark_active_nmethods()
Reviewed-by: eosterlund, zgu, thartmann
This commit is contained in:
parent
7c9ab50d06
commit
c87e7672a6
3 changed files with 99 additions and 22 deletions
|
@ -598,7 +598,8 @@ private:
|
|||
|
||||
public:
|
||||
ParallelSPCleanupThreadClosure(DeflateMonitorCounters* counters) :
|
||||
_nmethod_cl(NMethodSweeper::prepare_mark_active_nmethods()), _counters(counters) {}
|
||||
_nmethod_cl(UseCodeAging ? NMethodSweeper::prepare_reset_hotness_counters() : NULL),
|
||||
_counters(counters) {}
|
||||
|
||||
void do_thread(Thread* thread) {
|
||||
ObjectSynchronizer::deflate_thread_local_monitors(thread, _counters);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue