Integrated: 8267311: vmTestbase/gc/gctests/StringInternGC/StringInternGC.java eventually OOMEs

Jie Fu jiefu at openjdk.java.net
Tue May 25 22:50:19 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

This pull request has now been integrated.

Changeset: a98e476c
Author:    Jie Fu <jiefu at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/a98e476c0a5860dd2bd9e57aeceb1f724868c970
Stats:     15 lines in 1 file changed: 12 ins; 0 del; 3 mod

8267311: vmTestbase/gc/gctests/StringInternGC/StringInternGC.java eventually OOMEs

8267311: vmTestbase/gc/gctests/StringInternGC/StringInternGC.java eventually OOMEs

Co-authored-by: Thomas Schatzl <tschatzl at openjdk.org>
Reviewed-by: tschatzl

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

PR: https://git.openjdk.java.net/jdk/pull/4086



More information about the hotspot-gc-dev mailing list