hotspot/src/share/vm/runtime/sweeper.cpp
changeset 28163 322d55d167be
parent 27917 c5937f7b4e8b
child 29339 f0b1b7788a51
--- a/hotspot/src/share/vm/runtime/sweeper.cpp	Mon Dec 08 00:15:55 2014 -0800
+++ b/hotspot/src/share/vm/runtime/sweeper.cpp	Thu Dec 11 21:34:43 2014 -0500
@@ -158,7 +158,7 @@
 Tickspan NMethodSweeper::_peak_sweep_time;                     // Peak time for a full sweep
 Tickspan NMethodSweeper::_peak_sweep_fraction_time;            // Peak time sweeping one fraction
 
-Monitor* NMethodSweeper::_stat_lock = new Monitor(Mutex::special, "Sweeper::Statistics", true);
+Monitor* NMethodSweeper::_stat_lock = new Monitor(Mutex::special, "Sweeper::Statistics", true, Monitor::_safepoint_check_sometimes);
 
 class MarkActivationClosure: public CodeBlobClosure {
 public: