Thanks, Markus!
Serguei
On 12/19/13 12:44 AM, Markus Gronlund wrote:
Hi Serguei,
Looks good (not a Reviewer).
Thanks
Markus
-----Original Message-----
From: Serguei Spitsyn
Sent: den 19 december 2013 09:02
To: hotspot-dev developers; serviceability-dev@openjdk.java.net
Subject: Review Request (XS) 8030027:
nsk/jvmti/scenarios/hotswap/HS101/hs101t006 Crashed the vm on Linux-amd64:
SIGSEGV in JavaThread::last_java_vframe(RegisterMap*)+0xfa
Please, review the fix for:
https://bugs.openjdk.java.net/browse/JDK-8030027
Open webrev:
http://cr.openjdk.java.net/~sspitsyn/webrevs/2013/hotspot/8030027-JVMTI-HS101.1/
Summary:
The bug is that the JavaThread::last_java_vframe (called from the
VMOp_GetCurrentLocation)
crashes on the target thread stack that is non-walkable because the thread
is exiting.
The fix is to check a condition !_thread->is_exiting() in the
VMOp_GetCurrentLocation.
The fix is for JDK 9.
Testing:
The originally failing test nsk/jvmti/scenarios/hotswap/HS101/hs101t006
In progress: nsk.jvmti, nsk.jdi, nsk.jdwp
Thanks,
Serguei