RFR 8167372: Add code to check for getting oops while thread is in native
Aleksey Shipilev
shade at redhat.com
Thu Nov 16 15:06:59 UTC 2017
On 11/16/2017 02:38 PM, harold seigel wrote:
> Hi,
>
> Please review this JDK-10 enhancement for bug JDK-8167372. As described in the bug, this fix helps
> check for naked oops. The fix was tested with JCK lang and VM tests, JTReg hotspot and many JTReg
> JDK tests, M5 tier1 - tier5 tests, and JPRT.
>
> Open Webrev: http://cr.openjdk.java.net/~hseigel/bug_8167372/webrev/index.html
This looks good.
It probably makes sense to assert that JNIHandle::resolve path that unpacks the naked oops also has
thread in proper state? This would expose failures like in JDK-8191227 [1] better.
Thanks,
-Aleksey
[1] https://bugs.openjdk.java.net/browse/JDK-8191227
More information about the hotspot-runtime-dev
mailing list