RFR: 8372324: jdk/jfr/event/gc/detailed/TestStringDeduplicationEvent.java#Parallel failed

Francesco Andreuzzi fandreuzzi at openjdk.org
Tue Nov 25 21:12:49 UTC 2025


On Tue, 25 Nov 2025 16:59:18 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> Looks like getValue() is never used. Can it be removed, and the reflection code?

Thanks, it can be removed indeed.

> Do we really need the fields to be volatile?

My reasoning there is that the strings I create should be used somehow to make sure no unpredictable optimizations tamper with the test.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/28467#issuecomment-3577594916


More information about the hotspot-dev mailing list