mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8245877: assert(_value != __null) failed: resolving NULL _value in JvmtiExport::post_compiled_method_load
Reviewed-by: sspitsyn, dholmes, coleenp
This commit is contained in:
parent
ee526a2ea8
commit
b969136b9f
4 changed files with 6 additions and 4 deletions
|
@ -1608,6 +1608,8 @@ void nmethod::post_compiled_method_load_event(JvmtiThreadState* state) {
|
|||
if (is_not_entrant() && can_convert_to_zombie()) {
|
||||
return;
|
||||
}
|
||||
// Ensure the sweeper can't collect this nmethod until it become "active" with JvmtiThreadState::nmethods_do.
|
||||
mark_as_seen_on_stack();
|
||||
}
|
||||
|
||||
// This is a bad time for a safepoint. We don't want
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue