RFR(M): 8220293: Deadlock in JFR string pool

Markus Gronlund markus.gronlund at oracle.com
Sun May 19 13:00:36 UTC 2019


Hi again,

I would appreciate help in reviewing this.

Thanks again
Markus

-----Original Message-----
From: Markus Gronlund 
Sent: den 3 maj 2019 15:01
To: Hotspot dev runtime <hotspot-runtime-dev at openjdk.java.net>; hotspot-jfr-dev at openjdk.java.net
Subject: RFR(M): 8220293: Deadlock in JFR string pool

Greeting,

Please review the following patch to address the following:

Bug: https://bugs.openjdk.java.net/browse/JDK-8220293
Webrev: http://cr.openjdk.java.net/~mgronlun/8220293/webrev01/ 

High level summary:

We don't want to release a retired buffer, because this will break the invariant that a successful acquisition implies a valid (non-retired) buffer.
This is the reason why this work is, at least prima facie, a little more involved.

Tests: 
test case / reproducer attached to: https://bugs.openjdk.java.net/browse/JDK-8220293 
open/test/jdk/:jdk_jfr

Thank you
Markus 


More information about the hotspot-runtime-dev mailing list