RFR: 8321422: Test gc/g1/pinnedobjs/TestPinnedObjectTypes.java times out after completion
Thomas Schatzl
tschatzl at openjdk.org
Thu Dec 7 09:21:51 UTC 2023
Hi all,
please review this change that disables core file creation for the subtests of this test that check for assertion failure. Core dump creation can make the whole test time out.
----------System.out:(54/8466)----------
Command line:... -XX:+UseG1GC -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. -Xmx32M -Xmn16M -Xlog:gc gc.g1.pinnedobjs.TestObjectPin Object ]
[2023-12-05T23:30:37.930237Z] Gathering output for process 98165
[0.066s][info][gc] Using G1
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/open/src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:268), pid=98165, tid=6403
# assert(obj->is_typeArray()) failed: must be typeArray
#[...]
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
[2023-12-05T23:35:20.308715Z] Waiting for completion for process 98165
[2023-12-05T23:35:20.632162Z] Waiting for completion finished for process 98165
Notice the 5 min delay from the `Gathering output for process` to the `Waiting for completion finished` message. This repeats for the second test, triggering the timeout.
Testing: failing test
Thanks,
Thomas
-------------
Commit messages:
- 8321422 initial version: disable core dumps for sub tests
Changes: https://git.openjdk.org/jdk/pull/17013/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17013&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8321422
Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/17013.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/17013/head:pull/17013
PR: https://git.openjdk.org/jdk/pull/17013
More information about the hotspot-gc-dev
mailing list