# HG changeset patch # User redestad # Date 1545331448 -3600 # Node ID 5bf5b773fc4147c4098e09dce76010b58ba00390 # Parent 759266b1c89b987d15b97b60028aa84134307c03 8215555: TieredCompilation C2 threads can excessively block handshakes Reviewed-by: kvn, neliasso, rehn diff -r 759266b1c89b -r 5bf5b773fc41 src/hotspot/share/runtime/sweeper.cpp --- a/src/hotspot/share/runtime/sweeper.cpp Thu Dec 20 19:44:33 2018 +0100 +++ b/src/hotspot/share/runtime/sweeper.cpp Thu Dec 20 19:44:08 2018 +0100 @@ -149,7 +149,7 @@ long NMethodSweeper::_last_sweep = 0; // Value of _time_counter when the last sweep happened int NMethodSweeper::_seen = 0; // Nof. nmethod we have currently processed in current pass of CodeCache -volatile bool NMethodSweeper::_should_sweep = true; // Indicates if we should invoke the sweeper +volatile bool NMethodSweeper::_should_sweep = false;// Indicates if we should invoke the sweeper volatile bool NMethodSweeper::_force_sweep = false;// Indicates if we should force a sweep volatile int NMethodSweeper::_bytes_changed = 0; // Counts the total nmethod size if the nmethod changed from: // 1) alive -> not_entrant