On Wed, 8 Jul 2026 19:58:49 GMT, Elif Aslan <[email protected]> wrote:

> The affected tests invoke jstat with -J-XX:+UseParallelGC, which causes the 
> JVM running jstat to fail during initialization with:
> 
> Error occurred during initialization of VM
> Option -XX:+UseParallelGC not supported 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

What is your execution environment for the tests? Trying to accommodate 
arbitrary GC availability is not generally feasible, but this seems a 
reasonable update to the tests.

Aside: The purpose of the UseParallelGC lines was to ensure that we tested at 
least two GCs - the default (presumed G1) and explicitly ParallelGC. But this 
highlights that we are not testing jstat with the newer GCs: ZGC and Shenandoah.

And please update the Oracle copyright lines in each file so that the second 
year is 2026.

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

PR Comment: https://git.openjdk.org/jdk/pull/31833#issuecomment-4921169827

Reply via email to