RFR: 8267311: vmTestbase/gc/gctests/StringInternGC/StringInternGC.java fails when JTREG_JOBS > 25
Jie Fu
jiefu at openjdk.java.net
Fri May 21 02:02:28 UTC 2021
On Tue, 18 May 2021 09:42:31 GMT, Jie Fu <jiefu at openjdk.org> wrote:
> Hi all,
>
> vmTestbase/gc/gctests/StringInternGC/StringInternGC.java fails with release VM on our many-core machines due to `-XX:MaxRAMPercentage=0`.
> This is because `-XX:MaxRAMPercentage=0` will be 0 if JTREG_JOBS > 25 [1].
>
> Reproduce:
> - make test TEST="vmTestbase/gc/gctests/StringInternGC/StringInternGC.java" JTREG="JOBS=26" CONF=server-release
>
> `-Xmx1g` is added to make it more robust.
> Note: we still see failure with `-Xmx512m`.
>
> Thanks.
> Best regards,
> Jie
>
> [1] https://github.com/openjdk/jdk/blob/master/make/RunTests.gmk#L741
> Maybe, your -timeout is 1 not 4.
Please note that the default timeout factor is 4 [1] when running with `make test`.
Thanks.
[1] https://github.com/openjdk/jdk/blob/master/make/RunTests.gmk#L741
-------------
PR: https://git.openjdk.java.net/jdk/pull/4086
More information about the hotspot-gc-dev
mailing list