--- old/src/share/vm/gc/g1/g1YoungRemSetSamplingThread.cpp 2016-03-09 16:00:24.098915589 -0500 +++ new/src/share/vm/gc/g1/g1YoungRemSetSamplingThread.cpp 2016-03-09 16:00:23.935917627 -0500 @@ -44,7 +44,7 @@ void G1YoungRemSetSamplingThread::sleep_before_next_cycle() { MutexLockerEx x(&_monitor, Mutex::_no_safepoint_check_flag); - if (!_should_terminate) { + if (!should_terminate()) { uintx waitms = G1ConcRefinementServiceIntervalMillis; // 300, really should be? _monitor.wait(Mutex::_no_safepoint_check_flag, waitms); } @@ -53,7 +53,7 @@ void G1YoungRemSetSamplingThread::run_service() { double vtime_start = os::elapsedVTime(); - while (!_should_terminate) { + while (!should_terminate()) { sample_young_list_rs_lengths(); if (os::supports_vtime()) {