On Mon, 14 Sep 2026 03:58:07 GMT, Yasumasa Suenaga <[email protected]> wrote:

>> [JDK-8390106](https://bugs.openjdk.org/browse/JDK-8392323) introduced a new 
>> test to check whether `inspect` on CLHSDB works for value object. However it 
>> would not work if GC is selected by the user like 
>> `JTREG=VM_OPTIONS=-XX:+UseSerialGC`. See 
>> [JDK-8392323](https://bugs.openjdk.org/browse/JDK-8392323) for details.
>> 
>> ClhsdbInspectWithValueObject.java have to kick `LingeredAppWithValueObject` 
>> with Epsilon GC to prevent object promotion because object (oop) addresses 
>> are required for `inspect` command. Hence `ClhsdbInspectWithValueObject` 
>> kicks  `LingeredAppWithValueObject` with `startAppExactJvmOpts()` instead of 
>> `startApp()` to prevent to configure GC by user.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Yasumasa Suenaga has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Remove bug id

Thanks for fixing

test/hotspot/jtreg/serviceability/sa/ClhsdbInspectWithValueObject.java line 64:

> 62:                 theApp,
> 63:                 "--enable-preview",
> 64:                 "-Djava.io.tmpdir=" + 
> System.getProperty("java.io.tmpdir"),

Not sure why this is needed?

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

Marked as reviewed by dholmes (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/32857#pullrequestreview-5202519550
PR Review Comment: https://git.openjdk.org/jdk/pull/32857#discussion_r4009255148

Reply via email to