RFR: 8311986: runtime/os/TestTracePageSizes.java fails for ShenandoahGC
Leslie Zhai
lzhai at openjdk.org
Fri Jul 14 03:56:15 UTC 2023
On Fri, 14 Jul 2023 03:13:54 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Hi,
>>
>> runtime/os/TestTracePageSizes.java fails for ShenandoahGC on linux-x86_64:
>>
>>
>> ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Page sizes mismatch: 4 != 2048
>> REASON: User specified action: run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:-SegmentedCodeCache -XX:+UseTransparentHugePages TestTracePageSizes
>> TIME: 0.353 seconds
>> messages:
>> command: main -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:-SegmentedCodeCache -XX:+UseTransparentHugePages TestTracePageSizes
>> reason: User specified action: run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:-SegmentedCodeCache -XX:+UseTransparentHugePages TestTracePageSizes
>> started: Thu Jul 13 09:57:18 CST 2023
>> Mode: othervm [/othervm specified]
>> finished: Thu Jul 13 09:57:19 CST 2023
>> elapsed time (seconds): 0.353
>> configuration:
>> STDOUT:
>> STDERR:
>> java.lang.AssertionError: Page sizes mismatch: 4 != 2048
>> at TestTracePageSizes.main(TestTracePageSizes.java:294)
>> at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
>> at java.base/java.lang.reflect.Method.invoke(Method.java:580)
>> at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
>> at java.base/java.lang.Thread.run(Thread.java:1570)
>>
>> JavaTest Message: Test threw exception: java.lang.AssertionError: Page sizes mismatch: 4 != 2048
>> JavaTest Message: shutting down test
>>
>> STATUS:Failed.`main' threw exception: java.lang.AssertionError: Page sizes mismatch: 4 != 2048
>> rerun:
>> cd /mnt/repo/openjdk/jdk/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_runtime_os_TestTracePageSizes_java/scratch/0 && \
>> HOME=/home/loongson \
>> LANG=zh_CN.UTF-8 \
>> LC_ALL=C \
>> PATH=/bin:/usr/bin:/usr/sbin \
>> TEST_IMAGE_DIR=/mnt/repo/openjdk/jdk/build/linux-x86_64-server-fastdebug/images/test \
>> _JVM_DWARF_PATH=/mnt/repo/openjdk/jdk/build/linux-x86_64-server-fastdebug/images/symbols \
>> CLASSPATH=/mnt/repo/openjdk/jdk/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_runtime_os_TestTracePageSizes_java/classes/0/runtime/os/TestTracePageSizes_compiler-options.d:/mnt/repo/openjdk/jdk/test/hotspot/jtreg/runtime/os:/mnt/repo/openjdk/jdk/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_runtime_os_TestTracePageSizes_java/classes/0/test/lib:/mnt/repo/openjdk/jdk/test/lib:/mnt/download/jtreg/lib/j...
>
> It would be nice to understand why the test fails with ShenandoahGC (and ZGC for that matter).
Hi @dholmes-ora
(single generation) ZGC and Generational ZGC are not able to reproduce the issue now:
-XX:+UseZGC
or
-XX:+UseZGC -XX:+ZGenerational
I am investigating why only (single generation) ShenandoahGC is able to reproduce the issue.
@shipilev @rkennke Could you give some hint?
Thanks,
Leslie Zhai
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14858#issuecomment-1635228193
More information about the hotspot-runtime-dev
mailing list