8207965: C2-only debug build fails

Reviewed-by: kvn, iignatyev
This commit is contained in:
Xin Liu 2018-08-08 18:38:34 -07:00 committed by Vladimir Kozlov
parent 626a614146
commit e5f3e1b60c
17 changed files with 127 additions and 27 deletions

View file

@ -206,6 +206,7 @@ bool AOTCompiledMethod::make_not_entrant_helper(int new_state) {
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 @@ bool AOTCompiledMethod::make_entrant() {
return true;
}
#endif // TIERED
// We don't have full dependencies for AOT methods, so flushing is
// more conservative than for nmethods.