8282477: [x86, aarch64] vmassert(_last_Java_pc == NULL, "already walkable"); fails with async profiler

Reviewed-by: dholmes, mdoerr, dlong
This commit is contained in:
Johannes Bechberger 2022-05-04 07:54:52 +00:00 committed by Martin Doerr
parent ca9d039fd3
commit 4b2c82200f
17 changed files with 26 additions and 64 deletions

View file

@ -608,7 +608,7 @@ void vm_perform_shutdown_actions() {
JavaThread* jt = JavaThread::cast(thread);
// Must always be walkable or have no last_Java_frame when in
// thread_in_native
jt->frame_anchor()->make_walkable(jt);
jt->frame_anchor()->make_walkable();
jt->set_thread_state(_thread_in_native);
}
}