src/hotspot/share/utilities/vmError.cpp
changeset 52311 274ba8fbd96d
parent 52148 2d9f8845d0ae
child 52356 19c4a3eec4d7
--- a/src/hotspot/share/utilities/vmError.cpp	Mon Oct 29 08:38:59 2018 -0400
+++ b/src/hotspot/share/utilities/vmError.cpp	Mon Oct 29 10:21:34 2018 -0400
@@ -1467,6 +1467,8 @@
     log.set_fd(-1);
   }
 
+  // Error handling generates replay data without the compile lock.
+  NOT_PRODUCT(FlagSetting fs(IgnoreLockingAssertions, true));
   static bool skip_replay = ReplayCompiles; // Do not overwrite file during replay
   if (DumpReplayDataOnError && _thread && _thread->is_Compiler_thread() && !skip_replay) {
     skip_replay = true;