Seen numerous times in the CI over the past couple of days:
resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java
----------System.out:(22/2437)----------
Target JDK is not signed.
Command line: ['/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+17-992/macosx-x64-debug.jdk/jdk-18/fastdebug/bin/java' '-XX:MaxRAMPercentage=4.16667' '-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/a2dc162d-743b-4800-9e92-31f85abb45b1-S4169/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/e3dedbc4-6e82-4da2-96f1-761536eb8ce1/runs/18f4be6f-c840-4113-b0e9-d53b45ab85dd/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_misc/tmp' '-XX:+UsePerfData' '-Xmx8g' '-cp' '/System/Volumes/Data/mesos/work_dir/slaves/a2dc162d-743b-4800-9e92-31f85abb45b1-S4169/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/e3dedbc4-6e82-4da2-96f1-761536eb8ce1/runs/18f4be6f-c840-4113-b0e9-d53b45ab85dd/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_misc/classes/0/resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.d:/System/Volumes/Data/mesos/work_dir/slaves/a2dc162d-743b-4800-9e92-31f85abb45b1-S4169/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/e3dedbc4-6e82-4da2-96f1-761536eb8ce1/runs/18f4be6f-c840-4113-b0e9-d53b45ab85dd/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_misc/classes/0/test/lib' 'LingeredAppWithLargeArray' '81aef759-8df5-4776-9aa4-27447162a6bd.lck']
Adding 'sudo -E -n' to the command.
sudo -E -n /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+17-992/macosx-x64-debug.jdk/jdk-18/fastdebug/bin/jhsdb jmap --binaryheap --dumpfile LargeArrayHeapDump.bin --pid 91714
[2021-09-28T20:00:29.659094Z] Gathering output for process 91724
Timeout refired 7200 times
[2021-09-28T22:02:46.989901Z] Waiting for completion for process 91724
[2021-09-28T22:02:46.990018Z] Waiting for completion finished for process 91724
Output and diagnostic info for process 91724 was saved into 'pid-91724-output.log'
[2021-09-28T22:02:46.996445Z] Waiting for completion for process 91724
[2021-09-28T22:02:46.996536Z] Waiting for completion finished for process 91724
Attaching to process ID 91714, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 18-ea+17-992
heap written to LargeArrayHeapDump.bin
WARNING: Cannot dump array of type int with length 1073741823; truncating to length 1073741819
WARNING: Cannot dump array of type int with length 1073741823; truncating to length 1073741819
LingeredApp stdout: [];
LingeredApp stderr: []
LingeredApp exitValue = 0
----------System.err:(1/15)----------
STATUS:Passed.
resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java
----------System.out:(22/2437)----------
Target JDK is not signed.
Command line: ['/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+17-992/macosx-x64-debug.jdk/jdk-18/fastdebug/bin/java' '-XX:MaxRAMPercentage=4.16667' '-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/a2dc162d-743b-4800-9e92-31f85abb45b1-S4169/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/e3dedbc4-6e82-4da2-96f1-761536eb8ce1/runs/18f4be6f-c840-4113-b0e9-d53b45ab85dd/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_misc/tmp' '-XX:+UsePerfData' '-Xmx8g' '-cp' '/System/Volumes/Data/mesos/work_dir/slaves/a2dc162d-743b-4800-9e92-31f85abb45b1-S4169/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/e3dedbc4-6e82-4da2-96f1-761536eb8ce1/runs/18f4be6f-c840-4113-b0e9-d53b45ab85dd/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_misc/classes/0/resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.d:/System/Volumes/Data/mesos/work_dir/slaves/a2dc162d-743b-4800-9e92-31f85abb45b1-S4169/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/e3dedbc4-6e82-4da2-96f1-761536eb8ce1/runs/18f4be6f-c840-4113-b0e9-d53b45ab85dd/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_misc/classes/0/test/lib' 'LingeredAppWithLargeArray' '81aef759-8df5-4776-9aa4-27447162a6bd.lck']
Adding 'sudo -E -n' to the command.
sudo -E -n /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+17-992/macosx-x64-debug.jdk/jdk-18/fastdebug/bin/jhsdb jmap --binaryheap --dumpfile LargeArrayHeapDump.bin --pid 91714
[2021-09-28T20:00:29.659094Z] Gathering output for process 91724
Timeout refired 7200 times
[2021-09-28T22:02:46.989901Z] Waiting for completion for process 91724
[2021-09-28T22:02:46.990018Z] Waiting for completion finished for process 91724
Output and diagnostic info for process 91724 was saved into 'pid-91724-output.log'
[2021-09-28T22:02:46.996445Z] Waiting for completion for process 91724
[2021-09-28T22:02:46.996536Z] Waiting for completion finished for process 91724
Attaching to process ID 91714, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 18-ea+17-992
heap written to LargeArrayHeapDump.bin
WARNING: Cannot dump array of type int with length 1073741823; truncating to length 1073741819
WARNING: Cannot dump array of type int with length 1073741823; truncating to length 1073741819
LingeredApp stdout: [];
LingeredApp stderr: []
LingeredApp exitValue = 0
----------System.err:(1/15)----------
STATUS:Passed.
- relates to
-
JDK-8269685 Optimize HeapHprofBinWriter implementation
-
- Resolved
-