RFR: 8359593: JFR: Instrumentation of java.lang.String corrupts recording [v3]

Erik Gahlin egahlin at openjdk.org
Mon Jun 16 11:43:28 UTC 2025


On Mon, 16 Jun 2025 11:34:07 GMT, SendaoYan <syan at openjdk.org> wrote:

>> Erik Gahlin has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add comma
>
> test/jdk/jdk/jfr/event/tracing/TestTracedString.java line 39:
> 
>> 37:  * @requires vm.hasJFR
>> 38:  * @library /test/lib
>> 39:  * @run main/othervm jdk.jfr.event.tracing.TestTracedString
> 
> The `/othervm` could be removed or not?

It's by design. We don't want other tests to modify the state of the JVM.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25814#discussion_r2149734149


More information about the hotspot-jfr-dev mailing list