< prev index next >

src/hotspot/share/code/compiledIC.cpp

Print this page

        

*** 50,61 **** // 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()) { } CompiledICLocker::~CompiledICLocker() { if (_locked) { _behaviour->unlock(_method); --- 50,60 ---- // 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)) { } CompiledICLocker::~CompiledICLocker() { if (_locked) { _behaviour->unlock(_method);
< prev index next >