mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8173658: JvmtiExport::post_class_unload() is broken for non-JavaThread initiators
Call extension ClassUnload event as a deferred event from the ServiceThread and remove unsafe arguments Reviewed-by: sspitsyn, dholmes
This commit is contained in:
parent
b1d915ef80
commit
d1d57d9446
9 changed files with 86 additions and 51 deletions
|
@ -1649,7 +1649,7 @@ void JavaThread::initialize() {
|
|||
set_deopt_compiled_method(NULL);
|
||||
set_monitor_chunks(NULL);
|
||||
_on_thread_list = false;
|
||||
set_thread_state(_thread_new);
|
||||
_thread_state = _thread_new;
|
||||
_terminated = _not_terminated;
|
||||
_array_for_gc = NULL;
|
||||
_suspend_equivalent = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue