TEST: gc/shenandoah/mxbeans/TestPauseNotifications.java#generational
TEST JDK: d:\a\jdk-ysd\jdk-ysd\bundles\jdk\jdk-25\fastdebug

ACTION: build -- Passed. Build successful
REASON: Named class compiled on demand
TIME:   0.153 seconds
messages:
command: build TestPauseNotifications
reason: Named class compiled on demand
started: Tue Dec 10 11:44:17 UTC 2024
Test directory:
  compile: TestPauseNotifications
finished: Tue Dec 10 11:44:17 UTC 2024
elapsed time (seconds): 0.153

ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME:   0.153 seconds
messages:
command: compile D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg\gc\shenandoah\mxbeans\TestPauseNotifications.java
reason: .class file out of date or does not exist
started: Tue Dec 10 11:44:17 UTC 2024
Mode: agentvm
Agent id: 7
finished: Tue Dec 10 11:44:17 UTC 2024
elapsed time (seconds): 0.153
configuration:
Boot Layer (javac runtime environment)
  class path: D:\a\jdk-ysd\jdk-ysd\jtreg\installed\lib\javatest.jar 
              D:\a\jdk-ysd\jdk-ysd\jtreg\installed\lib\jtreg.jar 
  patch:      java.base D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\patches\java.base

javac compilation environment
  source path: D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg\gc\shenandoah\mxbeans
               D:\a\jdk-ysd\jdk-ysd\test\lib
               D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg
  class path:  D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg\gc\shenandoah\mxbeans
               D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\gc\shenandoah\mxbeans\TestPauseNotifications_generational.d
               D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\test\lib
               D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes

rerun:
cd 'D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\scratch_1' && \
DOCS_JDK_IMAGE_DIR= \
PATH='C:\hostedtoolcache\windows\msys2\msys64\usr\bin;D:\a\_temp\setup-msys2' \
SystemDrive=C: \
SystemRoot='C:\Windows' \
TEMP='C:\Users\RUNNER~1\AppData\Local\Temp' \
TEST_IMAGE_DIR='d:\a\jdk-ysd\jdk-ysd\bundles\tests' \
TMP='C:\Users\RUNNER~1\AppData\Local\Temp' \
_NT_SYMBOL_PATH=' d:\a\jdk-ysd\jdk-ysd\bundles\symbols\jdk-25\fastdebug\bin;d:\a\jdk-ysd\jdk-ysd\bundles\symbols\jdk-25\fastdebug\bin\server' \
windir='C:\Windows' \
    'd:\a\jdk-ysd\jdk-ysd\bundles\jdk\jdk-25\fastdebug\bin\javac' \
        -J-XX:MaxRAMPercentage=25 \
        -J'-Dtest.boot.jdk=d:\a\jdk-ysd\jdk-ysd\bootjdk\jdk' \
        -J'-Djava.io.tmpdir=d:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\tmp' \
        -J-XX:+CreateCoredumpOnCrash \
        -J-Dtest.vm.opts='-XX:MaxRAMPercentage=25 -Dtest.boot.jdk=d:\a\jdk-ysd\jdk-ysd\bootjdk\jdk -Djava.io.tmpdir=d:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\tmp -XX:+CreateCoredumpOnCrash' \
        -J-Dtest.tool.vm.opts='-J-XX:MaxRAMPercentage=25 -J-Dtest.boot.jdk=d:\a\jdk-ysd\jdk-ysd\bootjdk\jdk -J-Djava.io.tmpdir=d:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\tmp -J-XX:+CreateCoredumpOnCrash' \
        -J-Dtest.compiler.opts= \
        -J-Dtest.java.opts=-XX:-CreateCoredumpOnCrash \
        -J-Dtest.jdk='d:\a\jdk-ysd\jdk-ysd\bundles\jdk\jdk-25\fastdebug' \
        -J-Dcompile.jdk='d:\a\jdk-ysd\jdk-ysd\bundles\jdk\jdk-25\fastdebug' \
        -J-Dtest.timeout.factor=4.0 \
        -J-Dtest.nativepath='d:\a\jdk-ysd\jdk-ysd\bundles\tests\hotspot\jtreg\native' \
        -J-Dtest.root='D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg' \
        -J-Dtest.name=gc/shenandoah/mxbeans/TestPauseNotifications.java#generational \
        -J-Dtest.file='D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg\gc\shenandoah\mxbeans\TestPauseNotifications.java' \
        -J-Dtest.src='D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg\gc\shenandoah\mxbeans' \
        -J-Dtest.src.path='D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg\gc\shenandoah\mxbeans;D:\a\jdk-ysd\jdk-ysd\test\lib;D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg' \
        -J-Dtest.classes='D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\gc\shenandoah\mxbeans\TestPauseNotifications_generational.d' \
        -J-Dtest.class.path='D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\gc\shenandoah\mxbeans\TestPauseNotifications_generational.d;D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\test\lib;D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes' \
        -J-Dtest.class.path.prefix='D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\gc\shenandoah\mxbeans\TestPauseNotifications_generational.d;D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg\gc\shenandoah\mxbeans;D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\test\lib;D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes' \
        -d 'D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\gc\shenandoah\mxbeans\TestPauseNotifications_generational.d' \
        -sourcepath 'D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg\gc\shenandoah\mxbeans;D:\a\jdk-ysd\jdk-ysd\test\lib;D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg' \
        -classpath 'D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg\gc\shenandoah\mxbeans;D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\gc\shenandoah\mxbeans\TestPauseNotifications_generational.d;D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\test\lib;D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes' 'D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg\gc\shenandoah\mxbeans\TestPauseNotifications.java'
direct:
Note: D:\a\jdk-ysd\jdk-ysd\test\lib\jdk\test\lib\Asserts.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

ACTION: main -- Failed. Unexpected exit from test [exit code: 1]
REASON: User specified action: run main/othervm -Xmx128m -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCMode=generational TestPauseNotifications 
TIME:   1.226 seconds
messages:
command: main -Xmx128m -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCMode=generational TestPauseNotifications
reason: User specified action: run main/othervm -Xmx128m -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCMode=generational TestPauseNotifications 
started: Tue Dec 10 11:44:17 UTC 2024
Mode: othervm [/othervm specified]
finished: Tue Dec 10 11:44:18 UTC 2024
elapsed time (seconds): 1.226
configuration:
STDOUT:
Received: Shenandoah Pauses/Init Mark
Received: Shenandoah Pauses/Final Mark
Received: Shenandoah Pauses/Final Roots
Received: Shenandoah Cycles/end of GC cycle
Received: Shenandoah Pauses/Init Mark
Received: Shenandoah Pauses/Final Mark
Received: Shenandoah Pauses/Final Roots
Received: Shenandoah Cycles/end of GC cycle
Received: Shenandoah Pauses/Init Mark
Received: Shenandoah Pauses/Final Mark
Received: Shenandoah Pauses/Init Update Refs
Received: Shenandoah Pauses/Final Update Refs
Received: Shenandoah Cycles/end of GC cycle
Received: Shenandoah Pauses/Init Mark
Received: Shenandoah Pauses/Final Mark
Received: Shenandoah Pauses/Init Update Refs
Received: Shenandoah Pauses/Final Update Refs
Received: Shenandoah Cycles/end of GC cycle
Received: Shenandoah Pauses/Init Mark
Received: Shenandoah Pauses/Final Mark
Received: Shenandoah Pauses/Final Roots
Received: Shenandoah Cycles/end of GC cycle
Received: Shenandoah Pauses/Init Mark
Received: Shenandoah Pauses/Final Mark
Received: Shenandoah Pauses/Final Roots
Received: Shenandoah Cycles/end of GC cycle
Received: Shenandoah Pauses/Init Mark
Received: Shenandoah Pauses/Final Mark
Received: Shenandoah Pauses/Init Update Refs
Received: Shenandoah Pauses/Final Update Refs
Received: Shenandoah Cycles/end of GC cycle
Warning: [0.987s][warning][gc,free] Forcing transfer of 502 to old reserve.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (d:\a\jdk-ysd\jdk-ysd\src\hotspot\share\gc\shenandoah\shenandoahGeneration.cpp:1029), pid=1676, tid=5312
#  assert(ShenandoahHeap::heap()->is_full_gc_in_progress() || (_affiliated_region_count * ShenandoahHeapRegion::region_size_bytes() <= _max_capacity)) failed: Cannot use more than capacity
#
# JRE version: OpenJDK Runtime Environment (25.0) (fastdebug build 25-internal-sendaoYan-110539b0ac5abe0444e437f6e37f2e1c51b2be38)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 25-internal-sendaoYan-110539b0ac5abe0444e437f6e37f2e1c51b2be38, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, shenandoah gc, windows-amd64)
# Problematic frame:
# V  [jvm.dll+0xee646b]  ShenandoahGeneration::decrease_capacity+0x14b
#
# CreateCoredumpOnCrash turned off, no core file dumped
#
# An error report file with more information is saved as:
# D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\scratch_1\hs_err_pid1676.log
Warning: [1.136s][warning][os     ] Loading hsdis library failed
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
#
STDERR:
rerun:
cd 'D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\scratch_1' && \
DOCS_JDK_IMAGE_DIR= \
PATH='C:\hostedtoolcache\windows\msys2\msys64\usr\bin;D:\a\_temp\setup-msys2' \
SystemDrive=C: \
SystemRoot='C:\Windows' \
TEMP='C:\Users\RUNNER~1\AppData\Local\Temp' \
TEST_IMAGE_DIR='d:\a\jdk-ysd\jdk-ysd\bundles\tests' \
TMP='C:\Users\RUNNER~1\AppData\Local\Temp' \
_NT_SYMBOL_PATH=' d:\a\jdk-ysd\jdk-ysd\bundles\symbols\jdk-25\fastdebug\bin;d:\a\jdk-ysd\jdk-ysd\bundles\symbols\jdk-25\fastdebug\bin\server' \
windir='C:\Windows' \
CLASSPATH='D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\gc\shenandoah\mxbeans\TestPauseNotifications_generational.d;D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg\gc\shenandoah\mxbeans;D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\test\lib;D:\a\jdk-ysd\jdk-ysd\test\lib;D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes;D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg;D:\a\jdk-ysd\jdk-ysd\jtreg\installed\lib\javatest.jar;D:\a\jdk-ysd\jdk-ysd\jtreg\installed\lib\jtreg.jar' \
    'd:\a\jdk-ysd\jdk-ysd\bundles\jdk\jdk-25\fastdebug\bin\java' \
        -Dtest.vm.opts='-XX:MaxRAMPercentage=25 -Dtest.boot.jdk=d:\a\jdk-ysd\jdk-ysd\bootjdk\jdk -Djava.io.tmpdir=d:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\tmp -XX:+CreateCoredumpOnCrash' \
        -Dtest.tool.vm.opts='-J-XX:MaxRAMPercentage=25 -J-Dtest.boot.jdk=d:\a\jdk-ysd\jdk-ysd\bootjdk\jdk -J-Djava.io.tmpdir=d:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\tmp -J-XX:+CreateCoredumpOnCrash' \
        -Dtest.compiler.opts= \
        -Dtest.java.opts=-XX:-CreateCoredumpOnCrash \
        -Dtest.jdk='d:\a\jdk-ysd\jdk-ysd\bundles\jdk\jdk-25\fastdebug' \
        -Dcompile.jdk='d:\a\jdk-ysd\jdk-ysd\bundles\jdk\jdk-25\fastdebug' \
        -Dtest.timeout.factor=4.0 \
        -Dtest.nativepath='d:\a\jdk-ysd\jdk-ysd\bundles\tests\hotspot\jtreg\native' \
        -Dtest.root='D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg' \
        -Dtest.name=gc/shenandoah/mxbeans/TestPauseNotifications.java#generational \
        -Dtest.file='D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg\gc\shenandoah\mxbeans\TestPauseNotifications.java' \
        -Dtest.src='D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg\gc\shenandoah\mxbeans' \
        -Dtest.src.path='D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg\gc\shenandoah\mxbeans;D:\a\jdk-ysd\jdk-ysd\test\lib;D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg' \
        -Dtest.classes='D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\gc\shenandoah\mxbeans\TestPauseNotifications_generational.d' \
        -Dtest.class.path='D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\gc\shenandoah\mxbeans\TestPauseNotifications_generational.d;D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\test\lib;D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes' \
        -Dtest.class.path.prefix='D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\gc\shenandoah\mxbeans\TestPauseNotifications_generational.d;D:\a\jdk-ysd\jdk-ysd\test\hotspot\jtreg\gc\shenandoah\mxbeans;D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\test\lib;D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes' \
        -XX:MaxRAMPercentage=25 \
        '-Dtest.boot.jdk=d:\a\jdk-ysd\jdk-ysd\bootjdk\jdk' \
        '-Djava.io.tmpdir=d:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\tmp' \
        -XX:+CreateCoredumpOnCrash \
        -XX:-CreateCoredumpOnCrash \
        '-Djava.library.path=d:\a\jdk-ysd\jdk-ysd\bundles\tests\hotspot\jtreg\native' \
        -Xmx128m \
        -XX:+UnlockDiagnosticVMOptions \
        -XX:+UnlockExperimentalVMOptions \
        -XX:+UseShenandoahGC \
        -XX:ShenandoahGCMode=generational \
        com.sun.javatest.regtest.agent.MainWrapper 'D:\a\jdk-ysd\jdk-ysd\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\gc\shenandoah\mxbeans\TestPauseNotifications_generational.d\main.0.jta'

TEST RESULT: Failed. Unexpected exit from test [exit code: 1]