We still seem to be seeing failures/crashes related to this issue
Test: gc\stress\jfr\TestStressBigAllocationGCEventsWithParallel
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (t:\workspace\open\src\hotspot\share\utilities/globalDefinitions.hpp:424), pid=46500, tid=68856
# assert(left >= right) failed: avoid underflow - left: 0x00000000fd880000 right: 0x00000000fda00000
#
# JRE version: Java(TM) SE Runtime Environment (18.0+3) (fastdebug build 18-ea+3-39)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-ea+3-39, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, parallel gc, windows-amd64)
# Core dump will be written. Default location: T:\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_gc\scratch\4\hs_err_pid46500.mdmp
#
# JFR recording file will be written. Location: T:\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_gc\scratch\4\hs_err_pid46500.jfr
#
--------------- T H R E A D ---------------
Current thread (0x0000024f7b8b3b60): WatcherThread [stack: 0x000000cca8200000,0x000000cca8300000] [id=68856]
Stack: [0x000000cca8200000,0x000000cca8300000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0xadcf51] os::platform_print_native_stack+0xf1 (os_windows_x86.cpp:235)
V [jvm.dll+0xd05245] VMError::report+0x1005 (vmError.cpp:739)
V [jvm.dll+0xd06bce] VMError::report_and_die+0x7fe (vmError.cpp:1549)
V [jvm.dll+0xd07304] VMError::report_and_die+0x64 (vmError.cpp:1330)
V [jvm.dll+0x4c7f97] report_vm_error+0xb7 (debug.cpp:282)
V [jvm.dll+0xa8c52a] MutableSpace::used_in_words+0x4a (mutableSpace.hpp:135)
V [jvm.dll+0xbb965b] MutableSpaceUsedHelper::take_sample+0x1b (spaceCounters.hpp:81)
V [jvm.dll+0xb13cde] PerfLongVariant::sample+0x1e (perfData.cpp:215)
V [jvm.dll+0xbc87a0] StatSampler::sample_data+0x90 (statSampler.cpp:140)
V [jvm.dll+0xc5219e] PeriodicTask::real_time_tick+0xfe (task.cpp:45)
V [jvm.dll+0xaac07c] WatcherThread::run+0x27c (nonJavaThread.cpp:284)
V [jvm.dll+0xc87a14] Thread::call_run+0x1b4 (thread.cpp:399)
V [jvm.dll+0xadb8ce] thread_native_entry+0xae (os_windows.cpp:549)
C [ucrtbase.dll+0x1fb80]
C [KERNEL32.DLL+0x84d4]
C [ntdll.dll+0x51781]
Test: gc\stress\jfr\TestStressBigAllocationGCEventsWithParallel
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (t:\workspace\open\src\hotspot\share\utilities/globalDefinitions.hpp:424), pid=46500, tid=68856
# assert(left >= right) failed: avoid underflow - left: 0x00000000fd880000 right: 0x00000000fda00000
#
# JRE version: Java(TM) SE Runtime Environment (18.0+3) (fastdebug build 18-ea+3-39)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-ea+3-39, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, parallel gc, windows-amd64)
# Core dump will be written. Default location: T:\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_gc\scratch\4\hs_err_pid46500.mdmp
#
# JFR recording file will be written. Location: T:\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_gc\scratch\4\hs_err_pid46500.jfr
#
--------------- T H R E A D ---------------
Current thread (0x0000024f7b8b3b60): WatcherThread [stack: 0x000000cca8200000,0x000000cca8300000] [id=68856]
Stack: [0x000000cca8200000,0x000000cca8300000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0xadcf51] os::platform_print_native_stack+0xf1 (os_windows_x86.cpp:235)
V [jvm.dll+0xd05245] VMError::report+0x1005 (vmError.cpp:739)
V [jvm.dll+0xd06bce] VMError::report_and_die+0x7fe (vmError.cpp:1549)
V [jvm.dll+0xd07304] VMError::report_and_die+0x64 (vmError.cpp:1330)
V [jvm.dll+0x4c7f97] report_vm_error+0xb7 (debug.cpp:282)
V [jvm.dll+0xa8c52a] MutableSpace::used_in_words+0x4a (mutableSpace.hpp:135)
V [jvm.dll+0xbb965b] MutableSpaceUsedHelper::take_sample+0x1b (spaceCounters.hpp:81)
V [jvm.dll+0xb13cde] PerfLongVariant::sample+0x1e (perfData.cpp:215)
V [jvm.dll+0xbc87a0] StatSampler::sample_data+0x90 (statSampler.cpp:140)
V [jvm.dll+0xc5219e] PeriodicTask::real_time_tick+0xfe (task.cpp:45)
V [jvm.dll+0xaac07c] WatcherThread::run+0x27c (nonJavaThread.cpp:284)
V [jvm.dll+0xc87a14] Thread::call_run+0x1b4 (thread.cpp:399)
V [jvm.dll+0xadb8ce] thread_native_entry+0xae (os_windows.cpp:549)
C [ucrtbase.dll+0x1fb80]
C [KERNEL32.DLL+0x84d4]
C [ntdll.dll+0x51781]
- duplicates
-
JDK-8268265 MutableSpaceUsedHelper::take_sample() hits assert(left >= right) failed: avoid overflow
-
- Resolved
-
- relates to
-
JDK-8267579 Thread::cooked_allocated_bytes() hits assert(left >= right) failed: avoid underflow
-
- Resolved
-