--- a/src/hotspot/share/aot/aotCompiledMethod.cpp Wed Aug 08 15:34:32 2018 -0700
+++ b/src/hotspot/share/aot/aotCompiledMethod.cpp Wed Aug 08 18:38:34 2018 -0700
@@ -206,6 +206,7 @@
return true;
}
+#ifdef TIERED
bool AOTCompiledMethod::make_entrant() {
assert(!method()->is_old(), "reviving evolved method!");
assert(*_state_adr != not_entrant, "%s", method()->has_aot_code() ? "has_aot_code() not cleared" : "caller didn't check has_aot_code()");
@@ -240,6 +241,7 @@
return true;
}
+#endif // TIERED
// We don't have full dependencies for AOT methods, so flushing is
// more conservative than for nmethods.