RFR (S): 8218446: SuspendAtExit hangs
David Holmes
david.holmes at oracle.com
Mon Mar 18 12:48:29 UTC 2019
Thanks Robbin!
David
On 18/03/2019 6:26 pm, Robbin Ehn wrote:
> Hi David!
>
>>
>> The fix is quite simple: we put the thread in the _thread_blocked
>> state exactly as we already do for the suspend path in
>> JavaThread::check_special_condition_for_native_trans.
>
> Thanks for making the S/R saner, I agree totally!
>
> Looks good!
>
> /Robbin
>
>>
>> With that fix SuspendAt Exit no longer appears to hang.
>>
>> Additional testing: (all tests that use suspend() just for good
>> measure) (in progress)
>> - hotspot
>> - vmtestbase/nsk/jdi
>> - runtime/Thread/SuspendAtExit.java
>> - runtime/handshake/HandshakeWalkSuspendExitTest.java
>> - runtime/jni/terminatedThread/TestTerminatedThread.java
>> - vmTestbase/nsk/jvmti/GetThreadState/thrstat002/
>> - jdk
>> - com/sun/jdi/PopAsynchronousTest.java
>> - java/nio/channels/SocketChannel/SendUrgentData.java
>> - java/lang/management/ThreadMXBean/ThreadMXBeanStateTest.java
>> - java/lang/ThreadGroup/Suspend.java
>>
>> Plus mach5 tiers 1-3.
>>
>> Thanks,
>> David
More information about the hotspot-runtime-dev
mailing list