RR(XS) 8019396: SA-JDI: OSThread class initialization throws an exception
Peter Allwin
peter.allwin at oracle.com
Tue Jul 23 03:25:22 PDT 2013
Dmitry,
Looks good to me!
Thanks,
Peter
> -----Original Message-----
> From: serviceability-dev-bounces at openjdk.java.net [mailto:serviceability-
> dev-bounces at openjdk.java.net] On Behalf Of Dmitry Samersoff
> Sent: Tuesday, July 23, 2013 11:39 AM
> To: serviceability-dev at openjdk.java.net
> Subject: RR(XS) 8019396: SA-JDI: OSThread class initialization throws an
> exception
>
> Hi Everybody,
>
> Please, review the fix.
>
> http://cr.openjdk.java.net/~dsamersoff/JDK-8019396.SA-JDI/webrev.01/
>
>
> Method sun.jvm.hotspot.runtime.OSThread.initialize throws a
> sun.jvm.hotspot.types.WrongTypeException with message: field
> "_thread_id" in type OSThread is not of type jint, but instead of type
> unsigned OSThread::thread_id_t.
>
> After fixing an exception test still fails, because of wrong value used
for
> JVMTI_THREAD_STATE_WAITING, fixed it as well.
>
> Testing:
>
> nsk/sajdi/ThreadReference/status/status002
>
> -Dmitry
>
> --
> Dmitry Samersoff
> Oracle Java development team, Saint Petersburg, Russia
> * I would love to change the world, but they won't give me the sources.
More information about the serviceability-dev
mailing list