--- old/src/hotspot/share/runtime/synchronizer.cpp 2018-09-17 23:28:31.147747747 -0700 +++ new/src/hotspot/share/runtime/synchronizer.cpp 2018-09-17 23:28:30.887747756 -0700 @@ -1099,9 +1099,6 @@ m->FreeNext = Self->omInUseList; Self->omInUseList = m; Self->omInUseCount++; - if (ObjectMonitor::Knob_VerifyInUse) { - verifyInUse(Self); - } } else { m->FreeNext = NULL; } @@ -1239,9 +1236,6 @@ } extracted = true; Self->omInUseCount--; - if (ObjectMonitor::Knob_VerifyInUse) { - verifyInUse(Self); - } break; } } @@ -1777,9 +1771,6 @@ // Adjust counters counters->nInCirculation += thread->omInUseCount; thread->omInUseCount -= deflated_count; - if (ObjectMonitor::Knob_VerifyInUse) { - verifyInUse(thread); - } counters->nScavenged += deflated_count; counters->nInuse += thread->omInUseCount;