mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8208671: Runtime, JFR, Serviceability changes to allow enabling -Wreorder
Reviewed-by: dholmes, hseigel
This commit is contained in:
parent
e98c176026
commit
9c0720b156
61 changed files with 129 additions and 129 deletions
|
@ -614,8 +614,7 @@ private:
|
|||
|
||||
public:
|
||||
ParallelSPCleanupThreadClosure(DeflateMonitorCounters* counters) :
|
||||
_counters(counters),
|
||||
_nmethod_cl(NMethodSweeper::prepare_mark_active_nmethods()) {}
|
||||
_nmethod_cl(NMethodSweeper::prepare_mark_active_nmethods()), _counters(counters) {}
|
||||
|
||||
void do_thread(Thread* thread) {
|
||||
ObjectSynchronizer::deflate_thread_local_monitors(thread, _counters);
|
||||
|
@ -636,9 +635,9 @@ private:
|
|||
public:
|
||||
ParallelSPCleanupTask(uint num_workers, DeflateMonitorCounters* counters) :
|
||||
AbstractGangTask("Parallel Safepoint Cleanup"),
|
||||
_subtasks(SubTasksDone(SafepointSynchronize::SAFEPOINT_CLEANUP_NUM_TASKS)),
|
||||
_cleanup_threads_cl(ParallelSPCleanupThreadClosure(counters)),
|
||||
_num_workers(num_workers),
|
||||
_subtasks(SubTasksDone(SafepointSynchronize::SAFEPOINT_CLEANUP_NUM_TASKS)),
|
||||
_counters(counters) {}
|
||||
|
||||
void work(uint worker_id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue