[lworld] RFR: 8372261: [lworld] Augment vmTestbase array tests with large flat arrays [v2]

Paul Hübner phubner at openjdk.org
Mon Feb 16 08:56:51 UTC 2026


On Fri, 13 Feb 2026 08:26:34 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

>> Please review following fix that add  Byte[], Boolean[] and Integer[] arrays to garbageProducers and use them in random(arrays) producers and added few configurations to ArrayJuggle3 using these new producers.
>> 
>> Also change some memory objects from primitive arrays to Integer/Byte arrays if preview is enabled to stress flattened arrays.
>
> Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
> 
>   fixed gp name

test/hotspot/jtreg/vmTestbase/nsk/share/gc/Memory.java line 42:

> 40:         private static final boolean previewEnabled =
> 41:                 System.getProperty("test.java.opts", "").contains("--enable-preview") ||
> 42:                 System.getProperty("test.vm.opts", "").contains("--preview");

Suggestion:

                System.getProperty("test.vm.opts", "").contains("--enable-preview");

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/2099#discussion_r2811285874


More information about the valhalla-dev mailing list