Review Request (XS) 8030027: nsk/jvmti/scenarios/hotswap/HS101/hs101t006 Crashed the vm on Linux-amd64: SIGSEGV in JavaThread::last_java_vframe(RegisterMap*)+0xfa

Daniel D. Daugherty daniel.daugherty at oracle.com
Thu Dec 19 05:56:04 PST 2013


On 12/19/13 1:01 AM, serguei.spitsyn at oracle.com wrote:
> 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/ 
>

src/share/vm/prims/jvmtiEnvThreadState.cpp
     No comments.

Thumbs up.

Dan


>
> 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
>
>



More information about the hotspot-dev mailing list