JVM是用VC寫的呀
分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow
也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!
原來在javalobby上看到有人說,沒有怎麼當真,今天自己把JVM 5.0 crash掉了,給出了一個log檔案,一看,還真是那麼回事呀!!
現在附錄如下:
檔名:
hs_err_pid1240.log
content:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d646785, pid=1240, tid=1516
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-rc-b63 mixed mode, sharing)
# Problematic frame:
# V [jvm.dll+0x6785]
#
--------------- T H R E A D ---------------
Current thread (0x00a6cdb0): JavaThread "CompilerThread0" daemon [_thread_in_native, id=1516]
siginfo: ExceptionCode=0xc0000005, reading address 0x00bdaa6e
Registers:
EAX=0x00aee450, EBX=0x00000000, ECX=0x000ec61e, EDX=0x000000bb
ESP=0x02c0f980, EBP=0x02c0f990, ESI=0x02d37470, EDI=0x00a6cfd8
EIP=0x6d646785, EFLAGS=0x00010202
Top of Stack: (sp=0x02c0f980)
0x02c0f980: 000000bb 00a6cfd8 02c0f9f0 02c95458
0x02c0f990: 02c0f9a0 6d6467bd 3b18788d 000000bb
0x02c0f9a0: 02c0f9c8 6d66480a 02d37470 6d6629ee
0x02c0f9b0: 00a73300 6d6644f8 02c0fa10 02c94ed0
0x02c0f9c0: 00000006 00000007 02c0f9f0 6d661cc6
0x02c0f9d0: 0000001c 02c0fa00 6d79d668 02c0fa10
0x02c0f9e0: 00a682a8 6d66454b 02c0f9f0 02c0fbb8
0x02c0f9f0: 6d75f22c 02c0fa10 6d75f230 02c0fa38
Instructions: (pc=0x6d646785)
0x6d646775: 8b ce e8 a4 00 00 00 33 c9 8b 47 08 57 ff 75 0c
0x6d646785: 8b 0c 08 89 4d 08 56 8d 4d 08 e8 48 01 00 00 eb
Stack: [0x02bd0000,0x02c10000), sp=0x02c0f980, free space=254k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x6785]
V [jvm.dll+0x67bd]
V [jvm.dll+0x2480a]
V [jvm.dll+0x21cc6]
Current CompileTask:
HotSpot Client Compiler: 67 b sun.misc.URLClassPath$JarLoader.getResource(Ljava/lang/String;Z)Lsun/misc/Resource; (48 bytes)
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x02d2eba0 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3392]
0x02cc5c48 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=3896]
0x02cc0d18 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3592]
0x02cb4af0 JavaThread "AWT-Windows" daemon [_thread_in_native, id=1352]
0x02cb4700 JavaThread "AWT-Shutdown" [_thread_blocked, id=420]
0x00a6e1e8 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1520]
=>0x00a6cdb0 JavaThread "CompilerThread0" daemon [_thread_in_native, id=1516]
0x00a6c0f8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2940]
0x00a67468 JavaThread "Finalizer" daemon [_thread_blocked, id=1696]
0x00a66aa0 JavaThread "Reference Handler" daemon [_thread_blocked, id=3752]
0x003b5db8 JavaThread "main" [_thread_in_vm, id=1460]
Other Threads:
0x00a64e70 VMThread [id=3020]
0x00a88c90 WatcherThread [id=3168]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 576K, used 301K [0x22ad0000, 0x22b70000, 0x22fb0000)
eden space 512K, 55% used [0x22ad0000, 0x22b17378, 0x22b50000)
from space 64K, 25% used [0x22b50000, 0x22b541f8, 0x22b60000)
to space 64K, 0% used [0x22b60000, 0x22b60000, 0x22b70000)
tenured generation total 3988K, used 2391K [0x22fb0000, 0x23395000, 0x26ad0000)
the space 3988K, 59% used [0x22fb0000, 0x23205e90, 0x23206000, 0x23395000)
compacting perm gen total 8192K, used 1757K [0x26ad0000, 0x272d0000, 0x2aad0000)
the space 8192K, 21% used [0x26ad0000, 0x26c87430, 0x26c87600, 0x272d0000)
ro space 8192K, 66% used [0x2aad0000, 0x2b027990, 0x2b027a00, 0x2b2d0000)
rw space 12288K, 46% used [0x2b2d0000, 0x2b8643a8, 0x2b864400, 0x2bed0000)
Dynamic libraries:
0x00400000 - 0x0040c000 C:/Program Files/Java/jdk1.5.0/bin/javaw.exe
0x77f30000 - 0x77ffa000 C:/WINDOWS/system32/ntdll.dll
0x77e10000 - 0x77f2d000 C:/WINDOWS/system32/kernel32.dll
0x77d60000 - 0x77e00000 C:/WINDOWS/system32/ADVAPI32.dll
0x77c20000 - 0x77cc4000 C:/WINDOWS/system32/RPCRT4.dll
0x77cd0000 - 0x77d5e000 C:/WINDOWS/system32/USER32.dll
0x77bd0000 - 0x77c14000 C:/WINDOWS/system32/GDI32.dll
0x77b70000 - 0x77bc4000 C:/WINDOWS/system32/MSVCRT.dll
0x76180000 - 0x7619d000 C:/WINDOWS/system32/IMM32.DLL
0x63090000 - 0x63099000 C:/WINDOWS/system32/LPK.DLL
0x72ee0000 - 0x72f3e000 C:/WINDOWS/system32/USP10.dll
0x6d640000 - 0x6d7c5000 C:/Program Files/Java/jdk1.5.0/jre/bin/client/jvm.dll
0x769e0000 - 0x76a09000 C:/WINDOWS/system32/WINMM.dll
0x6d280000 - 0x6d288000 C:/Program Files/Java/jdk1.5.0/jre/bin/hpi.dll
0x76ab0000 - 0x76abb000 C:/WINDOWS/system32/PSAPI.DLL
0x6d610000 - 0x6d61c000 C:/Program Files/Java/jdk1.5.0/jre/bin/verify.dll
0x6d300000 - 0x6d31d000 C:/Program Files/Java/jdk1.5.0/jre/bin/java.dll
0x6d630000 - 0x6d63f000 C:/Program Files/Java/jdk1.5.0/jre/bin/zip.dll
0x6d000000 - 0x6d166000 C:/Program Files/Java/jdk1.5.0/jre/bin/awt.dll
0x72f40000 - 0x72f66000 C:/WINDOWS/system32/WINSPOOL.DRV
0x77150000 - 0x77273000 C:/WINDOWS/system32/ole32.dll
0x51000000 - 0x5104d000 C:/WINDOWS/system32/ddraw.dll
0x73a60000 - 0x73a66000 C:/WINDOWS/system32/DCIMAN32.dll
0x74430000 - 0x7447b000 C:/WINDOWS/system32/MSCTF.dll
0x10000000 - 0x10013000 C:/WINDOWS/system32/hookdll.dll
0x75d60000 - 0x75d82000 C:/WINDOWS/system32/apphelp.dll
0x03080000 - 0x030ab000 C:/WINDOWS/system32/msctfime.ime
0x77370000 - 0x77b2b000 C:/WINDOWS/system32/shell32.dll
0x77280000 - 0x772c9000 C:/WINDOWS/system32/SHLWAPI.dll
0x70ad0000 - 0x70bb6000 C:/WINDOWS/WinSxS/x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.100.0_x-ww_8417450B/comctl32.dll
0x6d240000 - 0x6d27d000 C:/Program Files/Java/jdk1.5.0/jre/bin/fontmanager.dll
0x6d3c0000 - 0x6d3df000 C:/Program Files/Java/jdk1.5.0/jre/bin/jpeg.dll
0x6d4c0000 - 0x6d4d3000 C:/Program Files/Java/jdk1.5.0/jre/bin/net.dll
0x71b60000 - 0x71b78000 C:/WINDOWS/system32/WS2_32.dll
0x71b50000 - 0x71b58000 C:/WINDOWS/system32/WS2HELP.dll
0x71a80000 - 0x71ac2000 C:/WINDOWS/system32/mswsock.dll
0x57780000 - 0x57787000 C:/WINDOWS/System32/wship6.dll
0x6d4e0000 - 0x6d4e9000 C:/Program Files/Java/jdk1.5.0/jre/bin/nio.dll
0x60080000 - 0x6008d000 C:/Program Files/Tencent/QQ/QQHook.dll
0x031b0000 - 0x031d2000 C:/Program Files/Java/jdk1.5.0/jre/bin/J3D.dll
0x5eca0000 - 0x5ed66000 C:/WINDOWS/system32/OPENGL32.dll
0x689d0000 - 0x689ef000 C:/WINDOWS/system32/GLU32.dll
0x6d360000 - 0x6d366000 C:/Program Files/Java/jdk1.5.0/jre/bin/jawt.dll
VM Arguments:
java_command: com.sun.j3d.demos.j3dfly.J3dFly
Environment Variables:
JAVA_HOME=C:/Program Files/Java/jdk1.5.0
PATH=d:/oracle/ora90/bin;d:/oracle/ora90/Apache/Perl/5.00503/bin/mswin32-x86;C:/Program Files/Oracle/jre/1.1.8/bin;c:/oracle/ora90/bin;c:/oracle/ora90/Apache/Perl/5.00503/bin/mswin32-x86;D:/Delphi7/Bin;D:/Delphi7/Projects/Bpl/;C:/WINDOWS/system32;C:/WINDOWS;C:/WINDOWS/System32/Wbem;C:/Program Files/Microsoft SQL Server/80/Tools/BINN;C:/Program Files/UltraEdit;C:/Program Files/cvsnt;C:/MATLABR11/bin;
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 11 Stepping 1, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows Server 2003 family Build 3790
CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse
Memory: 4k page, physical 522740k(134696k free), swap 886492k(480720k free)
vm_info: Java HotSpot(TM) Client VM (1.5.0-rc-b63) for windows-x86, built on Aug 11 2004 03:18:38 by "java_re" with MS VC++ 6.0 微軟! 你強的!