< prev index next >
src/hotspot/share/code/compiledIC.cpp
Print this page
@@ -50,12 +50,11 @@
// either the CompiledIC_lock must be set or we must be at a safe point.
CompiledICLocker::CompiledICLocker(CompiledMethod* method)
: _method(method),
_behaviour(CompiledICProtectionBehaviour::current()),
- _locked(_behaviour->lock(_method)),
- _nsv(true, !SafepointSynchronize::is_at_safepoint()) {
+ _locked(_behaviour->lock(_method)) {
}
CompiledICLocker::~CompiledICLocker() {
if (_locked) {
_behaviour->unlock(_method);
< prev index next >