URGENT: RFR: 8199886: gc/cslocker/TestCSLocker.java crashes

Per Liden per.liden at oracle.com
Tue Mar 20 21:12:56 UTC 2018


Thanks for reviewing Roman and Kim. Awaiting mach5 hs-trier{1,2} results 
before pushing.

/Per

On 03/20/2018 10:02 PM, Kim Barrett wrote:
>> On Mar 20, 2018, at 4:59 PM, Per Liden <per.liden at oracle.com> wrote:
>>
>> 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
>>
>> /Per
> 
> Looks good.
> 



More information about the hotspot-gc-dev mailing list