src/hotspot/share/code/compiledIC.cpp
changeset 57603 f9d9bed12d1a
parent 54786 ebf733a324d4
child 58505 c16f3a24a6fc
--- a/src/hotspot/share/code/compiledIC.cpp	Wed Jul 31 06:37:13 2019 -0400
+++ b/src/hotspot/share/code/compiledIC.cpp	Wed Jul 31 06:54:50 2019 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -52,8 +52,7 @@
 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() {