--- 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: