Occurred during CI testing:
tools/javac/6402516/CheckLocalElements.java
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0xa) at pc=0x0000000101a28b41, pid=46184, tid=40195
#
# JRE version: Java(TM) SE Runtime Environment (18.0+7) (build 18-ea+7-252)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (18-ea+7-252, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Problematic frame:
# V [libjvm.dylib+0x428b41] G1ParScanThreadState::do_copy_to_survivor_space(G1HeapRegionAttr, oopDesc*, markWord)+0x41
#
--------------- T H R E A D ---------------
Current thread (0x00007f8b7d4e83b0): GCTaskThread "GC Thread#3" [stack: 0x000070000bd3d000,0x000070000be3d000] [id=40195]
Stack: [0x000070000bd3d000,0x000070000be3d000], sp=0x000070000be3cb40, free space=1022k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.dylib+0x428b41] G1ParScanThreadState::do_copy_to_survivor_space(G1HeapRegionAttr, oopDesc*, markWord)+0x41
V [libjvm.dylib+0x427f4b] G1ParScanThreadState::trim_queue_to_threshold(unsigned int)+0x34b
V [libjvm.dylib+0x43446d] G1ScanHRForRegionClosure::scan_memregion(unsigned int, MemRegion)+0xad
V [libjvm.dylib+0x434201] G1ScanHRForRegionClosure::scan_heap_roots(HeapRegion*)+0x401
V [libjvm.dylib+0x433de0] G1ScanHRForRegionClosure::do_heap_region(HeapRegion*)+0x50
V [libjvm.dylib+0x4327c9] G1RemSet::scan_heap_roots(G1ParScanThreadState*, unsigned int, G1GCPhaseTimes::GCParPhases, G1GCPhaseTimes::GCParPhases, bool)+0x119
V [libjvm.dylib+0x3ef9b8] G1EvacuateRegionsTask::scan_roots(G1ParScanThreadState*, unsigned int)+0x48
V [libjvm.dylib+0x3ef875] G1EvacuateRegionsBaseTask::work(unsigned int)+0x75
V [libjvm.dylib+0xa5badc] GangWorker::loop()+0x5c
tools/javac/6402516/CheckLocalElements.java
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0xa) at pc=0x0000000101a28b41, pid=46184, tid=40195
#
# JRE version: Java(TM) SE Runtime Environment (18.0+7) (build 18-ea+7-252)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (18-ea+7-252, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Problematic frame:
# V [libjvm.dylib+0x428b41] G1ParScanThreadState::do_copy_to_survivor_space(G1HeapRegionAttr, oopDesc*, markWord)+0x41
#
--------------- T H R E A D ---------------
Current thread (0x00007f8b7d4e83b0): GCTaskThread "GC Thread#3" [stack: 0x000070000bd3d000,0x000070000be3d000] [id=40195]
Stack: [0x000070000bd3d000,0x000070000be3d000], sp=0x000070000be3cb40, free space=1022k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.dylib+0x428b41] G1ParScanThreadState::do_copy_to_survivor_space(G1HeapRegionAttr, oopDesc*, markWord)+0x41
V [libjvm.dylib+0x427f4b] G1ParScanThreadState::trim_queue_to_threshold(unsigned int)+0x34b
V [libjvm.dylib+0x43446d] G1ScanHRForRegionClosure::scan_memregion(unsigned int, MemRegion)+0xad
V [libjvm.dylib+0x434201] G1ScanHRForRegionClosure::scan_heap_roots(HeapRegion*)+0x401
V [libjvm.dylib+0x433de0] G1ScanHRForRegionClosure::do_heap_region(HeapRegion*)+0x50
V [libjvm.dylib+0x4327c9] G1RemSet::scan_heap_roots(G1ParScanThreadState*, unsigned int, G1GCPhaseTimes::GCParPhases, G1GCPhaseTimes::GCParPhases, bool)+0x119
V [libjvm.dylib+0x3ef9b8] G1EvacuateRegionsTask::scan_roots(G1ParScanThreadState*, unsigned int)+0x48
V [libjvm.dylib+0x3ef875] G1EvacuateRegionsBaseTask::work(unsigned int)+0x75
V [libjvm.dylib+0xa5badc] GangWorker::loop()+0x5c
- duplicates
-
JDK-8271163 G1 uses wrong degree of MT processing since JDK-8270169
-
- Closed
-