- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在使用 LWJGL 用 Java 开发游戏。除了主游戏,我还在开发一些基于 Swing 的应用程序(一个启动器、一个配置编辑器和一个 map 编辑器)。
当我运行启动器时,我有时(大约 10% 的时间)会遇到致命的 JVM 崩溃。这很奇怪——我可以在几秒钟后运行程序,一切正常。我的编译错误或警告为零,当程序运行时,它完全正常运行。
我在运行我的 LWJGL 游戏时没有收到错误,只是在我首先运行启动器时。我用来初始化启动器的过程是:
我得到的错误如下:
## A fatal error has been detected by the Java Runtime Environment:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007fefd800c7b, pid=6128, tid=4364## JRE version: 6.0_27-b07# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.2-b06 mixed mode windows-amd64 compressed oops)# Problematic frame:# C [ole32.dll+0x10c7b]## An error report file with more information is saved as:# J:\Development\workspace\Crypt Utils\hs_err_pid6128.log## If you would like to submit a bug report, please visit:# http://java.sun.com/webapps/bugreport/crash.jsp# The crash happened outside the Java Virtual Machine in native code.# See problematic frame for where to report the bug.#
然后,错误日志文件:
## A fatal error has been detected by the Java Runtime Environment:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007fefd800c7b, pid=6128, tid=4364## JRE version: 6.0_27-b07# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.2-b06 mixed mode windows-amd64 compressed oops)# Problematic frame:# C [ole32.dll+0x10c7b]## If you would like to submit a bug report, please visit:# http://java.sun.com/webapps/bugreport/crash.jsp# The crash happened outside the Java Virtual Machine in native code.# See problematic frame for where to report the bug.#--------------- T H R E A D ---------------Current thread (0x000000000713d000): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=4364, stack(0x0000000007e30000,0x0000000007f30000)]siginfo: ExceptionCode=0xc0000005, writing address 0x0000000000000038Registers:RAX=0x0000000000000000, RBX=0x000000000b933c70, RCX=0x000000000000110c, RDX=0x000007fefd996620RSP=0x0000000007f2dfa0, RBP=0x000000000026dc90, RSI=0x0000000000000000, RDI=0x000000000b933c70R8 =0x00000000000003d4, R9 =0x000007fefd977f18, R10=0x0000000000000000, R11=0x0000000007f2dec0R12=0x0000000000000000, R13=0x000000000b90a3c0, R14=0x0000000000000000, R15=0x0000000000000000RIP=0x000007fefd800c7b, EFLAGS=0x0000000000010246Top of Stack: (sp=0x0000000007f2dfa0)0x0000000007f2dfa0: 000000000b933c70 00000000000000000x0000000007f2dfb0: 0000000000000000 000007fefd81311b0x0000000007f2dfc0: 0000000000000000 0000000007f2e0500x0000000007f2dfd0: 000017f000001000 d0b221343c39b3180x0000000007f2dfe0: 000081de6b223eb8 000007fefd8130320x0000000007f2dff0: 0000000000000001 00000000070e9c180x0000000007f2e000: 0000000000000000 000000000026dc900x0000000007f2e010: 000000000713d1d0 000007fefd8012250x0000000007f2e020: 0000000007f2e080 000000000026dc900x0000000007f2e030: 0000000000000000 000000000000008c0x0000000007f2e040: 000000000c797be0 000007fefd9631350x0000000007f2e050: 000000000026dc90 000000000713ca280x0000000007f2e060: 0000000006697d00 000007fefd0f8c120x0000000007f2e070: 000000000c797be0 000007fefd91de9d0x0000000007f2e080: 000000000026dc90 00000000070e9c180x0000000007f2e090: 0000000000000018 0000000000000514 Instructions: (pc=0x000007fefd800c7b)0x000007fefd800c5b: 60 1c 00 41 b8 d4 03 00 00 e8 47 82 01 00 85 f60x000007fefd800c6b: 78 2b f3 0f 6f 44 24 30 48 8b 45 18 4c 89 6d 200x000007fefd800c7b: f3 0f 7f 40 30 f6 45 0c 01 75 12 48 8b cd e8 be0x000007fefd800c8b: fa ff ff 8b f0 85 c0 78 04 83 4d 0c 01 48 8b cd Register to memory mapping:RAX=0x0000000000000000 is an unknown valueRBX=0x000000000b933c70 is an unknown valueRCX=0x000000000000110c is an unknown valueRDX=0x000007fefd996620 is an unknown valueRSP=0x0000000007f2dfa0 is pointing into the stack for thread: 0x000000000713d000RBP=0x000000000026dc90 is an unknown valueRSI=0x0000000000000000 is an unknown valueRDI=0x000000000b933c70 is an unknown valueR8 =0x00000000000003d4 is an unknown valueR9 =0x000007fefd977f18 is an unknown valueR10=0x0000000000000000 is an unknown valueR11=0x0000000007f2dec0 is pointing into the stack for thread: 0x000000000713d000R12=0x0000000000000000 is an unknown valueR13=0x000000000b90a3c0 is an unknown valueR14=0x0000000000000000 is an unknown valueR15=0x0000000000000000 is an unknown valueStack: [0x0000000007e30000,0x0000000007f30000], sp=0x0000000007f2dfa0, free space=1015kNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)C [ole32.dll+0x10c7b] CLSIDFromString+0x5fbJava frames: (J=compiled Java code, j=interpreted, Vv=VM code) sun.awt.windows.WComponentPeer.addNativeDropTarget()J+0 sun.awt.windows.WComponentPeer.addDropTarget(Ljava/awt/dnd/DropTarget;)V+9 java.awt.dnd.DropTarget.addNotify(Ljava/awt/peer/ComponentPeer;)V+60 java.awt.Component.addNotify()V+297 java.awt.Container.addNotify()V+8 javax.swing.JComponent.addNotify()V+1 java.awt.Container.addNotify()V+61 javax.swing.JComponent.addNotify()V+1 java.awt.Container.addNotify()V+61 javax.swing.JComponent.addNotify()V+1 javax.swing.JMenuBar.addNotify()V+1 java.awt.Container.addNotify()V+61 javax.swing.JComponent.addNotify()V+1 org.pushingpixels.substance.internal.utils.SubstanceTitlePane.addNotify()V+1 java.awt.Container.addNotify()V+61 javax.swing.JComponent.addNotify()V+1 java.awt.Container.addNotify()V+61 javax.swing.JComponent.addNotify()V+1 javax.swing.JRootPane.addNotify()V+5 java.awt.Container.addNotify()V+61 java.awt.Window.addNotify()V+73 java.awt.Frame.addNotify()V+70 java.awt.Window.pack()V+28 gui.launcher.LauncherWindow.()V+156 main.Crypt.runLauncher()V+28 main.Crypt$1.run()V+0 java.awt.event.InvocationEvent.dispatch()V+47 java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+21 java.awt.EventQueue.access$000(Ljava/awt/EventQueue;Ljava/awt/AWTEvent;Ljava/lang/Object;)V+3 java.awt.EventQueue$1.run()Ljava/lang/Void;+12 java.awt.EventQueue$1.run()Ljava/lang/Object;+1v ~StubRoutines::call_stub java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0 java.security.AccessControlContext$1.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+28 java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46 java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+204 java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+30 java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11 java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4 java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3 java.awt.EventDispatchThread.run()V+9v ~StubRoutines::call_stub--------------- P R O C E S S ---------------Java Threads: ( => current thread ) 0x0000000007309000 JavaThread "Substance heap status" daemon [_thread_blocked, id=5732, stack(0x000000000c000000,0x000000000c100000)] 0x000000000737e000 JavaThread "Headspace mixer frame proc thread" daemon [_thread_blocked, id=5520, stack(0x000000000bd00000,0x000000000be00000)] 0x00000000072a2800 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=2956, stack(0x000000000b700000,0x000000000b800000)] 0x00000000071dc800 JavaThread "Thread-3" [_thread_in_native, id=4104, stack(0x00000000082b0000,0x00000000083b0000)] 0x00000000003db800 JavaThread "DestroyJavaVM" [_thread_blocked, id=5600, stack(0x0000000002570000,0x0000000002670000)]=>0x000000000713d000 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=4364, stack(0x0000000007e30000,0x0000000007f30000)] 0x00000000067af800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5760, stack(0x0000000007830000,0x0000000007930000)] 0x00000000067ae800 JavaThread "AWT-Shutdown" [_thread_blocked, id=2600, stack(0x0000000007730000,0x0000000007830000)] 0x00000000066ea800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4244, stack(0x00000000074e0000,0x00000000075e0000)] 0x0000000006684000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=5196, stack(0x0000000006d10000,0x0000000006e10000)] 0x0000000006681000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=4192, stack(0x0000000006c10000,0x0000000006d10000)] 0x000000000666e000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=4260, stack(0x0000000006b10000,0x0000000006c10000)] 0x000000000666b000 JavaThread "Attach Listener" daemon [_thread_blocked, id=5008, stack(0x0000000006a10000,0x0000000006b10000)] 0x0000000006666000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4032, stack(0x0000000006910000,0x0000000006a10000)] 0x000000000064b800 JavaThread "Finalizer" daemon [_thread_blocked, id=1132, stack(0x0000000006810000,0x0000000006910000)] 0x0000000000649000 JavaThread "Reference Handler" daemon [_thread_blocked, id=5336, stack(0x0000000006510000,0x0000000006610000)]Other Threads: 0x0000000000641000 VMThread [stack: 0x0000000006410000,0x0000000006510000] [id=3820] 0x0000000006697000 WatcherThread [stack: 0x0000000006e10000,0x0000000006f10000] [id=5156]VM state:not at safepoint (normal execution)VM Mutex/Monitor currently owned by a thread: NoneHeap PSYoungGen total 19136K, used 15506K [0x00000000eaab0000, 0x00000000ec000000, 0x0000000100000000) eden space 16448K, 94% used [0x00000000eaab0000,0x00000000eb9d4b98,0x00000000ebac0000) from space 2688K, 0% used [0x00000000ebd60000,0x00000000ebd60000,0x00000000ec000000) to space 2688K, 0% used [0x00000000ebac0000,0x00000000ebac0000,0x00000000ebd60000) PSOldGen total 43712K, used 0K [0x00000000c0000000, 0x00000000c2ab0000, 0x00000000eaab0000) object space 43712K, 0% used [0x00000000c0000000,0x00000000c0000000,0x00000000c2ab0000) PSPermGen total 21248K, used 15942K [0x00000000bae00000, 0x00000000bc2c0000, 0x00000000c0000000) object space 21248K, 75% used [0x00000000bae00000,0x00000000bbd91870,0x00000000bc2c0000)Code Cache [0x0000000002670000, 0x00000000028e0000, 0x0000000005670000) total_blobs=470 nmethods=39 adapters=385 free_code_cache=49729536 largest_free_block=6336Dynamic libraries:0x0000000000400000 - 0x000000000042e000 C:\Program Files\Java\jre6\bin\javaw.exe0x00000000770f0000 - 0x0000000077299000 C:\Windows\SYSTEM32\ntdll.dll0x0000000076ed0000 - 0x0000000076fef000 C:\Windows\system32\kernel32.dll0x000007fefd0f0000 - 0x000007fefd15c000 C:\Windows\system32\KERNELBASE.dll0x0000000074de0000 - 0x0000000074e1f000 C:\Program Files\AVAST Software\Avast\snxhk64.dll0x000007fefdde0000 - 0x000007fefdebb000 C:\Windows\system32\ADVAPI32.dll0x000007fefd410000 - 0x000007fefd4af000 C:\Windows\system32\msvcrt.dll0x000007fefd4b0000 - 0x000007fefd4cf000 C:\Windows\SYSTEM32\sechost.dll0x000007fefef90000 - 0x000007feff0bd000 C:\Windows\system32\RPCRT4.dll0x0000000076ff0000 - 0x00000000770ea000 C:\Windows\system32\USER32.dll0x000007fefdec0000 - 0x000007fefdf27000 C:\Windows\system32\GDI32.dll0x000007fefee50000 - 0x000007fefee5e000 C:\Windows\system32\LPK.dll0x000007feff0c0000 - 0x000007feff189000 C:\Windows\system32\USP10.dll0x000007fefe090000 - 0x000007fefe0be000 C:\Windows\system32\IMM32.DLL0x000007fefd4d0000 - 0x000007fefd5d9000 C:\Windows\system32\MSCTF.dll0x000000006d7f0000 - 0x000000006dfa8000 C:\Program Files\Java\jre6\bin\server\jvm.dll0x000007fefa980000 - 0x000007fefa9bb000 C:\Windows\system32\WINMM.dll0x000000006d760000 - 0x000000006d76e000 C:\Program Files\Java\jre6\bin\verify.dll0x000000006d3b0000 - 0x000000006d3d7000 C:\Program Files\Java\jre6\bin\java.dll0x000000006d7b0000 - 0x000000006d7c2000 C:\Program Files\Java\jre6\bin\zip.dll0x000000006d000000 - 0x000000006d1c3000 C:\Program Files\Java\jre6\bin\awt.dll0x000007fefa620000 - 0x000007fefa691000 C:\Windows\system32\WINSPOOL.DRV0x000007fefd7f0000 - 0x000007fefd9f3000 C:\Windows\system32\ole32.dll0x000007fefe0c0000 - 0x000007fefee48000 C:\Windows\system32\SHELL32.dll0x000007fefef10000 - 0x000007fefef81000 C:\Windows\system32\SHLWAPI.dll0x000007fefbaf0000 - 0x000007fefbce4000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\COMCTL32.dll0x000007fefb3b0000 - 0x000007fefb3c8000 C:\Windows\system32\DWMAPI.DLL0x000007fefb780000 - 0x000007fefb7d6000 C:\Windows\system32\uxtheme.dll0x000007fef93b0000 - 0x000007fef942f000 C:\Program Files\Common Files\microsoft shared\ink\tiptsf.dll0x000007fefd5e0000 - 0x000007fefd6b7000 C:\Windows\system32\OLEAUT32.dll0x000007fefc180000 - 0x000007fefc18c000 C:\Windows\system32\version.dll0x000007fefcf70000 - 0x000007fefcf7f000 C:\Windows\system32\CRYPTBASE.dll0x000000006d2a0000 - 0x000000006d306000 C:\Program Files\Java\jre6\bin\fontmanager.dll0x000000006d600000 - 0x000000006d617000 C:\Program Files\Java\jre6\bin\net.dll0x000007fefee60000 - 0x000007fefeead000 C:\Windows\system32\WS2_32.dll0x000007feff210000 - 0x000007feff218000 C:\Windows\system32\NSI.dll0x000007fefc870000 - 0x000007fefc8c5000 C:\Windows\system32\mswsock.dll0x000007fefc860000 - 0x000007fefc867000 C:\Windows\System32\wship6.dll0x000000006d620000 - 0x000000006d62b000 C:\Program Files\Java\jre6\bin\nio.dll0x0000000180000000 - 0x0000000180050000 C:\Users\Chris\AppData\Roaming\jRabbit Data\LWJGL Natives\lwjgl64.dll0x000007fef1550000 - 0x000007fef166d000 C:\Windows\system32\OPENGL32.dll0x000007fef47c0000 - 0x000007fef47ed000 C:\Windows\system32\GLU32.dll0x000007fef1210000 - 0x000007fef1301000 C:\Windows\system32\DDRAW.dll0x000007fef8090000 - 0x000007fef8098000 C:\Windows\system32\DCIMAN32.dll0x000007feff220000 - 0x000007feff3f7000 C:\Windows\system32\SETUPAPI.dll0x000007fefd160000 - 0x000007fefd196000 C:\Windows\system32\CFGMGR32.dll0x000007fefd3b0000 - 0x000007fefd3ca000 C:\Windows\system32\DEVOBJ.dll0x000007fefa2a0000 - 0x000007fefa49f000 C:\Windows\system32\d3d9.dll0x000007fefa290000 - 0x000007fefa297000 C:\Windows\system32\d3d8thk.dll0x000007feed900000 - 0x000007feee777000 C:\Windows\system32\nvd3dumx.dll0x000007fefb860000 - 0x000007fefb88c000 C:\Windows\system32\powrprof.dll0x000000006d510000 - 0x000000006d53e000 C:\Program Files\Java\jre6\bin\jsound.dll0x000007fefb730000 - 0x000007fefb77b000 C:\Windows\system32\MMDevAPI.DLL0x000007fefb940000 - 0x000007fefba6c000 C:\Windows\system32\PROPSYS.dll0x000007fefa5e0000 - 0x000007fefa61b000 C:\Windows\system32\wdmaud.drv0x0000000074a00000 - 0x0000000074a06000 C:\Windows\system32\ksuser.dll0x000007fefbae0000 - 0x000007fefbae9000 C:\Windows\system32\AVRT.dll0x000007fefa590000 - 0x000007fefa5df000 C:\Windows\system32\AUDIOSES.DLL0x000007fefa4e0000 - 0x000007fefa4ea000 C:\Windows\system32\msacm32.drv0x000007fefa4c0000 - 0x000007fefa4d8000 C:\Windows\system32\MSACM32.dll0x000007fefa4a0000 - 0x000007fefa4a9000 C:\Windows\system32\midimap.dll0x000000006d210000 - 0x000000006d238000 C:\Program Files\Java\jre6\bin\dcpr.dll0x000007fefdf30000 - 0x000007fefdfc9000 C:\Windows\system32\CLBCatQ.DLL0x000007fefcb00000 - 0x000007fefcb17000 C:\Windows\system32\CRYPTSP.dll0x000007fefc5d0000 - 0x000007fefc617000 C:\Windows\system32\rsaenh.dll0x000007fefc390000 - 0x000007fefc3ae000 C:\Windows\system32\USERENV.dll0x000007fefcfa0000 - 0x000007fefcfaf000 C:\Windows\system32\profapi.dll0x000007fefad70000 - 0x000007fefad85000 C:\Windows\system32\NLAapi.dll0x000007fefb220000 - 0x000007fefb235000 C:\Windows\system32\napinsp.dll0x000007fefb200000 - 0x000007fefb219000 C:\Windows\system32\pnrpnsp.dll0x000007fefc6f0000 - 0x000007fefc74b000 C:\Windows\system32\DNSAPI.dll0x000007fefbac0000 - 0x000007fefbacb000 C:\Windows\System32\winrnr.dll0x0000000074700000 - 0x000000007472e000 C:\Program Files\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL0x00000000772b0000 - 0x00000000772b7000 C:\Windows\system32\PSAPI.DLL0x00000000746d0000 - 0x00000000746f6000 C:\Program Files\Bonjour\mdnsNSP.dll0x000007fef9ec0000 - 0x000007fef9ee7000 C:\Windows\system32\Iphlpapi.DLL0x000007fef9eb0000 - 0x000007fef9ebb000 C:\Windows\system32\WINNSI.DLL0x000007fefc250000 - 0x000007fefc257000 C:\Windows\System32\wshtcpip.dll0x000007fefb7e0000 - 0x000007fefb7e8000 C:\Windows\system32\rasadhlp.dll0x000007fef9cf0000 - 0x000007fef9d43000 C:\Windows\System32\fwpuclnt.dll0x000007fefcf80000 - 0x000007fefcf94000 C:\Windows\system32\RpcRtRemote.dllVM Arguments:jvm_args: -Dfile.encoding=Cp1252 java_command: main.CryptLauncher Type: SUN_STANDARDEnvironment Variables:CLASSPATH=.;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zipPATH=C:/Program Files/Java/jre6/bin/server;C:/Program Files/Java/jre6/bin;C:/Program Files/Java/jre6/lib/amd64;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\SlikSvn\bin\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Autodesk\Backburner\;J:\Development\Eclipse;USERNAME=ChrisOS=Windows_NTPROCESSOR_IDENTIFIER=Intel64 Family 6 Model 15 Stepping 11, GenuineIntel--------------- S Y S T E M ---------------OS: Windows 7 , 64 bit Build 7601 Service Pack 1CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 15 stepping 11, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3Memory: 4k page, physical 4193464k(2246544k free), swap 8385080k(6086692k free)vm_info: Java HotSpot(TM) 64-Bit Server VM (20.2-b06) for windows-amd64 JRE (1.6.0_27-b07), built on Jul 19 2011 01:08:22 by "java_re" with MS VC++ 8.0 (VS2005)time: Mon Oct 03 09:29:15 2011elapsed time: 1 seconds
从 Stack Overflow 上环顾四周,这似乎偶尔与内存设置有关。这里是这样吗?我已经将 Eclipse 设置为使用大量内存运行;此外,我只创建了一个带有一些组件的小型 JFrame,并初始化了 LWJGL 库。这不会占用太多内存。
最佳答案
我经常在我的 Windows Vista 64 机器上遇到 java 6 和 Swing 问题(但仅当我从 eclipse 启动我的应用程序时)。
为我修复它的方法是禁用 Direct3D:
java -Dsun.java2d.d3d=false ...
另见 http://download.oracle.com/javase/6/docs/technotes/guides/2d/flags.html#d3d了解更多信息。
关于java - native 代码中的 JVM fatal error ,不知道该怎么办,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7636614/
是否可以复制一个完整的 JVM,并且在故障转移的情况下只需将负载转移到复制的 JVM 上? 如果是,那我们该怎么做呢? 最佳答案 如果您的应用程序是 Web 应用程序,请阅读“集群”和“负载平衡”。大
我读了下面的话,但我想知道它们之间的区别...... JVM 规范、JVM 实现、JVM 运行时 最佳答案 JVM 规范:描述 JVM 应如何运行的文档。 JVM 实现:基于 JVM 规范的 JVM
我目前有四个不同的 java 应用程序,它们由 .bat 文件启动的 jar 运行,这些文件位于 Windows XP Embedded 开始菜单的 starup 文件夹中。我还启动了 Firefox
有人能给我一些关于强制 64 位 jvm 作为 32 位 jvm 运行的想法吗? 我需要为蓝牙连接编写一个 jse 桌面应用程序。为此,我需要实现 Bluecove jar 。它只有 32 位文件。所
我看到过关于这个问题的多条评论——有人说是,有人说不是,许多答案模棱两可。任何人都可以用更简单的术语描述它所在的位置吗?在一篇文章中,我什至看到有人说它与类加载器加载类的类内存共享相同的内存位置 -
我正在寻找所有可能的 jvm 退出代码的完整列表(不是 java System.exit(x))。我使用搜索引擎唯一能找到的是 SIGTERM 退出代码列表:http://journal.thobe.
为了监视任何正常的 Java 进程 JVM,我们可以使用 Attach API。是否有可用于监控 WebSphere JVM 的 API? 最佳答案 您可以使用 PMI(性能监控基础设施)来监控 JV
这个问题在这里已经有了答案: 8年前关闭。 Possible Duplicate: Java - C-Like Fork? 我想知道如何从 JDK fork 子 JVM,甚至有可能这样做吗? 一些框架
JVM 上的哪些图灵完备语言实现不使用 JVM 堆栈作为调用堆栈? (我问是因为我想在同一个线程中实现 Scala 和另一种语言之间的协程。) 最佳答案 闪蝶 SISC(方案代码的第二解释者) 曾经不
我看到here除了 Java 之外,还有很多语言可以在 JVM 上运行。我对在 JVM 中运行的其他语言的整个概念有些困惑。所以: 为 JVM 使用其他语言有什么优势? 为 JVM 编写语言/编译器需
我已经运行了 straced JVM (OpendJDK 11): strace -e trace=mmap java -Xms8192m Main 输出是: mmap(NULL, 8192, PRO
我已经运行了 straced JVM (OpendJDK 11): strace -e trace=mmap java -Xms8192m Main 输出是: mmap(NULL, 8192, PRO
我编写了一个简单的数独求解器。为了粗略测试性能,我使用简单的 System.currentTimeMillis 调用。 我在文本文件中准备了一组初始数独配置。该程序读取该文件并解决每个数独配置。运行测
JVM 被广泛使用:Scala、Groovy、Jython 等。我听说它被描述为“卓越”、“出色”和“严重低估”。为什么? 更具体地说,是什么让 JVM 独一无二?随着所有资金投入 .NET,或者 C
这个问题在这里已经有了答案: 10年前关闭。 Possible Duplicate: Are there any Java VMs which can save their state to a fi
想象一下 6-7 台服务器的设置都完全相同Java 版本“1.6.0_18”OpenJDK 运行时环境 (IcedTea6 1.8) (fedora-36.b18.fc11-i386)OpenJDK
(如有错误请指正) 我了解到,当您通过发出 java 命令来运行 java 程序时, java MyProg 程序将在新的 JVM 上运行。 什么将程序加载到新的 JVM 中?是生成新线程的 JRE
我们有一个使用 JNI 的桌面应用程序偶尔会导致 JVM 崩溃。幸运的是,JVM 会生成一个 hs_err_pidXXXX.log 文件,这对于调试此类错误非常有用。然而,它似乎总是转到当前工作目录,
我在命令提示符下运行一个程序集 jar 文件并得到下面的异常。并导致终止。 Uncaught error from thread [ccp-akka.persistence.dispatchers.d
一、什么是Java虚拟机 虚拟机:指以软件的方式模拟具有完整硬件系统功能、运行在一个完全隔离环境中的完整计算机系统 ,是物理机的软件实现。常用的虚拟机有VMWare,Visual Box,Java
我是一名优秀的程序员,十分优秀!