hotspot/src/share/vm/code/codeCache.cpp
changeset 46589 f1c04490ded1
parent 46527 df19f7e4b9f7
child 46619 a3919f5e8d2b
--- a/hotspot/src/share/vm/code/codeCache.cpp	Wed Jun 28 20:21:04 2017 +0000
+++ b/hotspot/src/share/vm/code/codeCache.cpp	Wed Jun 28 19:12:58 2017 -0400
@@ -50,6 +50,7 @@
 #include "runtime/sweeper.hpp"
 #include "services/memoryService.hpp"
 #include "trace/tracing.hpp"
+#include "utilities/vmError.hpp"
 #include "utilities/xmlstream.hpp"
 #ifdef COMPILER1
 #include "c1/c1_Compilation.hpp"
@@ -593,7 +594,7 @@
 CodeBlob* CodeCache::find_blob(void* start) {
   CodeBlob* result = find_blob_unsafe(start);
   // We could potentially look up non_entrant methods
-  guarantee(result == NULL || !result->is_zombie() || result->is_locked_by_vm() || is_error_reported(), "unsafe access to zombie method");
+  guarantee(result == NULL || !result->is_zombie() || result->is_locked_by_vm() || VMError::is_error_reported(), "unsafe access to zombie method");
   return result;
 }