-
Bug
-
Resolution: Fixed
-
P4
-
11, 17, 21, 22
-
b15
-
x86
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8328771 | 22.0.2 | Goetz Lindenmaier | P4 | Resolved | Fixed | b02 |
JDK-8329144 | 21.0.4-oracle | Shivangi Gupta | P4 | Resolved | Fixed | b01 |
JDK-8328584 | 21.0.4 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8329148 | 17.0.12-oracle | Shivangi Gupta | P4 | Resolved | Fixed | b02 |
JDK-8328586 | 17.0.12 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8329147 | 11.0.24-oracle | Shivangi Gupta | P4 | Resolved | Fixed | b02 |
JDK-8328588 | 11.0.24 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
----------System.out:(2/100)----------
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap
----------System.err:(0/0)----------
----------rerun:(37/3139)*----------
cd /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_jdk_tier1_part1/scratch/0 && \\
HOME=/home/runner \\
LANG=C.UTF-8 \\
LC_ALL=C \\
PATH=/bin:/usr/bin:/usr/sbin \\
TEST_IMAGE_DIR=/home/runner/work/jdk/jdk/bundles/tests \\
XDG_CONFIG_HOME=/home/runner/.config \\
XDG_RUNTIME_DIR=/run/user/1001 \\
_JVM_DWARF_PATH=/home/runner/work/jdk/jdk/bundles/symbols/jdk-23 \\
CLASSPATH=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_jdk_tier1_part1/classes/1/java/lang/String/StringRepeat_id1.d:/home/runner/work/jdk/jdk/test/jdk/java/lang/String:/home/runner/work/jdk/jdk/jtreg/installed/lib/javatest.jar:/home/runner/work/jdk/jdk/jtreg/installed/lib/jtreg.jar \\
/home/runner/work/jdk/jdk/bundles/jdk/jdk-23/bin/java \\
-Dtest.vm.opts='-Xmx768m -XX:MaxRAMPercentage=12.5 -Dtest.boot.jdk=/home/runner/work/jdk/jdk/bootjdk/jdk -Djava.io.tmpdir=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_jdk_tier1_part1/tmp -ea -esa' \\
-Dtest.tool.vm.opts='-J-Xmx768m -J-XX:MaxRAMPercentage=12.5 -J-Dtest.boot.jdk=/home/runner/work/jdk/jdk/bootjdk/jdk -J-Djava.io.tmpdir=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_jdk_tier1_part1/tmp -J-ea -J-esa' \\
-Dtest.compiler.opts= \\
-Dtest.java.opts=-XX:-CreateCoredumpOnCrash \\
-Dtest.jdk=/home/runner/work/jdk/jdk/bundles/jdk/jdk-23 \\
-Dcompile.jdk=/home/runner/work/jdk/jdk/bundles/jdk/jdk-23 \\
-Dtest.timeout.factor=4.0 \\
-Dtest.nativepath=/home/runner/work/jdk/jdk/bundles/tests/jdk/jtreg/native \\
-Dtest.root=/home/runner/work/jdk/jdk/test/jdk \\
-Dtest.name=java/lang/String/StringRepeat.java#id1 \\
-Dtest.file=/home/runner/work/jdk/jdk/test/jdk/java/lang/String/StringRepeat.java \\
-Dtest.src=/home/runner/work/jdk/jdk/test/jdk/java/lang/String \\
-Dtest.src.path=/home/runner/work/jdk/jdk/test/jdk/java/lang/String \\
-Dtest.classes=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_jdk_tier1_part1/classes/1/java/lang/String/StringRepeat_id1.d \\
-Dtest.class.path=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_jdk_tier1_part1/classes/1/java/lang/String/StringRepeat_id1.d \\
-Dtest.class.path.prefix=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_jdk_tier1_part1/classes/1/java/lang/String/StringRepeat_id1.d:/home/runner/work/jdk/jdk/test/jdk/java/lang/String \\
-Xmx768m \\
-XX:MaxRAMPercentage=12.5 \\
-Dtest.boot.jdk=/home/runner/work/jdk/jdk/bootjdk/jdk \\
-Djava.io.tmpdir=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_jdk_tier1_part1/tmp \\
-ea \\
-esa \\
-XX:-CreateCoredumpOnCrash \\
-Djava.library.path=/home/runner/work/jdk/jdk/bundles/tests/jdk/jtreg/native \\
-Xmx2g \\
com.sun.javatest.regtest.agent.MainWrapper /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_jdk_tier1_part1/java/lang/String/StringRepeat_id1.d/main.0.jta 16777216
result: Failed. Unexpected exit from test [exit code: 1]
test result: Failed. Unexpected exit from test [exit code: 1]
See for example this GHA run:
https://github.com/azvegint/jdk/actions/runs/8335172037/job/22810850849
Let's fix it as already done in
- backported by
-
JDK-8328584 [x86] StringRepeat.java failure on linux-x86: Could not reserve enough space for 2097152KB object heap
- Resolved
-
JDK-8328586 [x86] StringRepeat.java failure on linux-x86: Could not reserve enough space for 2097152KB object heap
- Resolved
-
JDK-8328588 [x86] StringRepeat.java failure on linux-x86: Could not reserve enough space for 2097152KB object heap
- Resolved
-
JDK-8328771 [x86] StringRepeat.java failure on linux-x86: Could not reserve enough space for 2097152KB object heap
- Resolved
-
JDK-8329144 [x86] StringRepeat.java failure on linux-x86: Could not reserve enough space for 2097152KB object heap
- Resolved
-
JDK-8329147 [x86] StringRepeat.java failure on linux-x86: Could not reserve enough space for 2097152KB object heap
- Resolved
-
JDK-8329148 [x86] StringRepeat.java failure on linux-x86: Could not reserve enough space for 2097152KB object heap
- Resolved
- relates to
-
JDK-8290899 java/lang/String/StringRepeat.java test requests too much heap on windows x86
- Resolved
-
JDK-8328066 WhiteBoxResizeTest failure on linux-x86: Could not reserve enough space for 2097152KB object heap
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/44825a00
-
Commit openjdk/jdk17u-dev/02eec995
-
Commit openjdk/jdk21u-dev/6a89849e
-
Commit openjdk/jdk22u/5b3e5668
-
Commit openjdk/jdk/eebcc218
-
Review openjdk/jdk11u-dev/2613
-
Review openjdk/jdk17u-dev/2313
-
Review openjdk/jdk21u-dev/385
-
Review openjdk/jdk22u/108
-
Review openjdk/jdk/18380