升级到 15.3 了,jre 还是有些能用有些不能用
完全没摸到规律
./JavaVirtualMachines/corretto-1.8.0_432/Contents/Home/bin/java -h
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0xa) at pc=0x0000000103bd74d0, pid=26161, tid=0x0000000000002903
#
# JRE version: (8.0_432-b06) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.432-b06 mixed mode bsd-aarch64 compressed oops)
# Problematic frame:
# V [libjvm.dylib+0x2274d0] CodeHeap::allocate(unsigned long, bool)+0xe8
#
===============================================
./JavaVirtualMachines/azul-1.8.0_432/Contents/Home/bin/java -h
用法: java [-options] class [args...]
(执行类)
或 java [-options] -jar jarfile [args...]
(执行 jar 文件)
其中选项包括:
-d32 使用 32 位数据模型 (如果可用)
-d64 使用 64 位数据模型 (如果可用)
-server 选择 "server" VM
默认 VM 是 server,
因为您是在服务器类计算机上运行。
===============================================
./JavaVirtualMachines/jbr-17.0.12/Contents/Home/bin/java -h
用法:java [options] <主类> [args...]
(执行类)
或 java [options] -jar <jar 文件> [args...]
(执行 jar 文件)
或 java [options] -m <模块>[/<主类>] [args...]
java [options] --module <模块>[/<主类>] [args...]
(执行模块中的主类)
或 java [options] <源文件> [args]
(执行单个源文件程序)
================================================
./JetBrainsRuntime/jbr_jcef-21.0.3-osx-aarch64-b509.11/Contents/Home/bin/java -h
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0xa) at pc=0x000000010480c80c, pid=26100, tid=8707
#
# JRE version: (21.0.3+13) (build )
# Java VM: OpenJDK 64-Bit Server VM (21.0.3+13-b509.11, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# Problematic frame:
# V [libjvm.dylib+0x45c80c] CodeHeap::allocate(unsigned long)+0x1a4
=================================================
./JetBrainsRuntime/jbr_jcef-21.0.4-osx-aarch64-b509.26/Contents/Home/bin/java -h
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0xa) at pc=0x00000001026176fc, pid=26044, tid=10243
#
# JRE version: (21.0.4+13) (build )
# Java VM: OpenJDK 64-Bit Server VM (21.0.4+13-b509.26, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# Problematic frame:
# V [libjvm.dylib+0x45f6fc] CodeHeap::allocate(unsigned long)+0x1a4