如果我把
-vm
C:\Program Files\Java\jdk-14.0.1\bin\javaw.exe
这句删除的话,就会报以下的错误。
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000180008b37, pid=20388, tid=19572
#
# JRE version: Java(TM) SE Runtime Environment (14.0.1+7) (build 14.0.1+7)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (14.0.1+7, mixed mode, sharing, tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# C [NSKern32.dll+0x8b37]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
RIP=0x0000000180008b37 NSKern32.dll
RAX=0x0 is NULL
RBX=0x0 is NULL
RCX=0x00007ffb577fc474 ntdll.dll
RDX=0x0 is NULL
RSP=0x000000003790dee0 is pointing into the stack for thread: 0x00000000271cb000
RBP=0x000000000000001c is an unknown value
RSI=0x0 is NULL
RDI=0x000000003790e498 is pointing into the stack for thread: 0x00000000271cb000
R8 =0x000000003790de38 is pointing into the stack for thread: 0x00000000271cb000
R9 =0x000000000000001c is an unknown value
R10=0x0 is NULL
R11=0x0000000000000246 is an unknown value
R12=0x000000003790e448 is pointing into the stack for thread: 0x00000000271cb000
R13=0x0000000000000e54 is an unknown value
R14=0x0 is NULL
R15=0x0 is NULL
Stack slot to memory mapping:
stack at sp + 0 slots: 0x000000003790e498 is pointing into the stack for thread: 0x00000000271cb000
stack at sp + 1 slots: 0x000000000000001c is an unknown value
stack at sp + 2 slots: 0x0 is NULL
stack at sp + 3 slots: 0x000000003790e498 is pointing into the stack for thread: 0x00000000271cb000
stack at sp + 4 slots: 0xffffffffffffffff is an unknown value
stack at sp + 5 slots: 0x00000030ffffffff is an unknown value
stack at sp + 6 slots: 0x000000002a703f00 points into unknown readable memory: 04 00 00 00 00 00 00 00
stack at sp + 7 slots: 0x00007ffafccf7a08 jvm.dll
--------------- P R O C E S S ---------------
Threads class SMR info:
_java_thread_list=0x0000000030568970, length=35, elements={
0x00000000014de000, 0x0000000023aa6000, 0x00