URGENT: RFR: 8199886: gc/cslocker/TestCSLocker.java crashes
Roman Kennke
rkennke at redhat.com
Tue Mar 20 21:02:02 UTC 2018
Am 20.03.2018 um 21:59 schrieb Per Liden:
> JDK-8199620 "Support for JNI object pinning" introduced a bug where a
> naked oop was passed across a safepoint (a call to
> GCLocker::lock_critical). This caused GCLocker-related tests in both
> hs-tier1-2 to fail. This patch stores the oop in a Handle before
> crossing the safepoint.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8199886
> Webrev: http://cr.openjdk.java.net/~pliden/8199886/webrev.0
>
> Testing: Ran affected jtreg tests locally. hs-tier1-2 currently running
> in mach5
>
I was not aware that lock_critical() might cause a safepoint. I've been
chasing the bug for some hours. Thanks for fixing it.
The patch looks good.
Roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20180320/4fd6d790/signature.asc>
More information about the hotspot-gc-dev
mailing list