On Mon, 14 Sep 2026 02:27:16 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).

This pull request has now been integrated.

Changeset: 3e674810
Author:    Yasumasa Suenaga <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/3e6748106dd1d1b61769d9f9f4b515f28a4b0250
Stats:     4 lines in 1 file changed: 1 ins; 1 del; 2 mod

8392323: serviceability/sa/ClhsdbInspectWithValueObject.java fails due to 
"Multiple garbage collectors selected"

Reviewed-by: cjplummer, dholmes

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

PR: https://git.openjdk.org/jdk/pull/32857

Reply via email to