jvm偶尔崩溃,求大神帮忙分析jvm日志和解决方案 [问题点数:100分,结帖人LoneRider]

Bbs1
本版专家分:0
结帖率 100%
分析JVM gc日志
GC<em>日志</em>是一种很重要的<em>日志</em>,它虽然无法定位出很详细的内容,但反映出JVM整体的运行状况。以生产环境为例:在出现严重性能问题时,整个系统卡住了,我发现1分钟之内full gc是25次,当把问题解决之后,1分钟的full gc只有4次。     如果在系统使用高峰期的时候,出现full gc的非常多,如果系统内存溢出,那<em>分析</em>DUMP文件就可以了。如果没有内存溢出的<em>日志</em>,就需要dump JVM。gc
JVM崩溃
#rn# An unexpected error has been detected by Java Runtime Environment:rn#rn# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d84c353, pid=208, tid=936rn#rn# Java VM: Java HotSpot(TM) Client VM (1.6.0_02-b06 mixed mode, sharing)rn# Problematic frame:rn# V [<em>jvm</em>.dll+0x8c353]rn#rn# If you would like to submit a bug report, please visit:rn# http://java.sun.com/webapps/bugreport/crash.jsprn#rnrn--------------- T H R E A D ---------------rnrnCurrent thread (0x02bc4400): VMThread [id=936]rnrnsiginfo: ExceptionCode=0xc0000005, reading address 0x08b80230rnrnRegisters:rnEAX=0x08b80230, EBX=0x0ab8024c, ECX=0x02cffc68, EDX=0x6d99b744rnESP=0x02cffa8c, EBP=0x02cffaec, ESI=0x0ab80240, EDI=0x02cffc68rnEIP=0x6d84c353, EFLAGS=0x00010287rnrnTop of Stack: (sp=0x02cffa8c)rn0x02cffa8c: 26bbe41c 0ab80240 6d869449 0ab80240rn0x02cffa9c: 0ab80250 0ab80230 02cffaec 0ab80400rn0x02cffaac: 26bbe080 26bbe420 6d93a035 0ab80230rn0x02cffabc: 02cffaec 0ab80200 02bc2e38 02960e00rn0x02cffacc: 0ab80400 6d939e8b 0ab80200 00000080rn0x02cffadc: 0ab801f8 0ab80400 02cffaec 035c19e0rn0x02cffaec: 6d9af9f4 02bc2e38 09120000 02cffc68rn0x02cffafc: 6d939da5 0ab80200 00000080 0ab801f8 rnrnInstructions: (pc=0x6d84c353)rn0x6d84c343: 24 08 8b 06 85 c0 57 8b f9 74 55 3b 47 1c 73 50rn0x6d84c353: 8b 08 83 e1 03 80 f9 03 75 1f 8a 0d a7 55 9c 6d rnrnrnStack: [0x02cb0000,0x02d00000), sp=0x02cffa8c, free space=318krnNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)rnV [<em>jvm</em>.dll+0x8c353]rnrnVM_Operation (0x0329f02c): generation collection for allocation, mode: safepoint, requested by thread 0x02c69400rnrnrn--------------- P R O C E S S ---------------rnrnJava Threads: ( => current thread )rn 0x030ccc00 JavaThread "Timeout guard" daemon [_thread_blocked, id=1140]rn 0x002e6800 JavaThread "DestroyJavaVM" [_thread_blocked, id=952]rn 0x02fe7000 JavaThread "Thread-11" [_thread_blocked, id=3316]rn 0x02fe3800 JavaThread "Thread-10" [_thread_blocked, id=2740]rn 0x02caf800 JavaThread "Thread-9" [_thread_in_native, id=772]rn 0x02cae800 JavaThread "Thread-8" [_thread_blocked, id=3916]rn 0x02fdc000 JavaThread "Thread-7" [_thread_in_native, id=3444]rn 0x02fca000 JavaThread "Thread-6" [_thread_blocked, id=2812]rn 0x02fc9400 JavaThread "Thread-5" [_thread_in_native, id=2792]rn 0x02c69400 JavaThread "Thread-4" [_thread_blocked, id=2800]rn 0x02c4b400 JavaThread "Thread-3" [_thread_blocked, id=2804]rn 0x02c28000 JavaThread "Thread-2" [_thread_blocked, id=564]rn 0x02c17000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=948]rn 0x02c15c00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1812]rn 0x02c11400 JavaThread "Attach Listener" daemon [_thread_blocked, id=3364]rn 0x02c2d400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3772]rn 0x02bce800 JavaThread "Finalizer" daemon [_thread_blocked, id=2808]rn 0x02bcd800 JavaThread "Reference Handler" daemon [_thread_blocked, id=852]rnrnOther Threads:rn=>0x02bc4400 VMThread [id=936]rn 0x02c24800 WatcherThread [id=908]rnrnVM state:at safepoint (normal execution)rnrnVM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])rn[0x002e53a8/0x00000710] Threads_lock - owner thread: 0x02bc4400rn[0x002e5548/0x000006d0] Heap_lock - owner thread: 0x02c69400rnrnHeaprn def new generation total 17856K, used 16572K [0x069c0000, 0x07d20000, 0x09120000)rn eden space 15872K, 100% used [0x069c0000, 0x07940000, 0x07940000)rn from space 1984K, 35% used [0x07940000, 0x079ef1f0, 0x07b30000)rn to space 1984K, 5% used [0x07b30000, 0x07b4b7e0, 0x07d20000)rn tenured generation total 237312K, used 31010K [0x09120000, 0x178e0000, 0x269c0000)rn the space 237312K, 13% used [0x09120000, 0x0af68b90, 0x0af68c00, 0x178e0000)rn compacting perm gen total 12288K, used 4098K [0x269c0000, 0x275c0000, 0x2a9c0000)rn the space 12288K, 33% used [0x269c0000, 0x26dc0ba0, 0x26dc0c00, 0x275c0000)rn ro space 8192K, 62% used [0x2a9c0000, 0x2aebf728, 0x2aebf800, 0x2b1c0000)rn rw space 12288K, 52% used [0x2b1c0000, 0x2b801eb8, 0x2b802000, 0x2bdc0000)rnrnDynamic libraries:rn0x00400000 - 0x00423000 C:\WINDOWS\system32\java.exern0x7c930000 - 0x7ca00000 C:\WINDOWS\system32\ntdll.dllrn0x7c800000 - 0x7c92b000 C:\WINDOWS\system32\kernel32.dllrn0x77f30000 - 0x77fdc000 C:\WINDOWS\system32\ADVAPI32.dllrn0x77c20000 - 0x77cbf000 C:\WINDOWS\system32\RPCRT4.dllrn0x7c340000 - 0x7c396000 C:\Program Files\Java\jre1.6.0_02\bin\msvcr71.dllrn0x6d7c0000 - 0x6da09000 C:\Program Files\Java\jre1.6.0_02\bin\client\<em>jvm</em>.dllrn0x77e10000 - 0x77ea1000 C:\WINDOWS\system32\USER32.dllrn0x77bd0000 - 0x77c18000 C:\WINDOWS\system32\GDI32.dllrn0x769e0000 - 0x76a0a000 C:\WINDOWS\system32\WINMM.dllrn0x76180000 - 0x7619d000 C:\WINDOWS\system32\IMM32.DLLrn0x63090000 - 0x63099000 C:\WINDOWS\system32\LPK.DLLrn0x74ae0000 - 0x74b41000 C:\WINDOWS\system32\USP10.dllrn0x77b70000 - 0x77bca000 C:\WINDOWS\system32\msvcrt.dllrn0x6d310000 - 0x6d318000 C:\Program Files\Java\jre1.6.0_02\bin\hpi.dllrn0x76ab0000 - 0x76abb000 C:\WINDOWS\system32\PSAPI.DLLrn0x6d770000 - 0x6d77c000 C:\Program Files\Java\jre1.6.0_02\bin\verify.dllrn0x6d3b0000 - 0x6d3cf000 C:\Program Files\Java\jre1.6.0_02\bin\java.dllrn0x6d7b0000 - 0x6d7bf000 C:\Program Files\Java\jre1.6.0_02\bin\zip.dllrn0x6d570000 - 0x6d583000 C:\Program Files\Java\jre1.6.0_02\bin\net.dllrn0x71b60000 - 0x71b77000 C:\WINDOWS\system32\WS2_32.dllrn0x71b50000 - 0x71b58000 C:\WINDOWS\system32\WS2HELP.dllrn0x71a80000 - 0x71ac0000 C:\WINDOWS\system32\mswsock.dllrn0x69660000 - 0x696b6000 C:\WINDOWS\system32\hnetcfg.dllrn0x71a40000 - 0x71a48000 C:\WINDOWS\System32\wshtcpip.dllrn0x6d590000 - 0x6d599000 C:\Program Files\Java\jre1.6.0_02\bin\nio.dllrn0x76e30000 - 0x76e5a000 C:\WINDOWS\system32\DNSAPI.dllrn0x76ed0000 - 0x76ed7000 C:\WINDOWS\System32\winrnr.dllrn0x76e70000 - 0x76e9e000 C:\WINDOWS\system32\WLDAP32.dllrn0x76ee0000 - 0x76ee5000 C:\WINDOWS\system32\rasadhlp.dllrnrnVM Arguments:rn<em>jvm</em>_args: -Xms251M -Xmx512Mrnjava_command: org.loiyspider.collect.client.collectMainrnLauncher Type: SUN_STANDARDrnrnEnvironment Variables:rnJAVA_HOME=C:\Program Files\Java\jdk1.6.0_02rnCLASSPATH=.;C:\Program Files\Java\jdk1.6.0_02\jre\lib\rt.jar;D:\workspace\spiderjob0.2\jar\ant.jar;D:\workspace\spiderjob0.2\jar\commons-codec-1.3.jar;D:\workspace\spiderjob0.2\jar\commons-collections.jar;D:\workspace\spiderjob0.2\jar\commons-httpclient-3.1.jar;D:\workspace\spiderjob0.2\jar\commons-logging.jar;D:\workspace\spiderjob0.2\jar\google-collect-1.0.jar;D:\workspace\spiderjob0.2\jar\hsqldb.jar;D:\workspace\spiderjob0.2\jar\je-4.0.92.jar;D:\workspace\spiderjob0.2\jar\mysql-connector-java-5.0.8-bin.jar;D:\workspace\spiderjob0.2\jar\nekohtml.jar;D:\workspace\spiderjob0.2\jar\slf4j-api-1.5.8.jar;D:\workspace\spiderjob0.2\jar\slf4j-simple-1.5.8.jar;D:\workspace\spiderjob0.2\jar\xalan.jar;D:\workspace\spiderjob0.2\jar\xercesImpl.jar;D:\workspace\spiderjob0.2\jar\xercesMinimal.jar;D:\workspace\spiderjob0.2\jar\xml-apis.jar;rnPATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jdk1.6.0_02\binrnUSERNAME=AdministratorrnOS=Windows_NTrnPROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntelrnrnrnrn--------------- S Y S T E M ---------------rnrnOS: Windows Server 2003 family Build 3790 Service Pack 1rnrnCPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 7 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3rnrnMemory: 4k page, physical 2086976k(709244k free), swap 4031248k(2853668k free)rnrnvm_info: Java HotSpot(TM) Client VM (1.6.0_02-b06) for windows-x86, built on Jul 12 2007 01:16:14 by "java_re" with unknown MS VC++:1310rnrn
JVM 崩溃
#rn# An unexpected error has been detected by Java Runtime Environment:rn#rn# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6952f135, pid=3272, tid=1376rn#rn# Java VM: Java HotSpot(TM) Client VM (1.6.0_02-b06 mixed mode)rn# Problematic frame:rn# C [atioglxx.dll+0x4ff135]rn#rn# If you would like to submit a bug report, please visit:rn# http://java.sun.com/webapps/bugreport/crash.jsprn#rnrn--------------- T H R E A D ---------------rnrnCurrent thread (0x48ea1c00): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=1376]rnrnsiginfo: ExceptionCode=0xc0000005, reading address 0x00000000rnrnRegisters:rnEAX=0x00000002, EBX=0x00000001, ECX=0x4a262002, EDX=0x00000001rnESP=0x4939f0ec, EBP=0x00000001, ESI=0x00000000, EDI=0x4a262000rnEIP=0x6952f135, EFLAGS=0x00010202rnrnTop of Stack: (sp=0x4939f0ec)rn0x4939f0ec: 00000020 4b43fb1c 4b43fae0 00000009rn0x4939f0fc: 69531a64 00000000 00000020 00000001rn0x4939f10c: 00000004 00000001 00000001 00000000rn0x4939f11c: 4b43f080 00000000 00000000 00000009rn0x4939f12c: 00000000 4a262000 69545656 00000000rn0x4939f13c: 00000001 00000001 00000029 00000020rn0x4939f14c: 00000000 00000000 00000000 00000000rn0x4939f15c: 00000004 00000001 00000000 4a262000 rnrnInstructions: (pc=0x6952f135)rn0x6952f125: 8b 5c 24 24 85 d2 76 26 83 c1 02 83 c0 02 8b earn0x6952f135: 0f b6 50 fe 88 51 fe 0f b6 50 ff 88 51 ff 0f b6 rnrnrnStack: [0x49350000,0x493a0000), sp=0x4939f0ec, free space=316krnNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)rnC [atioglxx.dll+0x4ff135]rnrnJava frames: (J=compiled Java code, j=interpreted, Vv=VM code)rnJ com.sun.opengl.impl.GLImpl.glReadPixels0(IIIIIILjava/lang/Object;I)VrnJ com.sun.opengl.impl.GLImpl.glReadPixels(IIIIIILjava/nio/Buffer;)VrnJ gov.nasa.worldwind.pick.PickSupport.getTopColor(Lgov/nasa/worldwind/render/DrawContext;Ljava/awt/Point;)IrnJ gov.nasa.worldwind.pick.PickSupport.getTopObject(Lgov/nasa/worldwind/render/DrawContext;Ljava/awt/Point;)Lgov/nasa/worldwind/pick/PickedObject;rnJ gov.nasa.worldwind.pick.PickSupport.resolvePick(Lgov/nasa/worldwind/render/DrawContext;Ljava/awt/Point;Lgov/nasa/worldwind/layers/Layer;)Lgov/nasa/worldwind/pick/PickedObject;rnJ gov.nasa.worldwind.layers.RenderableLayer.doPick(Lgov/nasa/worldwind/render/DrawContext;Ljava/lang/Iterable;Ljava/awt/Point;)VrnJ gov.nasa.worldwind.layers.RenderableLayer.doPick(Lgov/nasa/worldwind/render/DrawContext;Ljava/awt/Point;)VrnJ gov.nasa.worldwind.layers.AbstractLayer.pick(Lgov/nasa/worldwind/render/DrawContext;Ljava/awt/Point;)VrnJ gov.nasa.worldwind.AbstractSceneController.pickLayers(Lgov/nasa/worldwind/render/DrawContext;)Vrnj gov.nasa.worldwind.AbstractSceneController.pick(Lgov/nasa/worldwind/render/DrawContext;)V+55rnj gov.nasa.worldwind.BasicSceneController.doRepaint(Lgov/nasa/worldwind/render/DrawContext;)V+33rnj gov.nasa.worldwind.AbstractSceneController.repaint()I+49rnj gov.nasa.worldwind.WorldWindowGLAutoDrawable.doDisplay()I+4rnj gov.nasa.worldwind.WorldWindowGLAutoDrawable.display(Ljavax/media/opengl/GLAutoDrawable;)V+113rnj com.sun.opengl.impl.GLDrawableHelper.display(Ljavax/media/opengl/GLAutoDrawable;)V+29rnj javax.media.opengl.GLCanvas$DisplayAction.run()V+80rnj com.sun.opengl.impl.GLDrawableHelper.invokeGL(Ljavax/media/opengl/GLDrawable;Ljavax/media/opengl/GLContext;Ljava/lang/Runnable;Ljava/lang/Runnable;)V+418rnj javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(Ljava/lang/Runnable;Ljava/lang/Runnable;)V+36rnj javax.media.opengl.GLCanvas.display()V+9rnj javax.media.opengl.GLCanvas.paint(Ljava/awt/Graphics;)V+125rnj javax.media.opengl.GLCanvas.update(Ljava/awt/Graphics;)V+2rnj sun.awt.RepaintArea.updateComponent(Ljava/awt/Component;Ljava/awt/Graphics;)V+6rnj sun.awt.RepaintArea.paint(Ljava/lang/Object;Z)V+263rnj sun.awt.windows.WComponentPeer.handleEvent(Ljava/awt/AWTEvent;)V+107rnj java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+849rnJ java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)VrnJ java.awt.EventDispatchThread.pumpOneEventForFilters(I)Zrnj java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+30rnj java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11rnj java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4rnj java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3rnj java.awt.EventDispatchThread.run()V+9rnv ~StubRoutines::call_stubrnrn--------------- P R O C E S S ---------------rnrnJava Threads: ( => current thread )rn 0x496b1400 JavaThread "Image Fetcher 3" daemon [_thread_blocked, id=3476]rn 0x48f34400 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=3812]rn 0x49656c00 JavaThread "Idle World Wind Retriever" daemon [_thread_blocked, id=1884]rn 0x4966c400 JavaThread "Idle World Wind Retriever" daemon [_thread_blocked, id=2216]rn 0x4966b800 JavaThread "Idle World Wind Retriever" daemon [_thread_blocked, id=3268]rn 0x4966ac00 JavaThread "Idle World Wind Retriever" daemon [_thread_blocked, id=1744]rn 0x4955b800 JavaThread "Idle World Wind Task " daemon [_thread_blocked, id=2992]rn 0x4955c400 JavaThread "Idle World Wind Task " daemon [_thread_blocked, id=2968]rn 0x496df400 JavaThread "Idle World Wind Task " daemon [_thread_blocked, id=1292]rn 0x4961ec00 JavaThread "Idle World Wind Task " daemon [_thread_blocked, id=3900]rn 0x4a0c2400 JavaThread "com.easymap.ezglobe.worldwindow.ModelBufferedImageCache.data" daemon [_thread_blocked, id=3928]rn 0x49422800 JavaThread "Idle World Wind Retriever" daemon [_thread_blocked, id=3128]rn 0x49686800 JavaThread "Idle World Wind Task " daemon [_thread_blocked, id=2928]rn 0x496bfc00 JavaThread "Idle World Wind Task " daemon [_thread_blocked, id=1312]rn 0x4966d800 JavaThread "Idle World Wind Task " daemon [_thread_blocked, id=528]rn 0x48a26800 JavaThread "Idle World Wind Task " daemon [_thread_blocked, id=2476]rn 0x4a0d2400 JavaThread "Idle World Wind Retriever" daemon [_thread_blocked, id=4004]rn 0x4949c800 JavaThread "ElevationModel Resource Retriever Earth Elevation Model (USA 10m, WordWide 30m, Ocean 900m)" daemon [_thread_blocked, id=3508]rn 0x49650800 JavaThread "Thread-9" [_thread_blocked, id=1320]rn 0x4951a400 JavaThread "TimerQueue" daemon [_thread_blocked, id=3932]rn 0x4a070400 JavaThread "Layer Resource Retriever Landsat图层(WMS)" daemon [_thread_blocked, id=4012]rn 0x496a5400 JavaThread "Idle World Wind Retriever" daemon [_thread_blocked, id=3880]rn 0x48e57400 JavaThread "Layer Resource Retriever 基础图层(WMS)" daemon [_thread_blocked, id=184]rn 0x49446000 JavaThread "Idle World Wind Retriever" daemon [_thread_blocked, id=520]rn 0x4a0e2800 JavaThread "ElevationModel Resource Retriever Earth Elevation Model (USA 10m, WordWide 30m, Ocean 900m)" daemon [_thread_blocked, id=2520]rn 0x496cb800 JavaThread "net.sf.ehcache.CacheManager@2d95b3" daemon [_thread_blocked, id=1700]rn 0x49462800 JavaThread "RMI TCP Accept-1264" daemon [_thread_in_native, id=1944]rn 0x4945d400 JavaThread "Multicast Heartbeat Sender Thread" daemon [_thread_blocked, id=3536]rn 0x4959d000 JavaThread "Multicast Heartbeat Receiver Thread" daemon [_thread_in_native, id=944]rn 0x003f6800 JavaThread "DestroyJavaVM" [_thread_blocked, id=3692]rn=>0x48ea1c00 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=1376]rn 0x48ea0c00 JavaThread "AWT-Windows" daemon [_thread_in_native, id=4072]rn 0x48ea0400 JavaThread "AWT-Shutdown" [_thread_blocked, id=3744]rn 0x48e50000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3384]rn 0x48aa3400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4060]rn 0x48a9e800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3040]rn 0x48a99000 JavaThread "Attach Listener" daemon [_thread_blocked, id=3540]rn 0x48a98400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3688]rn 0x48a83c00 JavaThread "Finalizer" daemon [_thread_blocked, id=1520]rn 0x48a83000 JavaThread "Reference Handler" daemon [_thread_blocked, id=2964]rnrnOther Threads:rn 0x48a7fc00 VMThread [id=320]rn 0x48abf400 WatcherThread [id=3584]rnrnVM state:not at safepoint (normal execution)rnrnVM Mutex/Monitor currently owned by a thread: NonernrnHeaprn def new generation total 42048K, used 27442K [0x029d0000, 0x05770000, 0x07890000)rn eden space 37376K, 72% used [0x029d0000, 0x04440d50, 0x04e50000)rn from space 4672K, 7% used [0x04e50000, 0x04eabc58, 0x052e0000)rn to space 4672K, 0% used [0x052e0000, 0x052e0000, 0x05770000)rn tenured generation total 560060K, used 459351K [0x07890000, 0x29b7f000, 0x429d0000)rn the space 560060K, 82% used [0x07890000, 0x23925cf0, 0x23925e00, 0x29b7f000)rn compacting perm gen total 23296K, used 23046K [0x429d0000, 0x44090000, 0x469d0000)rn the space 23296K, 98% used [0x429d0000, 0x44051b10, 0x44051c00, 0x44090000)rnNo shared spaces configured.rnrnrnVM Arguments:rn<em>jvm</em>_args: -Xms256m -Xmx1024m -Djava.library.path=D:\workspace\worldwind-0.6.551.13593\JSource\WW;D:\workspace\worldwind-0.6.551.13593\JSource\WW -Dfile.encoding=GBKrnjava_command: gov.nasa.worldwindow.WorldWindow -vmargsrnLauncher Type: SUN_STANDARDrnrnrnrnrnrn--------------- S Y S T E M ---------------rnrnOS: Windows XP Build 2600 Service Pack 2rnrnCPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3rnrnMemory: 4k page, physical 2095532k(76668k free), swap 4033832k(1732832k free)rnrnvm_info: Java HotSpot(TM) Client VM (1.6.0_02-b06) for windows-x86, built on Jul 12 2007 01:16:14 by "java_re" with unknown MS VC++:1310rnrn
jvm崩溃
我们公司开发的CS架构的swing程序,操作是windowsXP,运行环境是JRE8,目前有大概两千个左右的客户端能够正常运行,只有下面的这个运行一段时间后就会出现JVM<em>崩溃</em>的问题,这个“一段时间”的具体时间不定,有时是24小时,有时是10小时,有时是几分钟。rn下面是JVM<em>崩溃</em>的<em>日志</em>,完全看不出任何头绪。rn试过杀毒,试过重装系统,试过换电脑,问题依然出现,求<em>大神</em><em>帮忙</em>rnrnrn#rn# A fatal error has been detected by the Java Runtime Environment:rn#rn# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c911e58, pid=3432, tid=3948rn#rn# JRE version: Java(TM) SE Runtime Environment (8.0_20-b26) (build 1.8.0_20-b26)rn# Java VM: Java HotSpot(TM) Client VM (25.20-b23 mixed mode windows-x86 )rn# Problematic frame:rn# C [ntdll.dll+0x11e58]rn#rn# Failed to write core dump. Minidumps are not enabled by default on client versions of Windowsrn#rn# If you would like to submit a bug report, please visit:rn# http://bugreport.sun.com/bugreport/crash.jsprn#rnrn--------------- T H R E A D ---------------rnrnCurrent thread (0x2349f000): JavaThread "C1 CompilerThread0" daemon [_thread_in_vm, id=3948, stack(0x237a0000,0x237f0000)]rnrnsiginfo: ExceptionCode=0xc0000005, reading address 0x00000000rnrnRegisters:rnEAX=0x252e6dd0, EBX=0x00a60000, ECX=0x00000000, EDX=0x00000000rnESP=0x237ef90c, EBP=0x237ef918, ESI=0x252e6dc8, EDI=0x252e6f98rnEIP=0x7c911e58, EFLAGS=0x00010246rnrnTop of Stack: (sp=0x237ef90c)rn0x237ef90c: 00a60000 252e6f98 00000000 237ef9ecrn0x237ef91c: 7c910d5c 00000000 252e6f98 237ef9d0rn0x237ef92c: 00000000 00e0ff08 252e6fa0 00a68748rn0x237ef93c: 31b80000 2349f598 24c1ffa8 2352bcc8rn0x237ef94c: 00000028 00000008 00000001 24c1ffb0rn0x237ef95c: 237ef970 3065bd18 38306666 00000010rn0x237ef96c: 3864001b 62f5269e 237ef9b4 78b07462rn0x237ef97c: 237ef994 6d407b64 00000000 237efa34 rnrnInstructions: (pc=0x7c911e58)rn0x7c911e38: 3d 00 fe 00 00 0f 87 ee ed ff ff 80 7d 14 00 0frn0x7c911e48: 85 97 7a 03 00 8b 4e 0c 8d 46 08 8b 10 89 4d 08rn0x7c911e58: 8b 09 3b 4a 04 89 55 0c 0f 85 9d 00 00 00 3b c8rn0x7c911e68: 0f 85 95 00 00 00 56 53 e8 1f ed ff ff 8b 45 0c rnrnrnRegister to memory mapping:rnrnEAX=0x252e6dd0 is an unknown valuernEBX=0x00a60000 is an unknown valuernECX=0x00000000 is an unknown valuernEDX=0x00000000 is an unknown valuernESP=0x237ef90c is pointing into the stack for thread: 0x2349f000rnEBP=0x237ef918 is pointing into the stack for thread: 0x2349f000rnESI=0x252e6dc8 is an unknown valuernEDI=0x252e6f98 is an unknown valuernrnrnStack: [0x237a0000,0x237f0000], sp=0x237ef90c, free space=318krnNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)rnC [ntdll.dll+0x11e58]rnC [ntdll.dll+0x10d5c]rnC [msvcr100.dll+0x1016a]rnV [<em>jvm</em>.dll+0x14da0e]rnV [<em>jvm</em>.dll+0x54f85]rnV [<em>jvm</em>.dll+0x160a2d]rnV [<em>jvm</em>.dll+0x160f3e]rnV [<em>jvm</em>.dll+0x1612f0]rnV [<em>jvm</em>.dll+0x62e1a]rnV [<em>jvm</em>.dll+0x168c5c]rnV [<em>jvm</em>.dll+0x1694ea]rnV [<em>jvm</em>.dll+0x1ae146]rnC [msvcr100.dll+0x5c556]rnC [msvcr100.dll+0x5c600]rnC [kernel32.dll+0xb699]rnC 0x00000000rnrnrn--------------- P R O C E S S ---------------rnrnJava Threads: ( => current thread )rn 0x252e5c00 JavaThread "pool-1-thread-52" [_thread_blocked, id=1504, stack(0x31a80000,0x31b00000)]rn 0x23bc1400 JavaThread "pool-1-thread-51" [_thread_blocked, id=3812, stack(0x31a00000,0x31a80000)]rn 0x252ca400 JavaThread "pool-1-thread-50" [_thread_blocked, id=2236, stack(0x25740000,0x257c0000)]rn 0x24bcf800 JavaThread "pool-1-thread-49" [_thread_blocked, id=3468, stack(0x24230000,0x242b0000)]rn 0x252e2c00 JavaThread "AcmVerifyThread" [_thread_blocked, id=3128, stack(0x31880000,0x31900000)]rn 0x252e1400 JavaThread "AcmParseThread" [_thread_blocked, id=2764, stack(0x31800000,0x31880000)]rn 0x252df000 JavaThread "AcmSendThread" [_thread_blocked, id=2608, stack(0x31780000,0x31800000)]rn 0x252dd800 JavaThread "AvcParseThread" [_thread_blocked, id=1084, stack(0x31700000,0x31780000)]rn 0x252dc000 JavaThread "AvcSendThread" [_thread_blocked, id=2992, stack(0x31680000,0x31700000)]rn 0x252cf800 JavaThread "pool-1-thread-47" [_thread_blocked, id=2600, stack(0x31580000,0x31600000)]rn 0x252cdc00 JavaThread "pool-1-thread-46" [_thread_blocked, id=280, stack(0x31500000,0x31580000)]rn 0x252cc800 JavaThread "pool-1-thread-45" [_thread_blocked, id=3352, stack(0x31480000,0x31500000)]rn 0x252cb800 JavaThread "pool-1-thread-44" [_thread_blocked, id=1928, stack(0x31400000,0x31480000)]rn 0x2528e400 JavaThread "pool-1-thread-43" [_thread_blocked, id=1740, stack(0x31380000,0x31400000)]rn 0x252a9400 JavaThread "pool-1-thread-42" [_thread_blocked, id=1624, stack(0x31300000,0x31380000)]rn 0x25292800 JavaThread "DefaultQuartzScheduler_QuartzSchedulerThread" [_thread_blocked, id=3324, stack(0x31280000,0x31300000)]rn 0x25281c00 JavaThread "DefaultQuartzScheduler_Worker-10" [_thread_blocked, id=2776, stack(0x31200000,0x31280000)]rn 0x25280400 JavaThread "DefaultQuartzScheduler_Worker-9" [_thread_blocked, id=4092, stack(0x31180000,0x31200000)]rn 0x2527b400 JavaThread "DefaultQuartzScheduler_Worker-8" [_thread_blocked, id=1604, stack(0x31100000,0x31180000)]rn 0x2527a000 JavaThread "DefaultQuartzScheduler_Worker-7" [_thread_blocked, id=2268, stack(0x31080000,0x31100000)]rn 0x25278800 JavaThread "DefaultQuartzScheduler_Worker-6" [_thread_blocked, id=2224, stack(0x31000000,0x31080000)]rn 0x2526f800 JavaThread "DefaultQuartzScheduler_Worker-5" [_thread_blocked, id=3200, stack(0x30f80000,0x31000000)]rn 0x2526e000 JavaThread "DefaultQuartzScheduler_Worker-4" [_thread_blocked, id=3992, stack(0x30f00000,0x30f80000)]rn 0x25289400 JavaThread "DefaultQuartzScheduler_Worker-3" [_thread_blocked, id=240, stack(0x30e80000,0x30f00000)]rn 0x25288800 JavaThread "DefaultQuartzScheduler_Worker-2" [_thread_blocked, id=3500, stack(0x30e00000,0x30e80000)]rn 0x25286c00 JavaThread "DefaultQuartzScheduler_Worker-1" [_thread_blocked, id=2252, stack(0x30d80000,0x30e00000)]rn 0x25253800 JavaThread "Thread-8" [_thread_blocked, id=1032, stack(0x30c00000,0x30c80000)]rn 0x25245400 JavaThread "Win32SerialPort Notification thread" [_thread_in_native, id=1552, stack(0x30b80000,0x30c00000)]rn 0x2523ec00 JavaThread "pool-1-thread-41" [_thread_blocked, id=3536, stack(0x30b00000,0x30b80000)]rn 0x2523c400 JavaThread "pool-1-thread-40" [_thread_blocked, id=932, stack(0x30a80000,0x30b00000)]rn 0x25242800 JavaThread "pool-1-thread-39" [_thread_blocked, id=2360, stack(0x30a00000,0x30a80000)]rn 0x2523b000 JavaThread "pool-1-thread-38" [_thread_in_native, id=3204, stack(0x30980000,0x30a00000)]rn 0x25237c00 JavaThread "Thread-7" [_thread_blocked, id=1800, stack(0x30900000,0x30980000)]rn 0x25236c00 JavaThread "Win32SerialPort Notification thread" [_thread_in_native, id=3516, stack(0x30880000,0x30900000)]rn 0x25236000 JavaThread "pool-1-thread-37" [_thread_blocked, id=2452, stack(0x30800000,0x30880000)]rn 0x25212400 JavaThread "pool-1-thread-36" [_thread_blocked, id=4064, stack(0x30780000,0x30800000)]rn 0x25227c00 JavaThread "pool-1-thread-35" [_thread_in_native, id=2684, stack(0x30700000,0x30780000)]rn 0x251e9400 JavaThread "pool-1-thread-34" [_thread_blocked, id=784, stack(0x30680000,0x30700000)]rn 0x23aae800 JavaThread "pool-1-thread-33" [_thread_blocked, id=1764, stack(0x30600000,0x30680000)]rn 0x251ea800 JavaThread "pool-1-thread-32" [_thread_blocked, id=2528, stack(0x30580000,0x30600000)]rn 0x25133000 JavaThread "pool-1-thread-31" [_thread_blocked, id=2120, stack(0x30500000,0x30580000)]rn 0x251dd800 JavaThread "pool-1-thread-30" [_thread_in_vm, id=3964, stack(0x30480000,0x30500000)]rn 0x251dc000 JavaThread "pool-1-thread-29" [_thread_blocked, id=3340, stack(0x30400000,0x30480000)]rn 0x23aab800 JavaThread "pool-1-thread-28" [_thread_blocked, id=2140, stack(0x30380000,0x30400000)]rn 0x23aa7c00 JavaThread "pool-1-thread-27" [_thread_blocked, id=3816, stack(0x30300000,0x30380000)]rn 0x250bcc00 JavaThread "hartBitThread" [_thread_blocked, id=1864, stack(0x26650000,0x266d0000)]rn 0x24dc9800 JavaThread "Thread-5" [_thread_blocked, id=3364, stack(0x26490000,0x26510000)]rn 0x24db8000 JavaThread "pool-1-thread-26" [_thread_blocked, id=3064, stack(0x26410000,0x26490000)]rn 0x24da9800 JavaThread "pool-1-thread-25" [_thread_blocked, id=3480, stack(0x26390000,0x26410000)]rn 0x24d91400 JavaThread "pool-1-thread-24" [_thread_blocked, id=3004, stack(0x26310000,0x26390000)]rn 0x24d8b400 JavaThread "pool-1-thread-23" [_thread_blocked, id=3260, stack(0x26290000,0x26310000)]rn 0x24d89c00 JavaThread "Win32SerialPort Notification thread" [_thread_in_native, id=2320, stack(0x26200000,0x26280000)]rn 0x24d8ec00 JavaThread "pool-1-thread-22" [_thread_blocked, id=376, stack(0x26180000,0x26200000)]rn 0x24d86000 JavaThread "pool-1-thread-21" [_thread_blocked, id=3520, stack(0x260c0000,0x26140000)]rn 0x24d83800 JavaThread "pool-1-thread-20" [_thread_blocked, id=1768, stack(0x26040000,0x260c0000)]rn 0x24d82800 JavaThread "pool-1-thread-19" [_thread_blocked, id=2932, stack(0x25fc0000,0x26040000)]rn 0x24d80400 JavaThread "Win32SerialPort Notification thread" [_thread_in_native, id=3608, stack(0x25f30000,0x25fb0000)]rn 0x24d7d000 JavaThread "pool-1-thread-18" [_thread_blocked, id=3580, stack(0x25eb0000,0x25f30000)]rn 0x24d78000 JavaThread "pool-1-thread-17" [_thread_blocked, id=2244, stack(0x25e30000,0x25eb0000)]rn 0x24d76400 JavaThread "pool-1-thread-16" [_thread_blocked, id=2860, stack(0x25db0000,0x25e30000)]rn 0x24d75000 JavaThread "pool-1-thread-15" [_thread_blocked, id=604, stack(0x25d30000,0x25db0000)]rn 0x24d74400 JavaThread "Win32SerialPort Notification thread" [_thread_in_vm, id=284, stack(0x25ca0000,0x25d20000)]rn 0x24d59400 JavaThread "Win32SerialPort Notification thread" [_thread_in_native, id=2072, stack(0x25c10000,0x25c90000)]rn 0x24d62800 JavaThread "pool-1-thread-14" [_thread_blocked, id=680, stack(0x25b90000,0x25c10000)]rn 0x24d73000 JavaThread "pool-1-thread-13" [_thread_blocked, id=2572, stack(0x25b10000,0x25b90000)]rn 0x24d61400 JavaThread "Win32SerialPort Notification thread" [_thread_in_native, id=2348, stack(0x25a80000,0x25b00000)]rn 0x24d5c400 JavaThread "pool-1-thread-11" [_thread_blocked, id=2336, stack(0x25940000,0x259c0000)]rn 0x24d5d000 JavaThread "pool-1-thread-12" [_thread_blocked, id=2520, stack(0x257c0000,0x25840000)]rnrnrnrnrnrnrnrn
jvm虚拟机崩溃,求高手帮忙分析错误原因
#rn# An unexpected error has been detected by HotSpot Virtual Machine:rn#rn# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d098ac7, pid=4000, tid=1964rn#rn# Java VM: Java HotSpot(TM) Client VM (1.5.0_09-b03 mixed mode)rn# Problematic frame:rn# C [awt.dll+0x28ac7]rn#rnrn--------------- T H R E A D ---------------rnrnCurrent thread (0x4d347230): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=1964]rnrnsiginfo: ExceptionCode=0xc0000005, writing address 0xaca94000rnrnRegisters:rnEAX=0x0000009c, EBX=0xaca94000, ECX=0x00000091, EDX=0x0000009brnESP=0x5176ee14, EBP=0x0000009b, ESI=0x00919b9c, EDI=0x000000ffrnEIP=0x6d098ac7, EFLAGS=0x00010206rnrnTop of Stack: (sp=0x5176ee14)rn.........rnInstructions: (pc=0x6d098ac7)rn0x6d098ab7: 1b 6d 8b e9 8b c2 c1 e6 08 0b f5 c1 e6 08 0b f0rn0x6d098ac7: 89 33 8b 7c 24 4c 8b 44 24 2c 83 c7 04 83 c3 04 rnrnrnStack: [0x51670000,0x51770000), sp=0x5176ee14, free space=1019krnNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)rnC [awt.dll+0x28ac7]rnrn[error occurred during error reporting, step 120, id 0xc0000005]rnrnJava frames: (J=compiled Java code, j=interpreted, Vv=VM code)rnj sun.java2d.loops.MaskBlit.MaskBlit(Lsun/java2d/SurfaceData;Lsun/java2d/SurfaceData;Ljava/awt/Composite;Lsun/java2d/pipe/Region;IIIIII[BII)V+0rnj sun.java2d.loops.Blit$GeneralMaskBlit.Blit(Lsun/java2d/SurfaceData;Lsun/java2d/SurfaceData;Ljava/awt/Composite;Lsun/java2d/pipe/Region;IIIIII)V+24rnj sun.java2d.pipe.DrawImage.blitSurfaceData(Lsun/java2d/SunGraphics2D;Lsun/java2d/pipe/Region;Lsun/java2d/SurfaceData;Lsun/java2d/SurfaceData;Lsun/java2d/loops/SurfaceType;Lsun/java2d/loops/SurfaceType;IIIIIILjava/awt/Color;)V+97rnj sun.java2d.pipe.DrawImage.renderImageCopy(Lsun/java2d/SunGraphics2D;Ljava/awt/Image;Ljava/awt/Color;IIIIII)Z+75rnj sun.java2d.pipe.DrawImage.copyImage(Lsun/java2d/SunGraphics2D;Ljava/awt/Image;IILjava/awt/Color;)Z+45rnj sun.java2d.pipe.DrawImage.copyImage(Lsun/java2d/SunGraphics2D;Ljava/awt/Image;IILjava/awt/Color;Ljava/awt/image/ImageObserver;)Z+15rnj sun.java2d.pipe.ValidatePipe.copyImage(Lsun/java2d/SunGraphics2D;Ljava/awt/Image;IILjava/awt/Color;Ljava/awt/image/ImageObserver;)Z+21rnj sun.java2d.SunGraphics2D.drawImage(Ljava/awt/Image;IILjava/awt/Color;Ljava/awt/image/ImageObserver;)Z+18rnj sun.java2d.SunGraphics2D.drawImage(Ljava/awt/Image;IILjava/awt/image/ImageObserver;)Z+7rnj sun.swing.CachedPainter.paintImage(Ljava/awt/Component;Ljava/awt/Graphics;IIIILjava/awt/Image;[Ljava/lang/Object;)V+7rnj sun.swing.CachedPainter.paint0(Ljava/awt/Component;Ljava/awt/Graphics;IIII[Ljava/lang/Object;)V+191rnj sun.swing.CachedPainter.paint(Ljava/awt/Component;Ljava/awt/Graphics;IIII[Ljava/lang/Object;)V+95rnj com.sun.java.swing.plaf.windows.XPStyle$Skin.paintSkin(Ljava/awt/Graphics;IIIII)V+34rnj com.sun.java.swing.plaf.windows.WindowsTabbedPaneUI.paintRotatedSkin(Ljava/awt/Graphics;Lcom/sun/java/swing/plaf/windows/XPStyle$Skin;IIIIII)V+177rnj com.sun.java.swing.plaf.windows.WindowsTabbedPaneUI.paintContentBorder(Ljava/awt/Graphics;II)V+236rnj javax.swing.plaf.basic.BasicTabbedPaneUI.paint(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+33rnj javax.swing.plaf.ComponentUI.update(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+32rnj javax.swing.JComponent.paintComponent(Ljava/awt/Graphics;)V+26rnj javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+260rnJ javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)Vrnv ~RuntimeStub::alignment_frame_return Runtime1 stubrnj javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+292rnj javax.swing.JComponent.paintWithOffscreenBuffer(Ljavax/swing/JComponent;Ljava/awt/Graphics;IIIILjava/awt/Image;)V+174rnj javax.swing.JComponent.paintDoubleBuffered(Ljavax/swing/JComponent;Ljava/awt/Component;Ljava/awt/Graphics;IIII)Z+131rnj javax.swing.JComponent._paintImmediately(IIII)V+739rnj javax.swing.JComponent.paintImmediately(IIII)V+83rnj javax.swing.RepaintManager.paintDirtyRegions()V+314rnj javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run()V+32rnj java.awt.event.InvocationEvent.dispatch()V+47rnJ java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)VrnJ java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)ZrnJ java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)Vrnv ~RuntimeStub::alignment_frame_return Runtime1 stubrnj java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4rnj java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3rnj java.awt.EventDispatchThread.run()V+9rnv ~StubRoutines::call_stubrnrn--------------- P R O C E S S ---------------rnrnJava Threads: ( => current thread )rn 0x4d34b8c0 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=1972]rn=>0x4d347230 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=1964]rn 0x4d340cf0 JavaThread "AWT-Shutdown" [_thread_blocked, id=1568]rn 0x4d344e70 JavaThread "Worker-35" [_thread_blocked, id=2760]rn 0x4d332a40 JavaThread "Worker-33" [_thread_blocked, id=3620]rn 0x4d2b8970 JavaThread "TimerQueue" daemon [_thread_blocked, id=2488]rn 0x009ccc10 JavaThread "Thread-6" [_thread_in_native, id=2288]rn 0x009bb370 JavaThread "ActiveMQ Transport: tcp:///192.168.35.40:61616" [_thread_in_native, id=928]rn 0x009ab8b0 JavaThread "Thread-5" [_thread_blocked, id=756]rn 0x009270b0 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2064]rn 0x0098ad50 JavaThread "Bundle File Closer" daemon [_thread_blocked, id=3960]rn 0x00962030 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3576]rn 0x00919080 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=1456]rn 0x009168f0 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=1364]rn 0x009159f0 JavaThread "State Data Manager" daemon [_thread_blocked, id=972]rn 0x00901c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3568]rn 0x008f4460 JavaThread "CompilerThread0" daemon [_thread_blocked, id=448]rn 0x008ffc60 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=640]rn 0x008fd410 JavaThread "Finalizer" daemon [_thread_blocked, id=604]rn 0x008fc190 JavaThread "Reference Handler" daemon [_thread_blocked, id=440]rn 0x008f30c0 JavaThread "main" [_thread_in_native, id=4004]rnrnOther Threads:rn 0x008fb470 VMThread [id=492]rn 0x00902720 WatcherThread [id=2876]rnrnVM state:not at safepoint (normal execution)rnrnVM Mutex/Monitor currently owned by a thread: NonernrnHeaprn def new generation total 18240K, used 7615K [0x02cc0000, 0x04080000, 0x07b80000)rn eden space 16256K, 42% used [0x02cc0000, 0x033782f8, 0x03ca0000)rn from space 1984K, 37% used [0x03e90000, 0x03f47980, 0x04080000)rn to space 1984K, 0% used [0x03ca0000, 0x03ca0000, 0x03e90000)rn tenured generation total 241984K, used 100566K [0x07b80000, 0x167d0000, 0x42cc0000)rn the space 241984K, 41% used [0x07b80000, 0x0ddb5a08, 0x0ddb5c00, 0x167d0000)rn compacting perm gen total 43008K, used 42772K [0x42cc0000, 0x456c0000, 0x46cc0000)rn the space 43008K, 99% used [0x42cc0000, 0x456853a0, 0x45685400, 0x456c0000)rnNo shared spaces configured.rnrnDynamic libraries:rn0x00400000 - 0x0040e000 D:\MZDOCTORv4\his.exern0x7c920000 - 0x7c9b6000 C:\WINDOWS\system32\ntdll.dllrn0x7c800000 - 0x7c91e000 C:\WINDOWS\system32\kernel32.dllrn..........................................rnVM Arguments:rn<em>jvm</em>_args: -Xms256m -Xmx1024mrnjava_command: rnLauncher Type: genericrnrnEnvironment Variables:rnPATH=D:/MZDOCTORv4/jre/bin/../jre/bin/client;D:/MZDOCTORv4/jre/bin/../jre/bin;C:\MediComSoftware\PASS;D:\门诊医生站0820;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\WbemrnUSERNAME=AdministratorrnOS=Windows_NTrnPROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntelrnrnrnrn--------------- S Y S T E M ---------------rnrnOS: Windows XP Build 2600 Service Pack 3rnrnCPU:total 2 (cores per cpu 2, threads per core 1) family 6 model 7 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2rnrnMemory: 4k page, physical 914604k(275344k free), swap 2937048k(2217164k free)rnrnvm_info: Java HotSpot(TM) Client VM (1.5.0_09-b03) for windows-x86, built on Oct 12 2006 01:20:10 by "java_re" with MS VC++ 6.0rnrn看不懂这个东西,请问是什么错误,改怎么<em>分析</em>
散尽积分求大神帮忙分析jvm crash的log
[b]1.[/b]环境 server2008r2, 24c+128g内存, 略高并发系统rnrn[b]2.[/b]从上周一开始, 系统会不定时的挂掉, 表现为tomcat直接不见了, tomcat的bin下会生成一个hs_err_pid.mdmp,也没有log文件, 后来一直录屏看到一次错误信息如下图, 出现如下图内容时, tomcat已经停止服务, jconsole里面看内存和cpu已经探底rn[img=https://img-bbs.csdn.net/upload/201903/19/1552956704_207244.png][/img]rnrn[b]3.[/b]感觉已经能排除高并发问题, 因为有时候系统会半夜11点突然挂掉rnrn[b]4.[/b]后来配了一堆参数, 现在能间歇的打印hs_err_pid.log了, 特地粘上来让<em>大神</em><em>帮忙</em><em>分析</em>下rnrn#rn# A fatal error has been detected by the Java Runtime Environment:rn#rn# Internal Error (sharedRuntime.cpp:834), pid=5632, tid=14464rn# fatal error: exception happened outside interpreter, nmethods and vtable stubs at pc 0x0000000002cc4990rn#rn# JRE version: Java(TM) SE Runtime Environment (8.0_40-b25) (build 1.8.0_40-b25)rn# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.40-b25 mixed mode windows-amd64 )rn# Core dump written. Default location: E:\zhkt\env\apache-tomcat-7.0.41\bin\hs_err_pid5632.mdmprn#rn# If you would like to submit a bug report, please visit:rn# http://bugreport.java.com/bugreport/crash.jsprn#rn--------------- T H R E A D ---------------rnrnCurrent thread (0x0000000078d31000): JavaThread "http-nio-443-exec-253" daemon [_thread_in_Java, id=14464, stack(0x0000001542320000,0x0000001542420000)]rnrnStack: [0x0000001542320000,0x0000001542420000]rnNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)rnV [<em>jvm</em>.dll+0x32b47a]rnV [<em>jvm</em>.dll+0x2797f3]rnV [<em>jvm</em>.dll+0x27a489]rnV [<em>jvm</em>.dll+0x271726]rnV [<em>jvm</em>.dll+0x228b8e]rnV [<em>jvm</em>.dll+0x297cb0]rnV [<em>jvm</em>.dll+0x32b308]rnC [ntdll.dll+0x2812d]rnC [ntdll.dll+0x1855f]rnC [ntdll.dll+0x4bcb8]rnC 0x0000000002cc4990rnrnrn
JVM系列:JVM参数设置、分析
JVM系列三:JVM参数设置、<em>分析</em> 不管是YGC还是Full GC,GC过程中都会对导致程序运行中中断,正确的选择不同的GC策略,调整JVM、GC的参数,可以极大的减少由于GC工作,而导致的程序运行中断方面的问题,进而适当的提高Java程序的工作效率。但是调整GC是以个极为复杂的过程,由于各个程序具备不同的特点,如:web和GUI程序就有很大区别(Web可以适当的停顿,但GUI停顿...
jvm的问题,求大神指点
class Testrnrn private static boolean done;rn public static void main(String[] args) rn rn System.out.println(done);rn new java.lang.Thread (new Runnable()rn public void run() rn while (!done)rn rn //这段代码不注释掉不会死循环,注释掉后,会进入循环,除非,在结尾使用System.exit(0);关掉<em>jvm</em>,这是为什么rn// System.out.println(1);rn rn rn rn ).start();rn try rn Thread.sleep(1000 * 5);rn catch (InterruptedException e) rn e.printStackTrace();rn rn done = true;rn System.out.println("this is end");rn// System.exit(0);rn rnrn
jvm分析
<em>jvm</em><em>分析</em>: 一个java类在<em>jvm</em>中有三种形态: 1) source:源码形态 -&amp;gt;编译过程(javac) 2) class:字节码形态 3)runtime:运行时形态 加载到内存,内存存在形态 <em>jvm</em>中最核心的一个类就是ClassLoader,从<em>分析</em>源码发现该类在加载类的时候采用的双亲委派机制双亲委派:是JDK的一种安全机制,会检测类是否被加载过,只有没有加载过的才允许加载,...
大神介绍jvm的书
最近想看java虚拟机,目前在网上搜到有关虚拟机的书有周志明的有[美]文纳斯 著,曹晓钢,蒋靖 译求<em>大神</em>指点那本比较好 或者说有什么书比这2本还好的?
JVM的问题 求大神解惑
#rn# A fatal error has been detected by the Java Runtime Environment:rn#rn# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000180007e23, pid=5468, tid=0x0000000000001ca0rn#rn# JRE version: Java(TM) SE Runtime Environment (8.0_112-b15) (build 1.8.0_112-b15)rn# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.112-b15 mixed mode windows-amd64 compressed oops)rn# Problematic frame:rn# C [tcnative-1.dll+0x7e23]rn#rn# Failed to write core dump. Minidumps are not enabled by default on client versions of Windowsrn#rn# If you would like to submit a bug report, please visit:rn# http://bugreport.java.com/bugreport/crash.jsprn# The crash happened outside the Java Virtual Machine in native code.rn# See problematic frame for where to report the bug.rn#rnrn--------------- T H R E A D ---------------rnrnCurrent thread (0x00000000199a3800): JavaThread "http-apr-8080-Poller" daemon [_thread_in_native, id=7328, stack(0x0000000017c70000,0x0000000017d70000)]rnrnsiginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000000rnrnRegisters:rnRAX=0x0000000000000000, RBX=0x000000002073a470, RCX=0x00000000004f7c88, RDX=0x0000000000000060rnRSP=0x0000000017d6f370, RBP=0x0000000000000000, RSI=0x0000000000000000, RDI=0x0000000000508c98rnR8 =0x0000000000000000, R9 =0x00000000004f0ce0, R10=0x0000000000000030, R11=0x00000000004f0d38rnR12=0x0000000000000008, R13=0x0000000000508ce0, R14=0x000563595f3c8f13, R15=0x0000000000000001rnRIP=0x0000000180007e23, EFLAGS=0x0000000000010246rnrnTop of Stack: (sp=0x0000000017d6f370)rn0x0000000017d6f370: 0000000000000000 0000000000508c98rn0x0000000017d6f380: 0000000017d6f3e8 0000000017d6f3f0rn0x0000000017d6f390: 00000000164188a8 0000000017d6f398rn0x0000000017d6f3a0: 00000000199a3800 0000000017d6f440rn0x0000000017d6f3b0: 0000000017d6f470 0000000000000000rn0x0000000017d6f3c0: 0000000000000001 0000000017d6f450rn0x0000000017d6f3d0: 00000000201d0cc0 000000000271e228rn0x0000000017d6f3e0: 00000000199a39f8 0000000000000003rn0x0000000017d6f3f0: 0000000000500c98 0000000000001940rn0x0000000017d6f400: 0000000017d6f420 0000000000000001rn0x0000000017d6f410: 01d3935c8d9c16c6 0000000000000000rn0x0000000017d6f420: 000000008d77ce20 0000000017d6f428rn0x0000000017d6f430: 00000000201d0128 0000000017d6f498rn0x0000000017d6f440: 000000008d913ef8 0000000017d6f448rn0x0000000017d6f450: 0000000017d6f4f0 00000000025b7da0rn0x0000000017d6f460: 00000000201d1a88 00000000025b7da0 rnrnInstructions: (pc=0x0000000180007e23)rn0x0000000180007e03: 47 18 49 89 1c 04 45 84 ff 74 69 48 8b 94 24 80rn0x0000000180007e13: 00 00 00 48 8b 4f 10 e8 61 53 01 00 48 8b 43 38rn0x0000000180007e23: 48 8b 10 48 8b 43 38 48 8b 48 08 48 89 11 48 8brn0x0000000180007e33: 43 38 48 8b 50 08 48 8b 43 38 48 8b 08 48 89 51 rnrnrnRegister to memory mapping:rnrnRAX=0x0000000000000000 is an unknown valuernRBX=0x000000002073a470 is an unknown valuernRCX=0x00000000004f7c88 is an unknown valuernRDX=0x0000000000000060 is an unknown valuernRSP=0x0000000017d6f370 is pointing into the stack for thread: 0x00000000199a3800rnRBP=0x0000000000000000 is an unknown valuernRSI=0x0000000000000000 is an unknown valuernRDI=0x0000000000508c98 is an unknown valuernR8 =0x0000000000000000 is an unknown valuernR9 =0x00000000004f0ce0 is an unknown valuernR10=0x0000000000000030 is an unknown valuernR11=0x00000000004f0d38 is an unknown valuernR12=0x0000000000000008 is an unknown valuernR13=0x0000000000508ce0 is an unknown valuernR14=0x000563595f3c8f13 is an unknown valuernR15=0x0000000000000001 is an unknown valuernrnrnStack: [0x0000000017c70000,0x0000000017d70000], sp=0x0000000017d6f370, free space=1020krnNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)rnrnJava frames: (J=compiled Java code, j=interpreted, Vv=VM code)rnJ 3406 org.apache.tomcat.jni.Poll.poll(JJ[JZ)I (0 bytes) @ 0x000000000271e1a2 [0x000000000271e140+0x62]rnj org.apache.tomcat.util.net.AprEndpoint$Poller.run()V+541rnj java.lang.Thread.run()V+11rnv ~StubRoutines::call_stubrnrn----------------------------PROCESS--------------------------------rn太长我就省略掉了rn---------------------------------------------------------------------------rnrnVM Arguments:rn<em>jvm</em>_args: -Dcatalina.base=D:\tomcat\apache-tomcat-8.0.0-RC3 -Dcatalina.home=D:\tomcat\apache-tomcat-8.0.0-RC3 -Dwtp.deploy=D:\tomcat\apache-tomcat-8.0.0-RC3\webapps -Djava.endorsed.dirs=D:\tomcat\apache-tomcat-8.0.0-RC3\endorsed -Djava.library.path=D:\ME\binary\com.sun.java.jdk8.win32.x86_64_1.8.0.v112\bin;D:\tomcat\apache-tomcat-8.0.0-RC3\bin -Dfile.encoding=GBK rnjava_command: org.apache.catalina.startup.Bootstrap startrnjava_class_path (initial): D:\ME\binary\com.sun.java.jdk8.win32.x86_64_1.8.0.v112\lib\tools.jar;D:\tomcat\apache-tomcat-8.0.0-RC3\bin\bootstrap.jar;D:\tomcat\apache-tomcat-8.0.0-RC3\bin\tomcat-juli.jarrnLauncher Type: SUN_STANDARDrnrnEnvironment Variables:rnJAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_91rnCLASSPATH=.;C:\Program Files (x86)\Java\jdk1.8.0_91\lib\dt.jar;C:\Program Files (x86)\Java\jdk1.8.0_91\lib\tools.jarrnPATH=D:\maven\apache-maven-3.5.2\bin;C:\Program Files (x86)\Java\jdk1.8.0_91\bin;C:\Program Files (x86)\Java\jdk1.8.0_91\jre\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\sql2008\100\Tools\Binn\;D:\sql2008\100\DTS\Binn\;D:\sql2008\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;D:\svn\bin;D:\calibre\;C:\Program Files\EsafeNet\Cobra DocGuard ClientrnUSERNAME=AdministratorrnOS=Windows_NTrnPROCESSOR_IDENTIFIER=AMD64 Family 21 Model 19 Stepping 1, AuthenticAMDrnrnrnrn--------------- S Y S T E M ---------------rnrnOS: Windows 7 , 64 bit Build 7601 (6.1.7601.18409)rnrnCPU:total 4 (4 cores per cpu, 1 threads per core) family 21 model 19 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, clmul, mmxext, 3dnowpref, lzcnt, sse4a, tsc, tscinvbit, tscinv, bmi1rnrnMemory: 4k page, physical 7540552k(3534384k free), swap 15079240k(9690864k free)rnrnvm_info: Java HotSpot(TM) 64-Bit Server VM (25.112-b15) for windows-amd64 JRE (1.8.0_112-b15), built on Sep 22 2016 21:31:56 by "java_re" with MS VC++ 10.0 (VS2010)rnrntime: Mon Jan 22 16:39:44 2018rnelapsed time: 245 seconds (0d 0h 4m 5s)rnrn
jvm崩溃 救命呀
# # A fatal error has been detected by the Java Runtime Environment: # #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffb08aed979, pid=16604, tid=10076 # # JRE version: 6.0_45-b06 # Java VM: ...
JVM崩溃日志分析1
最先线上的一个tomcat总是无缘无故<em>崩溃</em>,tomcat<em>日志</em>里又没有报任何错误,于是调出JVM的<em>崩溃</em><em>日志</em>查看,一般<em>崩溃</em><em>日志</em>在启动目录下,比如tomcat的bin目录下,但是如果你用自己写的脚本启动的tomcat,则这个<em>日志</em>可能就在你放脚本的目录下。 # # A fatal error has been detected by the Java Runtime Environment: #
JVM运行中崩溃了,有日志hs_err_pid14920.log,求大神帮忙看看
#rn# A fatal error has been detected by the Java Runtime Environment:rn#rn# Internal Error (os_windows_x86.cpp:143), pid=14920, tid=10740rn# guarantee(result == EXCEPTION_CONTINUE_EXECUTION) failed: Unexpected result from topLevelExceptionFilterrn#rn# JRE version: Java(TM) SE Runtime Environment (7.0_79-b15) (build 1.7.0_79-b15)rn# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.79-b02 mixed mode windows-amd64 compressed oops)rn# Core dump written. Default location: E:\jetty8\hs_err_pid14920.mdmprn#rn# If you would like to submit a bug report, please visit:rn# http://bugreport.java.com/bugreport/crash.jsprn# The crash happened outside the Java Virtual Machine in native code.rn# See problematic frame for where to report the bug.rn#rnrn--------------- T H R E A D ---------------rnrnCurrent thread (0x000000000ddc8000): JavaThread "Finalizer" daemon [_thread_in_native, id=10740, stack(0x000000000e220000,0x000000000e320000)]rnrnStack: [0x000000000e220000,0x000000000e320000]rn[error occurred during error reporting (printing stack bounds), id 0xc0000005]rnrnrn[error occurred during error reporting (printing native stack), id 0xc0000005]rnrnJava frames: (J=compiled Java code, j=interpreted, Vv=VM code)rnj com.jacob.com.Dispatch.release()V+0rnj com.jacob.com.Dispatch.safeRelease()V+12rnj com.jacob.com.Dispatch.finalize()V+1rnj com.jacob.activeX.ActiveXComponent.finalize()V+1rnJ 865 C2 java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;Lsun/misc/JavaLangAccess;)V (6 bytes) @ 0x000000000272e800 [0x000000000272e640+0x1c0]rnJ 465% C2 java.lang.ref.Finalizer$FinalizerThread.run()V (55 bytes) @ 0x0000000002723d00 [0x0000000002723c40+0xc0]rnv ~StubRoutines::call_stub
jvm 分析
在阅读本篇文章时,至少首先对JVM的概念、工作原理、结构组成,有一定的基础性了解,废话不多说,本文开门见山,直接以工作中比较常见的几种概念:类、类对象、实例对象、静态方法、非静态方法、静态属性、非静态属性等为出发点,直接切入JVM内存的使用及分配,通过这些原理认清Java中的静态方法和静态属性的问题,其次讲JVM的内存堆栈模型,主要描述JVM内存堆栈结构的组成,最后是JVM的内存参数设置,主...
JVM分析
本文地址:JVM<em>分析</em> - 关于JVM执行模型。Java虚拟机(JVM)是基于栈结构的,也就是Java代码运行在Java虚拟机线程中,而每一个线程拥有多个执行栈,执行栈由多个帧组成,每执行一个方法,则在执行栈中产生一个帧,即方法被触发时,一个新产生的帧将被Push到当前线程的执行栈中,当该方法执行完毕正常返回或者发生异常时,该帧将被Pop出执行栈。 关于帧。每个帧由本地变量(Local Variab
求助:JVM异常崩溃
我的JAVA程序在linux下运行时经常异常<em>崩溃</em>了,但另一台linux下却一切正常,检查<em>日志</em>文件提示如下:rn#rn# An unexpected error has been detected by HotSpot Virtual Machine:rn#rn# SIGSEGV (0xb) at pc=0xb7a7a117, pid=10087, tid=2857761680rn#rn# Java VM: Java HotSpot(TM) Client VM (1.5.0_12-b04 mixed mode)rn# Problematic frame:rn# V [lib<em>jvm</em>.so+0x2cd117]rn#rn# An error report file with more information is saved as hs_err_pid10087.logrn#rn# If you would like to submit a bug report, please visit:rn# http://java.sun.com/webapps/bugreport/crash.jsprn#rnrnhs_err_pid10087.log文件的内容如下:rnrn--------------- T H R E A D ---------------rnrnCurrent thread (0x08963a38): VMThread [id=10089]rnrnsiginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x0003b68arnrnRegisters:rnEAX=0x0003b62a, EBX=0xb7b3a42c, ECX=0xab5f2b78, EDX=0xaf09c1c0rnESP=0xaa55e960, EBP=0xaa55e988, ESI=0xab5f2b78, EDI=0x08918fe0rnEIP=0xb7a7a117, CR2=0x0003b68a, EFLAGS=0x00210283rnrnTop of Stack: (sp=0xaa55e960)rn0xaa55e960: af09c1c0 ab5f2b78 ab5f2b78 ab5f2b78rn0xaa55e970: b7b48444 ab92c708 abfec718 b7b3a42crn0xaa55e980: 00000001 aa55eac0 aa55e9a8 b78fb27frn0xaa55e990: 08918fe0 aa55e9a8 aa00ffff b28e6988rn0xaa55e9a0: 088f9bf0 b28e6988 aa55e9c8 b78fa7c8rn0xaa55e9b0: aa55e9e0 08918fe0 aa55e9e8 b7b3a42crn0xaa55e9c0: 088f9bf0 088f9bf0 aa55e9f8 b78f9d1ern0xaa55e9d0: 08918ec0 aa55e9e0 00000001 b7a63305rnrnInstructions: (pc=0xb7a7a117)rn0xb7a7a107: fc eb ab 8b 46 04 51 51 8d 50 08 8b 40 08 56 52rn0xb7a7a117: ff 50 60 83 c4 10 8d 34 86 3b 75 ec 72 e5 8b 57rnrnStack: [0xaa4df000,0xaa560000), sp=0xaa55e960, free space=510krnNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)rnV [lib<em>jvm</em>.so+0x2cd117]rnV [lib<em>jvm</em>.so+0x14e27f]rnV [lib<em>jvm</em>.so+0x14d7c8]rnV [lib<em>jvm</em>.so+0x14cd1e]rnV [lib<em>jvm</em>.so+0x1446c2]rnV [lib<em>jvm</em>.so+0x142c77]rnV [lib<em>jvm</em>.so+0x143c9d]rnV [lib<em>jvm</em>.so+0x14d20d]rnV [lib<em>jvm</em>.so+0x2f5f2e]rnV [lib<em>jvm</em>.so+0x14135f]rnV [lib<em>jvm</em>.so+0xfd4be]rnV [lib<em>jvm</em>.so+0x1415f2]rnV [lib<em>jvm</em>.so+0x333384]rnV [lib<em>jvm</em>.so+0x3330b6]rnV [lib<em>jvm</em>.so+0x3326c7]rnV [lib<em>jvm</em>.so+0x332935]rnV [lib<em>jvm</em>.so+0x3324a0]rnV [lib<em>jvm</em>.so+0x290748]rnC [libpthread.so.0+0x52db]rnrnVM_Operation (0xa91265ec): generation collection for allocation, mode: safepoint, requested by thread 0xa9447e18rnrnrn--------------- P R O C E S S ---------------rnrnJava Threads: ( => current thread )rn 0x08a3c2d0 JavaThread "TP-Monitor" daemon [_thread_blocked, id=10131]rn 0x08a3b3f8 JavaThread "TP-Processor4" daemon [_thread_in_native, id=10130]rn 0x08a3a680 JavaThread "TP-Processor3" daemon [_thread_blocked, id=10129]rn 0x08a35018 JavaThread "TP-Processor2" daemon [_thread_blocked, id=10128]rn 0x08a34a50 JavaThread "TP-Processor1" daemon [_thread_blocked, id=10127]rn 0xa9468560 JavaThread "http-8080-Monitor" [_thread_blocked, id=10126]rn 0xa9467798 JavaThread "http-8080-Processor25" daemon [_thread_in_native, id=10125]rn 0xa94669d0 JavaThread "http-8080-Processor24" daemon [_thread_blocked, id=10124]rn 0xa9465c08 JavaThread "http-8080-Processor23" daemon [_thread_blocked, id=10123]rn 0xa9464e40 JavaThread "http-8080-Processor22" daemon [_thread_blocked, id=10122]rn 0xa94640b0 JavaThread "http-8080-Processor21" daemon [_thread_blocked, id=10121]rn 0xa94632e8 JavaThread "http-8080-Processor20" daemon [_thread_blocked, id=10120]rn 0xa9462520 JavaThread "http-8080-Processor19" daemon [_thread_blocked, id=10119]rn 0xa9461758 JavaThread "http-8080-Processor18" daemon [_thread_blocked, id=10118]rn 0xa9460990 JavaThread "http-8080-Processor17" daemon [_thread_blocked, id=10117]rn 0xa945f380 JavaThread "http-8080-Processor16" daemon [_thread_blocked, id=10116]rn 0xa94103b8 JavaThread "http-8080-Processor15" daemon [_thread_blocked, id=10115]rn 0xa940f628 JavaThread "http-8080-Processor14" daemon [_thread_blocked, id=10114]rn 0xa940e860 JavaThread "http-8080-Processor13" daemon [_thread_blocked, id=10113]rn 0xa940da98 JavaThread "http-8080-Processor12" daemon [_thread_blocked, id=10112]rn 0xa940ccd0 JavaThread "http-8080-Processor11" daemon [_thread_blocked, id=10111]rn 0xa947a208 JavaThread "http-8080-Processor10" daemon [_thread_blocked, id=10110]rn 0xa9479380 JavaThread "http-8080-Processor9" daemon [_thread_blocked, id=10109]rn 0xa94785f0 JavaThread "http-8080-Processor8" daemon [_thread_blocked, id=10108]rn 0xa9a3fa98 JavaThread "http-8080-Processor7" daemon [_thread_blocked, id=10107]rn 0xa9a3ecd0 JavaThread "http-8080-Processor6" daemon [_thread_blocked, id=10106]rn 0xa9a3df20 JavaThread "http-8080-Processor5" daemon [_thread_blocked, id=10105]rn 0xa9ac3ee0 JavaThread "http-8080-Processor4" daemon [_thread_blocked, id=10104]rn 0xa9ae4fc8 JavaThread "http-8080-Processor3" daemon [_thread_blocked, id=10103]rn 0xa9433000 JavaThread "http-8080-Processor2" daemon [_thread_blocked, id=10102]rn 0xa94070f8 JavaThread "http-8080-Processor1" daemon [_thread_blocked, id=10101]rn 0xa9afa850 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=10100]rn 0x08988580 JavaThread "Prototyper" daemon [_thread_blocked, id=10099]rn 0xa94a78a0 JavaThread "HouseKeeper" daemon [_thread_blocked, id=10098]rn 0xa9447e18 JavaThread "Timer-0" daemon [_thread_blocked, id=10097]rn 0xa9acbe58 JavaThread "Thread-1" [_thread_in_native, id=10096]rn 0x089743c0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=10094]rn 0x08972f88 JavaThread "CompilerThread0" daemon [_thread_blocked, id=10093]rn 0x089720b8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10092]rn 0x08968920 JavaThread "Finalizer" daemon [_thread_blocked, id=10091]rn 0x08966b38 JavaThread "Reference Handler" daemon [_thread_blocked, id=10090]rn 0x088fd118 JavaThread "main" [_thread_in_native, id=10087]rnrnOther Threads:rn=>0x08963a38 VMThread [id=10089]rn 0x08975978 WatcherThread [id=10095]rnrnVM state:at safepoint (normal execution)rnrnVM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])rn[0x088fc5b0/0x088fc5d8] Threads_lock - owner thread: 0x08963a38rn[0x088fca00/0x088fca18] Heap_lock - owner thread: 0xa9447e18rnrnHeaprn def new generation total 2240K, used 0K [0xaa5e0000, 0xaa840000, 0xaaac0000)rnrnrnrn--------------- S Y S T E M ---------------rnrnOS:CentOS release 5 (Final)rnrnuname:Linux 2.6.18-8.1.4.el5 #1 SMP Thu May 17 03:26:03 EDT 2007 i686rnlibc:glibc 2.5 NPTL 2.5rnrlimit: STACK 10240k, CORE 0k, NPROC 32759, NOFILE 1024, AS infinityrnload average:0.00 0.00 0.00rnrnCPU:total 2 (cores per cpu 1, threads per core 2) family 15 model 2 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, htrnrnMemory: 4k page, physical 2075216k(1071680k free), swap 2096440k(2096440k free)rnrnvm_info: Java HotSpot(TM) Client VM (1.5.0_12-b04) for linux-x86, built on May 2 2007 03:26:22 by java_re with gcc 3.2.1-7a (J2SE release)rn还请高手赐教,谢谢。rnrn
tomcat自动关闭,jvm崩溃
#rn# A fatal error has been detected by the Java Runtime Environment:rn#rn# Internal Error (os_windows_x86.cpp:114), pid=1844, tid=500rn# Error: guarantee(result == -1,"Unexpected result from topLevelExceptionFilter")rn#rn# JRE version: 6.0_19-b04rn# Java VM: Java HotSpot(TM) 64-Bit Server VM (16.2-b04 mixed mode windows-amd64 )rn# If you would like to submit a bug report, please visit:rn# http://java.sun.com/webapps/bugreport/crash.jsprn# The crash happened outside the Java Virtual Machine in native code.rn# See problematic frame for where to report the bug.rn#rnrn--------------- T H R E A D ---------------rnrnCurrent thread (0x0000000008e11000): JavaThread "http-8088-6" daemon [_thread_in_native, id=500, stack(0x0000000010100000,0x0000000010200000)]rnrnStack: [0x0000000010100000,0x0000000010200000]rnJava frames: (J=compiled Java code, j=interpreted, Vv=VM code)rnj oracle.xdb.XMLType.printToLobNative(JJJJ[BIII)V+0rnj oracle.xdb.XMLType.getStringVal()Ljava/lang/String;+163rnj com.ztkj.emr.application.mz.server.dao.jdbc.impl.EMRApplicationMzTemplateDaoJdbcImpl$PagetempletMapper.mapRow(Ljava/sql/ResultSet;I)Ljava/lang/Object;+43rnJ org.springframework.jdbc.core.RowMapperResultSetExtractor.extractData(Ljava/sql/ResultSet;)Ljava/lang/Object;rnj org.springframework.jdbc.core.JdbcTemplate$1.doInPreparedStatement(Ljava/sql/PreparedStatement;)Ljava/lang/Object;+57rnj org.springframework.jdbc.core.JdbcTemplate.execute(Lorg/springframework/jdbc/core/PreparedStatementCreator;Lorg/springframework/jdbc/core/PreparedStatementCallback;)Ljava/lang/Object;+182rnj org.springframework.jdbc.core.JdbcTemplate.query(Lorg/springframework/jdbc/core/PreparedStatementCreator;Lorg/springframework/jdbc/core/PreparedStatementSetter;Lorg/springframework/jdbc/core/ResultSetExtractor;)Ljava/lang/Object;+31rnj org.springframework.jdbc.core.JdbcTemplate.query(Ljava/lang/String;Lorg/springframework/jdbc/core/PreparedStatementSetter;Lorg/springframework/jdbc/core/ResultSetExtractor;)Ljava/lang/Object;+11rn。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。rnOther Threads:rn 0x00000000004fe800 VMThread [stack: 0x0000000006450000,0x0000000006550000] [id=3084]rn 0x0000000006794000 WatcherThread [stack: 0x0000000006e50000,0x0000000006f50000] [id=3192]rnrnVM state:not at safepoint (normal execution)rnrnVM Mutex/Monitor currently owned by a thread: NonernrnHeaprn PSYoungGen total 507840K, used 69843K [0x00000000ffff0000, 0x000000011fff0000, 0x000000011fff0000)rn eden space 491392K, 10% used [0x00000000ffff0000,0x000000010341c4f0,0x000000011dfd0000)rn from space 16448K, 99% used [0x000000011dfd0000,0x000000011efd8710,0x000000011efe0000)rn to space 16448K, 0% used [0x000000011efe0000,0x000000011efe0000,0x000000011fff0000)rn PSOldGen total 1572864K, used 57426K [0x000000009fff0000, 0x00000000ffff0000, 0x00000000ffff0000)rn object space 1572864K, 3% used [0x000000009fff0000,0x00000000a3804a28,0x00000000ffff0000)rn PSPermGen total 63680K, used 60767K [0x000000007fff0000, 0x0000000083e20000, 0x000000009fff0000)rn object space 63680K, 95% used [0x000000007fff0000,0x0000000083b47e08,0x0000000083e20000)rnrnDynamic libraries:rn0x0000000000400000 - 0x000000000042e000 C:\Program Files\Java\jdk1.6.0_19\bin\java.exern0x0000000077590000 - 0x0000000077739000 C:\Windows\SYSTEM32\ntdll.dllrn0x0000000077370000 - 0x000000007748f000 C:\Windows\system32\kernel32.dllrn0x000007fefd690000 - 0x000007fefd6fb000 C:\Windows\system32\KERNELBASE.dllrn0x000007feff2c0000 - 0x000007feff39b000 C:\Windows\system32\ADVAPI32.DLLrn0x000007feff3b0000 - 0x000007feff44f000 C:\Windows\system32\msvcrt.dllrn0x000007fefdcc0000 - 0x000007fefdcdf000 C:\Windows\SYSTEM32\sechost.dllrn0x000007fefed70000 - 0x000007fefee9d000 C:\Windows\system32\RPCRT4.dllrn0x000000006d890000 - 0x000000006df35000 C:\Program Files\Java\jdk1.6.0_19\jre\bin\server\<em>jvm</em>.dllrn0x0000000077490000 - 0x000000007758a000 C:\Windows\system32\USER32.dllrn0x000007fefef70000 - 0x000007fefefd7000 C:\Windows\system32\GDI32.dllrn0x000007feff3a0000 - 0x000007feff3ae000 C:\Windows\system32\LPK.dllrn0x000007fefeea0000 - 0x000007fefef69000 C:\Windows\system32\USP10.dllrn0x000007fef6a50000 - 0x000007fef6a8b000 C:\Windows\system32\WINMM.dllrn0x000007fefdc90000 - 0x000007fefdcbe000 C:\Windows\system32\IMM32.DLLrn0x000007fefdb80000 - 0x000007fefdc89000 C:\Windows\system32\MSCTF.dllrn0x000000006d800000 - 0x000000006d80e000 C:\Program Files\Java\jdk1.6.0_19\jre\bin\verify.dllrn0x000000006d450000 - 0x000000006d477000 C:\Program Files\Java\jdk1.6.0_19\jre\bin\java.dllrn0x000000006d3b0000 - 0x000000006d3ba000 C:\Program Files\Java\jdk1.6.0_19\jre\bin\hpi.dllrn0x0000000077760000 - 0x0000000077767000 C:\Windows\system32\PSAPI.DLLrn0x000000006d850000 - 0x000000006d862000 C:\Program Files\Java\jdk1.6.0_19\jre\bin\zip.dllrn0x000000006d5e0000 - 0x000000006d5ea000 C:\Program Files\Java\jdk1.6.0_19\jre\bin\management.dllrn0x000000006d6a0000 - 0x000000006d6b7000 C:\Program Files\Java\jdk1.6.0_19\jre\bin\net.dllrn0x000007fefd8b0000 - 0x000007fefd8fd000 C:\Windows\system32\WS2_32.dllrn0x000007feff6c0000 - 0x000007feff6c8000 C:\Windows\system32\NSI.dllrn0x000007fefcd10000 - 0x000007fefcd65000 C:\Windows\system32\mswsock.dllrn0x000007fefcd00000 - 0x000007fefcd07000 C:\Windows\System32\wship6.dllrn0x000007fefc6f0000 - 0x000007fefc6f7000 C:\Windows\System32\wshtcpip.dllrn0x000007fefbe10000 - 0x000007fefbe25000 C:\Windows\system32\NLAapi.dllrn0x000007fefa700000 - 0x000007fefa715000 C:\Windows\system32\napinsp.dllrn0x000007fefcb90000 - 0x000007fefcbeb000 C:\Windows\system32\DNSAPI.dllrn0x000007fefa730000 - 0x000007fefa73b000 C:\Windows\System32\winrnr.dllrn0x000007fefb390000 - 0x000007fefb3b7000 C:\Windows\system32\IPHLPAPI.DLLrn0x000007fefb380000 - 0x000007fefb38b000 C:\Windows\system32\WINNSI.DLLrn0x000007fefad60000 - 0x000007fefad68000 C:\Windows\system32\rasadhlp.dllrn0x000007fefad00000 - 0x000007fefad53000 C:\Windows\System32\fwpuclnt.dllrn0x0000000062f00000 - 0x0000000062f26000 D:\apache-tomcat-6.0.26-windows-x64_mzdoctor\bin\ocijdbc11.dllrn0x0000000180000000 - 0x00000001800b1000 D:\app\administrator\product\11.2.0\client_1\bin\OCI.dllrn0x00000000751e0000 - 0x00000000752a9000 C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4940_none_88df89932faf0bf6\MSVCR80.dllrn0x000000000a750000 - 0x000000000ac71000 D:\app\administrator\product\11.2.0\client_1\bin\OraClient11.Dllrn0x000000000ac80000 - 0x000000000ade3000 D:\app\administrator\product\11.2.0\client_1\bin\oracore11.dllrn0x000000000adf0000 - 0x000000000aef0000 D:\app\administrator\product\11.2.0\client_1\bin\oranls11.dllrn0x0000000000530000 - 0x0000000000550000 D:\app\administrator\product\11.2.0\client_1\bin\oraunls11.dllrn0x0000000000550000 - 0x0000000000557000 D:\app\administrator\product\11.2.0\client_1\bin\orauts.dllrn0x000007feff4b0000 - 0x000007feff6b3000 C:\Windows\system32\ole32.dllrn0x000000000aef0000 - 0x000000000b1e0000 D:\app\administrator\product\11.2.0\client_1\bin\oracommon11.dllrn0x0000000007d10000 - 0x0000000007d4e000 D:\app\administrator\product\11.2.0\client_1\bin\orasnls11.dllrn0x000000000b1e0000 - 0x000000000c20a000 D:\app\administrator\product\11.2.0\client_1\bin\orageneric11.dllrn0x000000000c210000 - 0x000000000c7cb000 D:\app\administrator\product\11.2.0\client_1\bin\oraxml11.dllrn0x00000000750d0000 - 0x00000000751d9000 C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4940_none_88df89932faf0bf6\MSVCP80.dllrn。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。rnrnVM Arguments:rn<em>jvm</em>_args: -Xms2048m -Xmx2048m -XX:MaxNewSize=512m -XX:MaxPermSize=512m -Djava.util.logging.config.file=D:\apache-tomcat-6.0.26-windows-x64_mzdoctor\conf\logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=D:\apache-tomcat-6.0.26-windows-x64_mzdoctor\endorsed -Dcatalina.base=D:\apache-tomcat-6.0.26-windows-x64_mzdoctor -Dcatalina.home=D:\apache-tomcat-6.0.26-windows-x64_mzdoctor -Djava.io.tmpdir=D:\apache-tomcat-6.0.26-windows-x64_mzdoctor\temp rnjava_command: org.apache.catalina.startup.Bootstrap startrnLauncher Type: SUN_STANDARDrnrnEnvironment Variables:rnJAVA_HOME=C:\Program Files\Java\jdk1.6.0_19rnJRE_HOME=C:\Program Files\Java\jdk1.6.0_19rnCLASSPATH=D:\apache-tomcat-6.0.26-windows-x64_mzdoctor\bin\bootstrap.jarrnPATH=C:\Program Files\Java\jdk1.6.0_19\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\app\administrator\product\11.2.0\client_1\binrnUSERNAME=ztsysrnOS=Windows_NTrnPROCESSOR_IDENTIFIER=Intel64 Family 6 Model 15 Stepping 11, GenuineIntelrnrnrnrn--------------- S Y S T E M ---------------rnrnOS: Windows Server 2008 R2 Build 7601 Service Pack 1rnrnrntomcat运行一段时间就<em>崩溃</em>,求高手帮<em>分析</em>原因
jvm崩溃求助!!!!!!
自己写的java程序,做压力测试时,运行两小时出现JVM<em>崩溃</em>,以下为<em>崩溃</em>后产生的<em>日志</em>hs_err_pid1720.logrn连续三次测试都是<em>jvm</em><em>崩溃</em>,查了一天了也没查出来原因。求<em>帮忙</em><em>分析</em><em>崩溃</em>原因!!!rn#rn# A fatal error has been detected by the Java Runtime Environment:rn#rn# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c9715f7, pid=5304, tid=5376rn#rn# JRE version: 7.0_07-b11rn# Java VM: Java HotSpot(TM) Client VM (23.3-b01 mixed mode, sharing windows-x86 )rn# Problematic frame:rn# C [ntdll.dll+0x415f7] RtlSecondsSince1970ToTime+0x13drn#rn# Core dump written. Default location: D:\MTCLane\hs_err_pid5304.mdmprn#rn# If you would like to submit a bug report, please visit:rn# http://bugreport.sun.com/bugreport/crash.jsprn# The crash happened outside the Java Virtual Machine in native code.rn# See problematic frame for where to report the bug.rn#rnrn--------------- T H R E A D ---------------rnrnCurrent thread (0x03318800): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=5376, stack(0x03e00000,0x03e50000)]rnrnsiginfo: ExceptionCode=0xc0000005, reading address 0x00000000rnrnRegisters:rnEAX=0x00000000, EBX=0x000001f3, ECX=0x0312bfd0, EDX=0x00000000rnESP=0x03e4c590, EBP=0x03e4c7ac, ESI=0x0312ab40, EDI=0x0312b030rnEIP=0x7c9715f7, EFLAGS=0x00010246rnrnTop of Stack: (sp=0x03e4c590)rn0x03e4c590: 00000139 00031c00 000004e4 009709e8rn0x03e4c5a0: 7c959dc9 00000000 78ab014e 03e4c6e4rn0x03e4c5b0: 03e4c6e4 00000000 00000000 009709e8rn0x03e4c5c0: 7c959dc9 00080c00 00000002 00032400rn0x03e4c5d0: 00000000 00000000 00000000 00000000rn0x03e4c5e0: 00000000 00000000 6d009161 0312b030rn0x03e4c5f0: 00080c00 03119020 00080c00 0000000crn0x03e4c600: 03e4c6ac 00000000 00000000 0000001a rnrnInstructions: (pc=0x7c9715f7)rn0x7c9715d7: 0d 00 00 c0 e9 18 c2 fe ff 88 4f 05 8d 48 08 8brn0x7c9715e7: 11 89 95 68 ff ff ff 8b 40 0c 89 85 60 ff ff ffrn0x7c9715f7: 8b 00 3b 42 04 0f 85 18 ff ff ff 3b c1 0f 85 10rn0x7c971607: ff ff ff ff 75 b0 8b 75 e4 56 e8 e2 89 fe ff 8b rnrnrnRegister to memory mapping:rnrnEAX=0x00000000 is an unknown valuernEBX=0x000001f3 is an unknown valuernECX=0x0312bfd0 is an unknown valuernEDX=0x00000000 is an unknown valuernESP=0x03e4c590 is pointing into the stack for thread: 0x03318800rnEBP=0x03e4c7ac is pointing into the stack for thread: 0x03318800rnESI=0x0312ab40 is an unknown valuernEDI=0x0312b030 is an unknown valuernrnrnStack: [0x03e00000,0x03e50000], sp=0x03e4c590, free space=305krnNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)rnC [ntdll.dll+0x415f7] RtlSecondsSince1970ToTime+0x13drnC [msvcr100.dll+0x10269] malloc+0x36rnC [awt.dll+0x9a3f] Java_sun_java2d_loops_FillPath_FillPath+0x2e4frnrnJava frames: (J=compiled Java code, j=interpreted, Vv=VM code)rnJ sun.java2d.loops.FillPath.FillPath(Lsun/java2d/SunGraphics2D;Lsun/java2d/SurfaceData;IILjava/awt/geom/Path2D$Float;)VrnJ sun.java2d.pipe.LoopPipe.fill(Lsun/java2d/SunGraphics2D;Ljava/awt/Shape;)VrnJ sun.java2d.pipe.PixelToParallelogramConverter.fill(Lsun/java2d/SunGraphics2D;Ljava/awt/Shape;)VrnJ sun.java2d.pipe.ValidatePipe.fill(Lsun/java2d/SunGraphics2D;Ljava/awt/Shape;)VrnJ sun.java2d.SunGraphics2D.fill(Ljava/awt/Shape;)VrnJ javax.swing.border.LineBorder.paintBorder(Ljava/awt/Component;Ljava/awt/Graphics;IIII)VrnJ javax.swing.JComponent.paintBorder(Ljava/awt/Graphics;)VrnJ javax.swing.JComponent.paint(Ljava/awt/Graphics;)VrnJ javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)VrnJ javax.swing.JComponent.paint(Ljava/awt/Graphics;)VrnJ javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)VrnJ javax.swing.JComponent.paint(Ljava/awt/Graphics;)VrnJ javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)VrnJ javax.swing.JComponent.paint(Ljava/awt/Graphics;)VrnJ javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)VrnJ javax.swing.JComponent.paint(Ljava/awt/Graphics;)VrnJ javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)VrnJ javax.swing.JComponent.paint(Ljava/awt/Graphics;)VrnJ javax.swing.JComponent.paintToOffscreen(Ljava/awt/Graphics;IIIIII)VrnJ javax.swing.BufferStrategyPaintManager.paint(Ljavax/swing/JComponent;Ljavax/swing/JComponent;Ljava/awt/Graphics;IIII)ZrnJ javax.swing.RepaintManager.paint(Ljavax/swing/JComponent;Ljavax/swing/JComponent;Ljava/awt/Graphics;IIII)VrnJ javax.swing.JComponent._paintImmediately(IIII)VrnJ javax.swing.JComponent.paintImmediately(IIII)VrnJ javax.swing.RepaintManager.paintDirtyRegions(Ljava/util/Map;)VrnJ javax.swing.RepaintManager.paintDirtyRegions()VrnJ javax.swing.RepaintManager.prePaintDirtyRegions()VrnJ javax.swing.RepaintManager$ProcessingRunnable.run()VrnJ java.awt.event.InvocationEvent.dispatch()VrnJ java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)VrnJ java.awt.EventQueue$3.run()Ljava/lang/Object;rnv ~StubRoutines::call_stubrnJ java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;rnJ java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)VrnJ java.awt.EventDispatchThread.pumpOneEventForFilters(I)VrnJ java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)Vrnj java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11rnj java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4rnj java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3rnj java.awt.EventDispatchThread.run()V+9rnv ~StubRoutines::call_stubrnrn--------------- P R O C E S S ---------------rnrnJava Threads: ( => current thread )rn 0x034edc00 JavaThread "Timer-1" [_thread_blocked, id=5344, stack(0x04400000,0x04450000)]rn 0x034eac00 JavaThread "Thread-14" [_thread_blocked, id=5364, stack(0x043b0000,0x04400000)]rn 0x034dd800 JavaThread "Thread-13" [_thread_in_native, id=5400, stack(0x04360000,0x043b0000)]rn 0x034dbc00 JavaThread "Thread-12" [_thread_blocked, id=5396, stack(0x04310000,0x04360000)]rn 0x034cc000 JavaThread "Thread-11" [_thread_blocked, id=5392, stack(0x042c0000,0x04310000)]rn 0x034cb400 JavaThread "Thread-10" [_thread_blocked, id=5372, stack(0x04270000,0x042c0000)]rn 0x034ca400 JavaThread "Thread-9" [_thread_blocked, id=5384, stack(0x04220000,0x04270000)]rn 0x034b6000 JavaThread "Timer-0" [_thread_blocked, id=5380, stack(0x03ff0000,0x04040000)]rn=>0x03318800 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=5376, stack(0x03e00000,0x03e50000)]rn 0x03332c00 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5360, stack(0x03d10000,0x03d60000)]rn 0x03331000 JavaThread "AWT-Shutdown" [_thread_blocked, id=5340, stack(0x03cc0000,0x03d10000)]rn 0x0332fc00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=5100, stack(0x03c70000,0x03cc0000)]rn 0x032e9400 JavaThread "Thread-5" [_thread_blocked, id=5108, stack(0x03be0000,0x03c30000)]rn 0x032c5c00 JavaThread "Thread-4" [_thread_blocked, id=5776, stack(0x03960000,0x039b0000)]rn 0x032c3c00 JavaThread "pool-2-thread-4" [_thread_blocked, id=5788, stack(0x03910000,0x03960000)]rn 0x032bf000 JavaThread "pool-2-thread-3" [_thread_blocked, id=5792, stack(0x038c0000,0x03910000)]rn 0x032bac00 JavaThread "pool-2-thread-2" [_thread_blocked, id=5820, stack(0x03870000,0x038c0000)]rn 0x032b8c00 JavaThread "pool-2-thread-1" [_thread_blocked, id=5796, stack(0x03820000,0x03870000)]rn 0x032b7400 JavaThread "Win32SerialPort Notification thread" [_thread_in_native, id=5824, stack(0x037c0000,0x03810000)]rn 0x032b2400 JavaThread "Thread-3" [_thread_blocked, id=5800, stack(0x03770000,0x037c0000)]rn 0x032b1800 JavaThread "Win32SerialPort Notification thread" [_thread_in_vm, id=5804, stack(0x03710000,0x03760000)]rn 0x0319f800 JavaThread "Thread-1" [_thread_blocked, id=5672, stack(0x03200000,0x03250000)]rn 0x0319f000 JavaThread "Thread-0" [_thread_blocked, id=5148, stack(0x031b0000,0x03200000)]rn 0x02b88000 JavaThread "Service Thread" daemon [_thread_blocked, id=5844, stack(0x02f10000,0x02f60000)]rn 0x02b82c00 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=2640, stack(0x02ec0000,0x02f10000)]rn 0x02b81000 JavaThread "Attach Listener" daemon [_thread_blocked, id=5580, stack(0x02e70000,0x02ec0000)]rn 0x02b7f800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5836, stack(0x02e20000,0x02e70000)]rn 0x02b64000 JavaThread "Finalizer" daemon [_thread_blocked, id=5832, stack(0x02dd0000,0x02e20000)]rn 0x02b5f400 JavaThread "Reference Handler" daemon [_thread_blocked, id=5556, stack(0x02d80000,0x02dd0000)]rn 0x00978800 JavaThread "main" [_thread_blocked, id=5544, stack(0x009d0000,0x00a20000)]rnrnOther Threads:rn 0x02b5d800 VMThread [stack: 0x02d30000,0x02d80000] [id=5732]rn 0x02b8b000 WatcherThread [stack: 0x02f60000,0x02fb0000] [id=5848]rnrnVM state:not at safepoint (normal execution)rnrnVM Mutex/Monitor currently owned by a thread: NonernrnHeaprn def new generation total 7680K, used 7679K [0x22ac0000, 0x23310000, 0x28010000)rn eden space 6848K, 100% used [0x22ac0000, 0x23170000, 0x23170000)rn from space 832K, 99% used [0x23240000, 0x2330fff8, 0x23310000)rn to space 832K, 0% used [0x23170000, 0x23170000, 0x23240000)rn tenured generation total 16812K, used 10000K [0x28010000, 0x2907b000, 0x32ac0000)rn the space 16812K, 59% used [0x28010000, 0x289d4318, 0x289d4400, 0x2907b000)rn compacting perm gen total 12288K, used 3847K [0x32ac0000, 0x336c0000, 0x36ac0000)rn the space 12288K, 31% used [0x32ac0000, 0x32e81f58, 0x32e82000, 0x336c0000)rn ro space 10240K, 42% used [0x36ac0000, 0x36eff150, 0x36eff200, 0x374c0000)rn rw space 12288K, 54% used [0x374c0000, 0x37b3fad8, 0x37b3fc00, 0x380c0000)rnrnCard table byte_map: [0x02bd0000,0x02c80000] byte_map_base: 0x02abaa00rnrnPolling page: 0x00a20000rnrnCode Cache [0x00a50000, 0x00e58000, 0x02a50000)rn total_blobs=2319 nmethods=2068 adapters=185 free_code_cache=28654Kb largest_free_block=29340800rnrn
EXCEPTION_ACCESS_VIOLATION jvm崩溃
公司的JAVA cs程序最近出现了<em>崩溃</em>的情况,问题<em>日志</em>如下:rn通过<em>分析</em><em>日志</em>大概判断出是jna释放内存的时候出了问题,但具体是jna哪个地方出的问题,实在没有思路,求<em>大神</em>指教。rn因为公司的程序需要控制硬件已经获取电脑运行信息,jna在很多地方都有使用,实在没办法放弃jnarnrnrn#rn# A fatal error has been detected by the Java Runtime Environment:rn#rn# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77c2a61d, pid=460, tid=5088rn#rn# JRE version: Java(TM) SE Runtime Environment (8.0_20-b26) (build 1.8.0_20-b26)rn# Java VM: Java HotSpot(TM) Client VM (25.20-b23 mixed mode windows-x86 )rn# Problematic frame:rn# C [msvcrt.dll+0x1a61d]rn#rn# Failed to write core dump. Minidumps are not enabled by default on client versions of Windowsrn#rn# If you would like to submit a bug report, please visit:rn# http://bugreport.sun.com/bugreport/crash.jsprn# The crash happened outside the Java Virtual Machine in native code.rn# See problematic frame for where to report the bug.rn#rnrn--------------- T H R E A D ---------------rnrnCurrent thread (0x02d7d000): JavaThread "Finalizer" daemon [_thread_in_native, id=5088, stack(0x35590000,0x35610000)]rnrnsiginfo: ExceptionCode=0xc0000005, writing address 0x00000004rnrnRegisters:rnEAX=0x00031fd8, EBX=0x00000001, ECX=0x00000000, EDX=0x00000005rnESP=0x3560f788, EBP=0x3560f7a4, ESI=0x00000000, EDI=0x00000004rnEIP=0x77c2a61d, EFLAGS=0x00010202rnrnTop of Stack: (sp=0x3560f788)rn0x3560f788: 00000000 02d7d000 00863060 0003292crn0x3560f798: 00000000 00000020 00000060 3560f7e8rn0x3560f7a8: 77c2c25d 00031e90 0086303c 02d7d000rn0x3560f7b8: 3560f818 00000000 3560f7e4 6d21fac6rn0x3560f7c8: 02d7d000 00031e90 3560f7b4 3560f3acrn0x3560f7d8: 3560fa6c 77c35c94 77c12070 00000000rn0x3560f7e8: 3560f7f8 36126f01 00863060 00000042rn0x3560f7f8: 3560f828 00d2336b 02d7d138 3560f818 rnrnInstructions: (pc=0x77c2a61d)rn0x77c2a5fd: d3 ee f7 d6 21 b4 b8 c4 00 00 00 fe 4c 03 04 75rn0x77c2a60d: 06 8b 4d 08 21 71 04 8b 4d 0c 8b 71 08 8b 49 04rn0x77c2a61d: 89 4e 04 8b 4d 0c 8b 71 04 8b 49 08 89 4e 08 8brn0x77c2a62d: 75 0c eb 03 8b 5d 08 83 7d f4 00 75 08 3b da 0f rnrnrnRegister to memory mapping:rnrnEAX=0x00031fd8 is an unknown valuernEBX=0x00000001 is an unknown valuernECX=0x00000000 is an unknown valuernEDX=0x00000005 is an unknown valuernESP=0x3560f788 is pointing into the stack for thread: 0x02d7d000rnEBP=0x3560f7a4 is pointing into the stack for thread: 0x02d7d000rnESI=0x00000000 is an unknown valuernEDI=0x00000004 is an unknown valuernrnrnStack: [0x35590000,0x35610000], sp=0x3560f788, free space=509krnNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)rnC [msvcrt.dll+0x1a61d]rnC [msvcrt.dll+0x1c25d]rnC [jna2723299715027878645.dll+0x6f01]rnJ 3432 com.sun.jna.Native.free(J)V (0 bytes) @ 0x00d2336b [0x00d232e0+0x8b]rnj com.sun.jna.Memory.free(J)V+1rnj com.sun.jna.Memory.dispose()V+4rnj com.sun.jna.Memory.finalize()V+1rnj java.lang.System$2.invokeFinalize(Ljava/lang/Object;)V+1rnj java.lang.ref.Finalizer.runFinalizer(Lsun/misc/JavaLangAccess;)V+46rnJ 7399% C1 java.lang.ref.Finalizer$FinalizerThread.run()V (55 bytes) @ 0x00f0884c [0x00f085a0+0x2ac]rnv ~StubRoutines::call_stubrnV [<em>jvm</em>.dll+0x146735]rnV [<em>jvm</em>.dll+0x20c57e]rnV [<em>jvm</em>.dll+0x1467ce]rnV [<em>jvm</em>.dll+0x146956]rnV [<em>jvm</em>.dll+0x1469c7]rnV [<em>jvm</em>.dll+0xefeef]rnV [<em>jvm</em>.dll+0x168c5c]rnV [<em>jvm</em>.dll+0x1694ea]rnV [<em>jvm</em>.dll+0x1ae146]rnC [msvcr100.dll+0x5c556]rnC [msvcr100.dll+0x5c600]rnC [kernel32.dll+0xb50b]rnC 0x00000000rnrnJava frames: (J=compiled Java code, j=interpreted, Vv=VM code)rnJ 3432 com.sun.jna.Native.free(J)V (0 bytes) @ 0x00d23327 [0x00d232e0+0x47]rnj com.sun.jna.Memory.free(J)V+1rnj com.sun.jna.Memory.dispose()V+4rnj com.sun.jna.Memory.finalize()V+1rnj java.lang.System$2.invokeFinalize(Ljava/lang/Object;)V+1rnj java.lang.ref.Finalizer.runFinalizer(Lsun/misc/JavaLangAccess;)V+46rnJ 7399% C1 java.lang.ref.Finalizer$FinalizerThread.run()V (55 bytes) @ 0x00f0884c [0x00f085a0+0x2ac]rnv ~StubRoutines::call_stubrnrn--------------- P R O C E S S ---------------rnrnJava Threads: ( => current thread )rn 0x448c8c00 JavaThread "pool-1-thread-775" [_thread_blocked, id=20024, stack(0x37f60000,0x37fe0000)]rn 0x37016000 JavaThread "pool-1-thread-670" [_thread_blocked, id=16436, stack(0x488d0000,0x48950000)]rn 0x44628c00 JavaThread "pool-1-thread-667" [_thread_blocked, id=29512, stack(0x48650000,0x486d0000)]rn 0x37394c00 JavaThread "pool-1-thread-666" [_thread_blocked, id=4720, stack(0x47bc0000,0x47c40000)]rn 0x35b0bc00 JavaThread "pool-1-thread-663" [_thread_blocked, id=16144, stack(0x47a40000,0x47ac0000)]rn 0x445f9c00 JavaThread "pool-1-thread-662" [_thread_blocked, id=34080, stack(0x479c0000,0x47a40000)]rn 0x44651c00 JavaThread "pool-1-thread-603" [_thread_blocked, id=31272, stack(0x46f70000,0x46ff0000)]rn 0x448d9400 JavaThread "pool-1-thread-602" [_thread_blocked, id=34720, stack(0x463d0000,0x46450000)]rn 0x35e4e400 JavaThread "pool-1-thread-601" [_thread_blocked, id=34432, stack(0x45580000,0x45600000)]rn 0x376f3c00 JavaThread "pool-1-thread-599" [_thread_blocked, id=19804, stack(0x39030000,0x390b0000)]rn 0x372f7000 JavaThread "Thread-3" [_thread_blocked, id=232, stack(0x46ef0000,0x46f70000)]rn 0x37191400 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=9520, stack(0x46d20000,0x46da0000)]rn 0x35e4e800 JavaThread "pool-1-thread-62" [_thread_blocked, id=23944, stack(0x46b00000,0x46b80000)]rn 0x37292400 JavaThread "pool-1-thread-61" [_thread_blocked, id=21364, stack(0x46a80000,0x46b00000)]rn 0x4431b800 JavaThread "pool-1-thread-58" [_thread_blocked, id=424, stack(0x45780000,0x45800000)]rn 0x44315c00 JavaThread "pool-1-thread-57" [_thread_blocked, id=28560, stack(0x45700000,0x45780000)]rn 0x44315000 JavaThread "pool-1-thread-56" [_thread_blocked, id=30376, stack(0x45680000,0x45700000)]rn 0x377e9400 JavaThread "pool-1-thread-55" [_thread_blocked, id=21396, stack(0x45600000,0x45680000)]rn 0x4430b400 JavaThread "pool-1-thread-53" [_thread_blocked, id=30396, stack(0x45500000,0x45580000)]rn 0x377da400 JavaThread "pool-1-thread-52" [_thread_blocked, id=22372, stack(0x45480000,0x45500000)]rn 0x377c8c00 JavaThread "pool-1-thread-51" [_thread_blocked, id=33788, stack(0x45400000,0x45480000)]rn 0x37741400 JavaThread "pool-1-thread-50" [_thread_blocked, id=3392, stack(0x44280000,0x44300000)]rn 0x37730c00 JavaThread "pool-1-thread-49" [_thread_blocked, id=20652, stack(0x44200000,0x44280000)]rn 0x377ad000 JavaThread "pool-1-thread-48" [_thread_blocked, id=17824, stack(0x44180000,0x44200000)]rn 0x377c5800 JavaThread "pool-1-thread-47" [_thread_blocked, id=15268, stack(0x44100000,0x44180000)]rn 0x3779c400 JavaThread "Win32SerialPort Notification thread" [_thread_in_native, id=9084, stack(0x44070000,0x440f0000)]rn 0x37702800 JavaThread "pool-1-thread-46" [_thread_blocked, id=31172, stack(0x43ff0000,0x44070000)]rn 0x37718c00 JavaThread "DefaultQuartzScheduler_QuartzSchedulerThread" [_thread_blocked, id=4220, stack(0x43f10000,0x43f90000)]rn 0x37679000 JavaThread "DefaultQuartzScheduler_Worker-10" [_thread_blocked, id=16632, stack(0x43e90000,0x43f10000)]rn 0x37303800 JavaThread "DefaultQuartzScheduler_Worker-9" [_thread_blocked, id=17360, stack(0x43e10000,0x43e90000)]rn 0x37302400 JavaThread "DefaultQuartzScheduler_Worker-8" [_thread_blocked, id=5080, stack(0x43d90000,0x43e10000)]rn 0x37300c00 JavaThread "DefaultQuartzScheduler_Worker-7" [_thread_blocked, id=30724, stack(0x43d10000,0x43d90000)]rn 0x372f3400 JavaThread "DefaultQuartzScheduler_Worker-6" [_thread_blocked, id=15836, stack(0x43c90000,0x43d10000)]rn 0x372dd400 JavaThread "DefaultQuartzScheduler_Worker-5" [_thread_blocked, id=4708, stack(0x43c10000,0x43c90000)]rn 0x372dc400 JavaThread "DefaultQuartzScheduler_Worker-4" [_thread_blocked, id=26248, stack(0x43b90000,0x43c10000)]rn 0x372d9c00 JavaThread "DefaultQuartzScheduler_Worker-3" [_thread_blocked, id=1972, stack(0x43b10000,0x43b90000)]rn 0x372d9000 JavaThread "DefaultQuartzScheduler_Worker-2" [_thread_blocked, id=10436, stack(0x43a90000,0x43b10000)]rn 0x372d8400 JavaThread "DefaultQuartzScheduler_Worker-1" [_thread_blocked, id=26264, stack(0x43a10000,0x43a90000)]rn 0x372b7400 JavaThread "pool-1-thread-45" [_thread_in_native, id=19840, stack(0x43320000,0x433a0000)]rn 0x370f9400 JavaThread "pool-1-thread-44" [_thread_blocked, id=11548, stack(0x432a0000,0x43320000)]rn 0x370d6400 JavaThread "pool-1-thread-43" [_thread_blocked, id=21296, stack(0x43220000,0x432a0000)]rn 0x370d5000 JavaThread "pool-1-thread-42" [_thread_in_native, id=24564, stack(0x431a0000,0x43220000)]rn 0x370d4000 JavaThread "pool-1-thread-41" [_thread_blocked, id=26776, stack(0x43120000,0x431a0000)]rn 0x3704fc00 JavaThread "pool-1-thread-40" [_thread_blocked, id=19916, stack(0x430a0000,0x43120000)]rn 0x35e4b800 JavaThread "pool-1-thread-39" [_thread_blocked, id=25760, stack(0x43020000,0x430a0000)]rn 0x370d0400 JavaThread "pool-1-thread-38" [_thread_blocked, id=26140, stack(0x42fa0000,0x43020000)]rn 0x370cbc00 JavaThread "pool-1-thread-37" [_thread_blocked, id=29536, stack(0x42f20000,0x42fa0000)]rn 0x35700400 JavaThread "pool-1-thread-36" [_thread_blocked, id=10592, stack(0x42ea0000,0x42f20000)]rn 0x35e38c00 JavaThread "pool-1-thread-35" [_thread_blocked, id=18960, stack(0x38520000,0x385a0000)]rn 0x35e38000 JavaThread "pool-1-thread-34" [_thread_blocked, id=13884, stack(0x37be0000,0x37c60000)]rn 0x35e37400 JavaThread "pool-1-thread-33" [_thread_blocked, id=14664, stack(0x36ad0000,0x36b50000)]rn 0x37637000 JavaThread "hartBitThread" [_thread_blocked, id=26628, stack(0x418c0000,0x41940000)]rn 0x3721a800 JavaThread "pool-1-thread-29" [_thread_blocked, id=6196, stack(0x39740000,0x397c0000)]rn 0x37219c00 JavaThread "pool-1-thread-28" [_thread_blocked, id=25560, stack(0x396c0000,0x39740000)]rn 0x371ff400 JavaThread "Thread-6" [_thread_blocked, id=32820, stack(0x395c0000,0x39640000)]rn 0x3720e400 JavaThread "pool-1-thread-27" [_thread_blocked, id=18732, stack(0x39540000,0x395c0000)]rn 0x371fd000 JavaThread "pool-1-thread-26" [_thread_blocked, id=11456, stack(0x394c0000,0x39540000)]rn 0x371fc000 JavaThread "Win32SerialPort Notification thread" [_thread_in_native, id=25648, stack(0x39430000,0x394b0000)]rnrn
jusb 导致jvm崩溃
最近使用jusb开发了一个监听usb端口的程序,当启动这个监听线程时,<em>jvm</em>运行一段时间后<em>jvm</em>就<em>崩溃</em>了。rn我<em>分析</em>了<em>日志</em>记录,排除了<em>jvm</em>内存溢出和程序错误。<em>日志</em>记录明确说是运行<em>jvm</em>代码时出错了。有哪位高手青<em>帮忙</em><em>分析</em>下我的错误<em>日志</em>。(我尝试过jdk1.5 1.6两个版本运行都会出现这个问题)rnrn<em>日志</em>文件内容如下:(jdk1.5下运行错误<em>日志</em>)rn[code=Java]rn#rn# An unexpected error has been detected by HotSpot Virtual Machine:rn#rn# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00ae645b, pid=3900, tid=5428rn#rn# Java VM: Java HotSpot(TM) Client VM (1.5.0_01-b08 mixed mode, sharing)rn# Problematic frame:rn# j usb.windows.Windows.getHostControllerName(Ljava/lang/String;)Ljava/lang/String;+0rn#rnrn--------------- T H R E A D ---------------rnrnCurrent thread (0x034e66e8): JavaThread "USB-Watcher" [_thread_in_Java, id=5428]rnrnsiginfo: ExceptionCode=0xc0000005, reading address 0xccccccccrnrnRegisters:rnEAX=0xcccccccc, EBX=0x26cc2290, ECX=0x00ae6453, EDX=0x034e67a4rnESP=0x0398fbe8, EBP=0x0398fc08, ESI=0x26cc2290, EDI=0x034e66e8rnEIP=0x00ae645b, EFLAGS=0x00010286rnrnTop of Stack: (sp=0x0398fbe8)rn0x0398fbe8: 00ae8539 0398fbec 00000000 0398fc18rn0x0398fbf8: 26cc2c18 00000000 26cc2290 0398fc18rn0x0398fc08: 0398fc38 00ae29fa 26cc26c0 00ae6453rn0x0398fc18: 22ae5048 0398fc1c 26cc4561 0398fc60rn0x0398fc28: 26cc4cd8 00000000 26cc4670 0398fc58rn0x0398fc38: 0398fcb0 00be6d98 00000000 00000000rn0x0398fc48: 00000000 00000000 00000000 00000000rn0x0398fc58: 00000001 22ae5048 23033880 034e66e8 rnrnInstructions: (pc=0x00ae645b)rn0x00ae644b: dd 04 24 83 c4 08 51 c3 85 c0 0f 84 02 00 00 00rn0x00ae645b: 8b 00 c3 90 90 80 00 00 00 34 20 7f 6d 00 00 00 rnrnrnStack: [0x03950000,0x03990000), sp=0x0398fbe8, free space=254krnNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)rnj usb.windows.Windows.getHostControllerName(Ljava/lang/String;)Ljava/lang/String;+0rnj usb.windows.Windows$Watcher.mkBus(Ljava/lang/String;I)V+1rnJ usb.windows.Windows$Watcher.scan()Vrnv ~RuntimeStub::alignment_frame_return Runtime1 stubrnj usb.windows.Windows$Watcher.run()V+21rnj java.lang.Thread.run()V+11rnv ~StubRoutines::call_stubrnV [<em>jvm</em>.dll+0x8176e]rnV [<em>jvm</em>.dll+0xd481d]rnV [<em>jvm</em>.dll+0x8163f]rnV [<em>jvm</em>.dll+0x8139c]rnV [<em>jvm</em>.dll+0x9c05c]rnV [<em>jvm</em>.dll+0xfeece]rnV [<em>jvm</em>.dll+0xfee9c]rnC [MSVCRT.dll+0x2a3b0]rnC [kernel32.dll+0xb729]rnrnrn--------------- P R O C E S S ---------------rnrnJava Threads: ( => current thread )rn 0x02e437e8 JavaThread "Thread-2542" [_thread_blocked, id=3148]rn 0x02dd7c48 JavaThread "Thread-2541" [_thread_blocked, id=2164]rn=>0x034e66e8 JavaThread "USB-Watcher" [_thread_in_Java, id=5428]rn 0x003c7cb8 JavaThread "DestroyJavaVM" [_thread_blocked, id=680]rn 0x034e4128 JavaThread "Thread-9" [_thread_in_native, id=4948]rn 0x03468ca0 JavaThread "Thread-8" [_thread_in_native, id=4284]rn 0x0341c798 JavaThread "AWT-Windows" daemon [_thread_in_native, id=4876]rn 0x0341bb98 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2448]rn 0x02e1b738 JavaThread "Thread-5" [_thread_in_Java, id=3872]rn 0x02e9e3e0 JavaThread "Thread-4" [_thread_blocked, id=1100]rn 0x00abbc40 JavaThread "Thread-3" [_thread_in_native, id=3236]rn 0x00add740 JavaThread "Thread-2" [_thread_in_native, id=4972]rn 0x00ab5c98 JavaThread "Thread-1" [_thread_blocked, id=2836]rn 0x00aa5e28 JavaThread "Thread-0" [_thread_blocked, id=6024]rn 0x00a80140 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1708]rn 0x00a7ee48 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3136]rn 0x00a7e060 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5908]rn 0x00a791e8 JavaThread "Finalizer" daemon [_thread_blocked, id=2348]rn 0x00a57cd0 JavaThread "Reference Handler" daemon [_thread_blocked, id=4268]rnrn[/code]rnrnrnrn
查看JVM的GC日志
Java GC类型 Java中的GC有哪几种类型?   参数 描述 UseSerialGC 虚拟机运行在Client模式的默认值,打开此开关参数后, 使用Serial+Serial Old收集器组合进行垃圾收集。 UseParNewGC 打开此开关参数后,使用ParNew...
JVM学习日志
1、大多数情况下,死锁都是由于获取锁的顺序错误导致。   2、/usr/java/jdk1.8.0_45/bin/java -XX:+PrintCommandLineFlags -version 查看JVM自动优化的默认配置值   3、查看运行JVM进程参数:jcmd 22793 VM.flags   ...
JVM命令行选项及GC日志
一、设置参数 在使用eclipse编译器的时候,可以采用以下的运行方式来设置虚拟机的参数: 具体参数的设置: 这里先以打印回收时间,回收信息为例 二、打印信息解释: 三、一些常用的<em>jvm</em>参数 -XX:+PrintGCTimeStamps: 打印此次垃圾回收距离<em>jvm</em>开始运行的所耗时间 -XX:+Pr
第四篇:jvm之GC日志
1.33.125、100.667代表GC发生的时间,这个数字的含义是从java虚拟机启动以来经历的秒数。2. GC/Full GC:代表此次垃圾回收的类型,GC表示发生了Stop The World。3.System.gc():【Full GC(System)】4.发生回收都区域:DefNew:Serial收集器的新生代名称。ParNew:ParNew收集器新生代名称。PSYoungGen...
JVM - GC日志-各种failure 问题的分析
本测试JDK版本 ,由于1.7之前和之后方法区做了很多调整,目前改用meta space(元空间),直接内存分配啦 java version "1.8.0_144" Java(TM) SE Runtime Environment (build 1.8.0_144-b01) Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mo...
JVM GC日志(一)
1.JVM启动参数-Xloggc:D:/gc.log <em>日志</em>文件保存的路径 -XX:+PrintGCDetails 打印回收详情 -XX:+PrintGCTimeStamps 打印JVM执行时间 -XX:+UseSerialGC 指定JVM使用串行垃圾收集器2.执行代码public class
JVM学习之GC日志
-XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:d:/gc_log/gc.log package com.tets; public class ReferenceCountingGC { public Object instance = null; private static final int _1MB =
JVM GC日志开启
Gc<em>日志</em>可以输出的文件中,通过设置-Xverbosegclog参数,指定对应文件名,虚拟机会把Gc<em>日志</em>输出到该文件: -Xverbosegclog: Prints out information about garbage collections to a file. If the integers X and Y are specified, the output is redirecte...
JVM GC日志时间问题
几乎所有的资料上说到打印JVM GC log的时候都会推荐一个参数: -XX:+PrintGCTimeStamps, 可该选项打印的是JVM以启动时间为基准的相对时间,对于troubleshooting来说非常困难。早在07年的时候就有人提出来并且早已fix,用法是使用 PrintGCDateStamps 代替PrintGCTimeStamps,打印出来的就是真实的日期了   示例如下...
jvm GC日志解读
1.Parallel Scavenge 这是一款年轻代GC器。 293.271: [GC [PSYoungGen: 300865K->6577K(310720K)] 392829K->108873K(417472K), 0.0176464 secs] [Times: user=0.06 sys=0.00, real=0.01 secs] 每行是一次GC的信息,以本条为例,解读如下。 293.
jvm日志解读
NULL 博文链接:https://zgit-eye.iteye.com/blog/2018412
JVM的GC日志
http://www.importnew.com/15722.html (在运行时开启GC<em>日志</em>)         我们经常会遇到JVM运行时出错的情况。若能在启动时加入一些启动选项(startup option),便可以获取与bug相关的重要线索,从而有希望根治它们。但在实际操作时,我们总是忘记添加-XX:+HeapDumpOnOutOfMemoryError 或 -XX:+Prin...
JVM:GC日志
如何启动GC<em>日志</em>启动JVM时加上如下参数-verbose:gc -Xloggc:/gc.log -XX:+PrintGCDetails -XX:PrintGCDateStamps -verbose:gc标识输出GC相关信息 -Xloggc:/gc.log指定GC<em>日志</em>存放的文件路径 -XX:+PrintGCDetails标识输出GC详情 -XX:+PrintGCDateStamps表示<em>日志</em>中输出GC的
jvm GC日志详解
首先我们来介绍什么事GC:   Java GC(Garbage Collection,垃圾收集,垃圾回收)机制,是Java与C++/C的主要区别之一,作为Java开发者,一般不需要专门编写内存回收和垃圾清理代码,对内存泄露和溢出的问题,也不需要像C程序员那样战战兢兢。这是因为在Java虚拟机中,存在自动内存管理和垃圾清扫机制。概括地说,该机制对JVM(Java Virtual Machin...
JVM内存日志
用java内存监控工具生成的JVM内存<em>日志</em>,用jmap生成的
JVM GC日志解析
JVM GC<em>日志</em>经常要检查,可以提前发现问题。 import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.InputStreamReader; import java.sql.Connection; import java.sql.DriverManage...
JVM实战-JVM类加载机制案例分析
JVM实战-JVM类加载机制案例<em>分析</em>
JVM异常日志的信息提取(如何看懂jvm日志
前两天运行自己的项目的时候发生了<em>jvm</em>异常,并在项目目录下生成了一个hs_err_pid8720.log文件。 这是<em>jvm</em>发生异常时产生异常<em>日志</em>文件的默认格式:hs_err_pid**.log文件。 文件内部的信息肯定能帮助我们发现一些端倪,但是由于我水平有限一点也看不懂就在网上查找如何看<em>jvm</em>的异常<em>日志</em>。就发现两个大佬的博客写的都不错,但是他俩写的都相对不太全面。(比我肯定是强太多)就把他两...
【JVM调优系列】----CPU过高的分析解决方案
问题描述          服务器是8核32G的,也就是说同时可用的共有8个CPU,一个CPU可以使用高达100%,8个CPU的话可以高达800%。前两天发现了一个CPU过高的问题,平时项目运行CPU也就是在10%,但是前两天发布之后突然发现CPU一直在200%左右打转,一直稳高不降。下面的例子只是参考(当时的情况没有截图o(╯□╰)o)。执行top命令查看占用CPU高的进程。top -
有关JVM的GC日志,大家帮忙分析啊!
ESIN+MYSQL.操作系统为:WINDOWS2008 R2 内存8G,CPU:8核,JDK为:64位1.6.43版。rnrn目前出现系统运行一段时间出现GC<em>日志</em>异常,出现FULLGC.rnrnJVM的配置如下。rnrn rn -Xmx1200mrn -Xms1200mrn -Xss512krnrn rnrn -XX:MaxNewSize=128mrn -XX:MaxPermSize=256m rn -XX:NewRatio=4rn -Xloggc:log/gc.logrn -XX:+UseConcMarkSweepGCrn -XX:+CMSPermGenSweepingEnabled rn -XX:+CMSClassUnloadingEnabledrn -XX:MaxTenuringThreshold=3rn -XX:+PrintGCTimeStampsrn -XX:+PrintGCDetailsrn -XX:+PrintTenuringDistributionrn -XX:+HeapDumpOnOutOfMemoryErrorrnrnrnrnrn一开始GC<em>日志</em>比较正常。rn59.232: [GC 59.232: [ParNewrnDesired survivor size 6684672 bytes, new threshold 3 (max 3)rn- age 1: 1170248 bytes, 1170248 totalrn- age 2: 3916208 bytes, 5086456 totalrn- age 3: 1321072 bytes, 6407528 totalrn: 115773K->11181K(118016K), 0.0120487 secs] 201967K->100568K(1420544K), 0.0121367 secs] [Times: user=0.08 sys=0.00, real=0.02 secs] rn60.389: [GC 60.389: [ParNewrnDesired survivor size 6684672 bytes, new threshold 3 (max 3)rn- age 1: 639824 bytes, 639824 totalrn- age 2: 1151240 bytes, 1791064 totalrn- age 3: 3914080 bytes, 5705144 totalrn: 116141K->7365K(118016K), 0.0075017 secs] 205528K->98052K(1420544K), 0.0075795 secs] [Times: user=0.02 sys=0.00, real=0.02 secs] rnrn
jvm大神链接
https://rednaxelafx.iteye.com/blog
JVM系列三:JVM参数设置、分析
学习笔记,转自:http://www.cnblogs.com/redcreen/archive/2011/05/04/2037057.html
JVM乱码解决方案
JVM编译及运行出现乱码: <em>jvm</em>编译java文件时,如果文件中包含中文,则编译结果提示出现乱码 此时需要添加 系统变量:JAVA_TOOL_OPTIONS,值位-Dfile.encoding=UTF-8 此时运行出错会报乱码,需要增加用户环境变量 用户变量:LANG,值位-Dfile.encoding=UTF-8...
JVM崩溃,高手救命啊!
#rn# An unexpected error has been detected by HotSpot Virtual Machine:rn#rn# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77216796, pid=5604, tid=1692rn#rn# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)rn# Problematic frame:rn# C [ntdll.dll+0x66796]rn#rn--------------- T H R E A D ---------------rnrnCurrent thread (0x6a3b4cd8): JavaThread "EnterpriseRequestProcMainThread" [_thread_in_vm, id=1692]rnrnsiginfo: ExceptionCode=0xc0000005, writing address 0x03c80000rnrnRegisters:rnEAX=0x03c80000, EBX=0x3f9e6a93, ECX=0x06b6084f, EDX=0x000006b6rnESP=0x6b9de6fc, EBP=0x6b9de730, ESI=0x6a44f556, EDI=0x3f9e0000rnEIP=0x77216796, EFLAGS=0x00010202rnrnTop of Stack: (sp=0x6b9de6fc)rn0x6b9de6fc: 00000000 00950000 6a91fec0 0000009drn0x6b9de70c: 00000008 00026a92 06b6004c 0000000ern0x6b9de71c: 6d7af8ee 01c88750 286001c5 00000001rn0x6b9de72c: 6a91feb8 6b9de744 772166ea 6a91fec0rn0x6b9de73c: 6a91fef0 000000e6 6b9de758 76bc9a26rn0x6b9de74c: 00950000 00000000 6a91feb8 6b9de7a4rn0x6b9de75c: 76619c03 00950000 00000000 6a91fec0rn0x6b9de76c: c84ff1c4 6a91fef0 6a92f370 000000e6 rnrnInstructions: (pc=0x77216796)rn0x77216786: c1 ea 10 0b df 0b c8 8b 06 c7 45 f8 01 00 00 00rn0x77216796: 89 30 8b 45 e0 8b 55 e4 8d 7e 08 f0 0f c7 0f 3b rnrnrnStack: [0x6b8e0000,0x6b9e0000), sp=0x6b9de6fc, free space=1017krnNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)rnC [ntdll.dll+0x66796]rnC [ntdll.dll+0x666ea]rnC [kernel32.dll+0x49a26]rnC [MSVCRT.dll+0x9c03]rnV [<em>jvm</em>.dll+0xd5f69]rnV [<em>jvm</em>.dll+0x49d9e]rnV [<em>jvm</em>.dll+0x4b3e5]rnV [<em>jvm</em>.dll+0xfc0a5]rnV [<em>jvm</em>.dll+0x9b1d4]rnV [<em>jvm</em>.dll+0x9b247]rnC [java.dll+0x15c0]rnj java.lang.ClassLoader.defineClass1(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class;+0rnj java.lang.ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;+34rnj java.security.SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;+27rnj java.net.URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+253rnj java.net.URLClassLoader.access$100(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+3rnj java.net.URLClassLoader$1.run()Ljava/lang/Object;+43rnv ~StubRoutines::call_stubrnV [<em>jvm</em>.dll+0x845a9]rnV [<em>jvm</em>.dll+0xd9317]rnV [<em>jvm</em>.dll+0x8447a]rnC [java.dll+0x1061]rnj java.net.URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+13rnj java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+43rnj sun.misc.Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+36rnj java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3rnj java.lang.ClassLoader.loadClassInternal(Ljava/lang/String;)Ljava/lang/Class;+2rnv ~StubRoutines::call_stubrnV [<em>jvm</em>.dll+0x845a9]rnV [<em>jvm</em>.dll+0xd9317]rnV [<em>jvm</em>.dll+0x8447a]rnV [<em>jvm</em>.dll+0x84322]rnV [<em>jvm</em>.dll+0xfc494]rnV [<em>jvm</em>.dll+0xfbd45]rnV [<em>jvm</em>.dll+0xfb883]rnV [<em>jvm</em>.dll+0xfb78f]rnV [<em>jvm</em>.dll+0xa17b4]rnV [<em>jvm</em>.dll+0x9abb2]rnC [java.dll+0x13d8]rnj java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;+0rnJ com.hundsun.client.thread.ds.EnterpriseRequestProcMainThread.run()Vrnv ~StubRoutines::call_stubrnV [<em>jvm</em>.dll+0x845a9]rnV [<em>jvm</em>.dll+0xd9317]rnV [<em>jvm</em>.dll+0x8447a]rnV [<em>jvm</em>.dll+0x841d7]rnV [<em>jvm</em>.dll+0x9ed69]rnV [<em>jvm</em>.dll+0x109fe3]rnV [<em>jvm</em>.dll+0x109fb1]rnC [MSVCRT.dll+0x22599]rnC [MSVCRT.dll+0x226b3]rnC [kernel32.dll+0x4d0e9]rnC [ntdll.dll+0x419bb]rnC [ntdll.dll+0x4198e]rnrnJava frames: (J=compiled Java code, j=interpreted, Vv=VM code)rnj java.lang.ClassLoader.defineClass1(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class;+0rnj java.lang.ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;+34rnj java.security.SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;+27rnj java.net.URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+253rnj java.net.URLClassLoader.access$100(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+3rnj java.net.URLClassLoader$1.run()Ljava/lang/Object;+43rnv ~StubRoutines::call_stubrnj java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0rnj java.net.URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+13rnj java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+43rnj sun.misc.Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+36rnj java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3rnj java.lang.ClassLoader.loadClassInternal(Ljava/lang/String;)Ljava/lang/Class;+2rnv ~StubRoutines::call_stubrnj java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;+0rnJ com.hundsun.client.thread.ds.EnterpriseRequestProcMainThread.run()Vrnv ~StubRoutines::call_stubrnrn--------------- P R O C E S S ---------------rnrnJava Threads: ( => current thread )rn=>0x6a3b4cd8 JavaThread "EnterpriseRequestProcMainThread" [_thread_in_vm, id=1692]rn 0x6a264260 JavaThread "EnterpriseRequestProcMainThread" [_thread_blocked, id=5204]rn 0x6aa33c08 JavaThread "EnterpriseRequestProcMainThread" [_thread_blocked, id=3352]rn 0x6a300008 JavaThread "EnterpriseRequestProcMainThread" [_thread_blocked, id=4840]rn 0x6a9056d0 JavaThread "EnterpriseRequestProcMainThread" [_thread_blocked, id=5684]rn 0x6a8aeaf0 JavaThread "EnterpriseRequestProcMainThread" [_thread_blocked, id=4656]rn 0x6a921f30 JavaThread "EnterpriseRequestProcMainThread" [_thread_blocked, id=788]rn 0x6a270ba0 JavaThread "Timer-1" daemon [_thread_blocked, id=3432]rn 0x009579f0 JavaThread "DestroyJavaVM" [_thread_blocked, id=5464]rn 0x6a905208 JavaThread "Thread-1" [_thread_in_native, id=2504]rn 0x6a905080 JavaThread "Thread-0" [_thread_in_native, id=340]rn 0x6a257fa0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3824]rn 0x6a2569d0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5240]rn 0x6a255e28 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3968]rn 0x01d43f60 JavaThread "Finalizer" daemon [_thread_blocked, id=5196]rn 0x01d425d8 JavaThread "Reference Handler" daemon [_thread_blocked, id=5032]rnrnOther Threads:rn 0x01d3fd50 VMThread [id=2292]rn 0x01d03828 WatcherThread [id=4508]rnrnVM state:not at safepoint (normal execution)rnrnVM Mutex/Monitor currently owned by a thread: NonernrnHeaprn def new generation total 108864K, used 73461K [0x03d50000, 0x0b370000, 0x0b370000)rn eden space 96768K, 75% used [0x03d50000, 0x0850cc18, 0x09bd0000)rn from space 12096K, 0% used [0x09bd0000, 0x09bd0808, 0x0a7a0000)rn to space 12096K, 0% used [0x0a7a0000, 0x0a7a0000, 0x0b370000)rn tenured generation total 1451904K, used 566K [0x0b370000, 0x63d50000, 0x63d50000)rn the space 1451904K, 0% used [0x0b370000, 0x0b3fda90, 0x0b3fdc00, 0x63d50000)rn compacting perm gen total 8192K, used 4878K [0x63d50000, 0x64550000, 0x67d50000)rn the space 8192K, 59% used [0x63d50000, 0x64213940, 0x64213a00, 0x64550000)rnNo shared spaces configured.rnrnDynamic libraries:rn0x00400000 - 0x0040c000 E:\share\zjkcx\dswork\Java\jdk1.5.0_06\bin\java.exern0x771b0000 - 0x772d7000 C:\Windows\system32\ntdll.dllrn0x76b80000 - 0x76c5c000 C:\Windows\system32\kernel32.dllrn0x75a30000 - 0x75af6000 C:\Windows\system32\ADVAPI32.dllrn0x768d0000 - 0x76993000 C:\Windows\system32\RPCRT4.dllrn0x76610000 - 0x766ba000 C:\Windows\system32\MSVCRT.dllrn0x6d6e0000 - 0x6d874000 E:\share\zjkcx\dswork\Java\jdk1.5.0_06\jre\bin\client\<em>jvm</em>.dllrn0x77110000 - 0x771ad000 C:\Windows\system32\USER32.dllrn0x77390000 - 0x773db000 C:\Windows\system32\GDI32.dllrn0x73d20000 - 0x73d52000 C:\Windows\system32\WINMM.dllrn0x76ef0000 - 0x77035000 C:\Windows\system32\ole32.dllrn0x76c60000 - 0x76ced000 C:\Windows\system32\OLEAUT32.dllrn0x73c70000 - 0x73ca9000 C:\Windows\system32\OLEACC.dllrn0x772e0000 - 0x772fe000 C:\Windows\system32\IMM32.DLLrn0x76df0000 - 0x76eb8000 C:\Windows\system32\MSCTF.dllrn0x75830000 - 0x7585c000 C:\Windows\system32\apphelp.dllrn0x76ee0000 - 0x76ee9000 C:\Windows\system32\LPK.DLLrn0x76850000 - 0x768cd000 C:\Windows\system32\USP10.dllrn0x6d2f0000 - 0x6d2f8000 E:\share\zjkcx\dswork\Java\jdk1.5.0_06\jre\bin\hpi.dllrn0x75a20000 - 0x75a27000 C:\Windows\system32\PSAPI.DLLrn0x6d6b0000 - 0x6d6bc000 E:\share\zjkcx\dswork\Java\jdk1.5.0_06\jre\bin\verify.dllrn0x6d370000 - 0x6d38d000 E:\share\zjkcx\dswork\Java\jdk1.5.0_06\jre\bin\java.dllrn0x6d6d0000 - 0x6d6df000 E:\share\zjkcx\dswork\Java\jdk1.5.0_06\jre\bin\zip.dllrn0x6d530000 - 0x6d543000 E:\share\zjkcx\dswork\Java\jdk1.5.0_06\jre\bin\net.dllrn0x773e0000 - 0x7740d000 C:\Windows\system32\WS2_32.dllrn0x76ec0000 - 0x76ec6000 C:\Windows\system32\NSI.dllrn0x75020000 - 0x7505b000 C:\Windows\system32\mswsock.dllrn0x75130000 - 0x75135000 C:\Windows\System32\wship6.dllrn0x74d00000 - 0x74d05000 C:\Windows\System32\wshtcpip.dllrn0x008c0000 - 0x008d1000 E:\share\zjkcx\dswork\Java\jdk1.5.0_06\bin\javasafeengine.dllrn0x008e0000 - 0x0090b000 C:\Windows\system32\SafeEngine.dllrn0x73820000 - 0x73827000 C:\Windows\system32\WSOCK32.dllrnrnVM Arguments:rn<em>jvm</em>_args: -Xms1536M -Xmx1536M -Xss1024Krnjava_command: eafs.jarrnLauncher Type: SUN_STANDARDrnrnEnvironment Variables:rnJAVA_HOME=E:\share\zjkcx\dswork\Java\jdk1.5.0_06rnPATH=E:\share\zjkcx\dswork\Java\jdk1.5.0_06/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;E:\Program Files\Java\jdk1.6.0_45\binrnUSERNAME=AdministratorrnOS=Windows_NTrnPROCESSOR_IDENTIFIER=x86 Family 6 Model 44 Stepping 2, GenuineIntelrn--------------- S Y S T E M ---------------rnrnOS: Windows NT 6.0 Build 6002 Service Pack 2rnrnCPU:total 8 family 6, cmov, cx8, fxsr, mmx, sse, sse2, htrnrnMemory: 4k page, physical 2097151k(2097151k free), swap 4194303k(4194303k free)rnrnvm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86, built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0rn
浅析JVM崩溃的原因及解决方法
最近发现用了很久的JNI接口,今天突然有<em>崩溃</em>的现象。 <em>分析</em>和解决办法: http://developer.51cto.com/art/200907/135694_all.htm http://www.cnblogs.com/shiyangxt/archive/2009/01/06/1370627.html http://www.ibm.com/developerworks/cn/jav...
jvm崩溃查询(持续关注)
前提:<em>jvm</em>秒<em>崩溃</em>,tomcat没有异常<em>日志</em>(挂的时间之后就没有任何<em>日志</em>了) 查看<em>崩溃</em><em>日志</em>(hs_err_pid***.log),没有详细记录,非常之简练,完全没法查问题 # # A fatal error has been detected by the Java Runtime Environment: # #  SIGBUS (0x7) at pc=0x00007f0e9d0523
【JVM】JVM进阶之JVM运行机制
JVM的启动流程: JVM的基本结构: PC寄存器: §每个线程拥有一个PC寄存器,(每个线程起来的时候都会创建一个PC寄存器) - PC寄存器总是会指向下一条指令的地址(这样程序在执行过程中,就知道下一步需要做什么) - 在执行本地方法的时候,PC寄存器的值就是未定义的 § 在每个线程创建时创建 § 指向下一条指令的地址方法区:(方法区是用来保存类的源信息的,对类进行描述)
大神帮忙分析
数据库中有很多账单,想知道这些账单中哪两种商品的组合谁最高的应该怎么<em>分析</em>。其中这些商品都是零散的卖的
大神帮忙分析。。
题目 ;利用正则和鼠标事件,写一个过滤HTML标签的文本域控件,如果在文本域中输入html标签,当光标一旦离开文本域,则其中所有html会自动消失。
jvm开发实战项目案例分析
<em>jvm</em>开发实战项目案例<em>分析</em>
JVM堆溢出分析
堆溢出<em>分析</em> -XX:+HeapDumpOnOutOfMemoryError 在溢出时,导出整个堆信息 -XX:HeapDumpPath 设置导出的存放路径 内存<em>分析</em>工具 Memory Analyzer package com.bjsxt.base001; import java.util.Vector; public class Test03 { public st...
JVM gc参数设置与分析
来自:http://hi.baidu.com/i1see1you/blog/item/7ba0d250c30131481038c20c.html 一.概述 java的最大好处是自动垃圾回收,这样就无需我们手动的释放对象空间了,但是也产生了相应的负效果,gc是需要时间和资源的,不好的gc会严重影响系统的系能,因此良好的gc是JVM的高性能的保证。JVM堆分为新生代,旧生代和年老代,新生代可用...
分析jvm线程堆栈
目录 一、java线程状态 二、使用jstack生成进程dump文件 三、统计dump文件中处于不同状态的线程数量 四、举例<em>分析</em>不同状态的线程 1、<em>分析</em>BLOCKED (on object monitor)状态的线程 2、<em>分析</em>TIMED_WAITING (on object monitor)和WAITING (on object monitor)状态的线程 3、<em>分析</em>TIMED_WAI
jvm结构分析
一.简介(略) 二.JAVA虚拟机的结构 三.JAVA虚拟机的编译 四.class file的文件格式 五.class文件的加载以及类的创建 六.JAVA虚拟机的额指令 二.JAVA虚拟机的结构 2.5 Run-Time Data Areas 2.5.1 The pc Register 2.5.2 Java Virtual Machine Stacks
JVM 内存泄漏分析笔记
elipse JVM arguementsd设置 -Xmx20m -Xms20m -XX:+HeapDumpOnOutOfMemoryError -Dcatalina.base="D:\Workspaces\eclipse\.metadata\.plugins\org.eclipse.wst.server.core\tmp0" -Dcatalina.home="D:\apache-tomcat-
JVM内存溢出分析
我们在使用java开发程序的过程中,一定会碰到到内存溢出异常(java.lang.OutOfMemoryError)。下面我来看一下出现内存溢出的原因和解决办法。 1.启动参数内存值设定的过小。 调整JVM启动参数,-Xmx JVM使用的最大内存,运行过程中超过这个内存就会报内存溢出异常,-Xms JVM初始内存,启动的时候就占用的内存。如果机器内存够就加机器内存。 2.代码问题 我们重点...
JVM 之 逃逸分析和TLAB
来看一道面试题:所有的new 对象都是分配在堆上的吗?如果不是,是什么情况。 在没看到这道题目的时候,我对所有对象都分配在堆上的想法是没有一丝怀疑的,但是事实是不一定的。
JVM栈、堆分析
一.JVM概念JVM是Java Virtual Machine(Java虚拟机)的缩写,JVM是一种用于计算设备的规范,它是一个虚构出来的计算机,是通过在实际的计算机上仿真模拟各种计算机功能来实现的。存在与jdk中。二.JVM中内存分类Ⅰ.栈区(stacksegment) 栈区(stacksegement)存放函数的参数值,局部变量的值等,在超过这个变量的作用域时就会被系统自动释放掉在于JVM内存
jvm监控分析总结与分析
参考文献: http://www.51testing.com/?uid-188107-action-viewspace-itemid-226468 1.<em>分析</em>内存的工具 Eclipse Memory Analyzer Tool(俗称MAT),下载地址为: http://www.eclipse.org/mat/ 使用Memory Analyzer tool(MAT)<em>分析</em>内存泄漏(一) ...
jvm---6、JVM 分析及监控工具
jdk 自带<em>分析</em>及监控工具jps JVM Process Status Tool              显示所有的HotSpot 虚拟机进程jstat         JVM Statistics Monitoring Tool     收集HotSpot 虚拟机各方面的运行数据jinfo        Configuration Info for Java            显示虚拟机...
JVM、反射与动态代理分析
Java 程序的工作机制: Java 对象都以单独的 class 文件存在, java 虚拟机将其载入并执行其虚拟机指令。   Java 虚拟机查找这些 java ...
jvm调优之内存泄漏分析
  一、前言       我们都知道严重的内存泄漏会导致内存溢出,内存溢出最终会导致程序<em>崩溃</em>。前段日子,我几乎被这个问题搞到内分泌失调,每个晚上都过得提心吊胆的,生怕一个微信或者电话过来说项目挂了。哎,说多了都是泪,直接进入主题吧。 二、问题描述 1.部署环境       linux; 2.问题发现         项目刚上线的时候,就出现响应慢的问题,甚至直接就502。首先想到的是数...
JVM内存结构和分析
性能<em>分析</em>之-- JAVA Thread Dump <em>分析</em>综述 [url]http://blog.csdn.net/rachel_luo/article/details/8920596[/url] 原文[url]http://my.oschina.net/u/2308739/blog/415106[/url] 一、JVM内存结构 [color=red][size=medium]1.1 下面总...
JVM调优分析与参数配置
一般情况下, JVM的参数不要设置,但是如果想要程序发挥更大威力,我们就需要对JVM的各项参数进行优化配置以便获取最佳性能,通过设置达到的如下目标 [不全的欢迎补充] : GC的时间足够小 GC的次数足够少 发生Full GC的周期足够长     很明显前两个是矛盾的, 要想GC时间小必须有一个更小的堆, 而要想GC次数足够少必须要有一个更大的堆,只有两者达到平衡才能使JVM达到最优,过多的...
jvm启动分析
最近比较闲,一直想学习下<em>jvm</em>是怎么运行的,所以搭建了一套环境<em>分析</em><em>分析</em>。 目前环境为mac+xcode+jdk9,使用clang编译,clang版本clang-900.0.39.2。 总体流程 jdk总体分为lancher和<em>jvm</em>,<em>jvm</em>以动态链接库的形式被lancher加载。 lancher入口在jdk/src/java.base/share/native/launcher/main.c...
jvm系列--堆分析
一.MAT简介 MAT是<em>分析</em>工具,安装略。 二.配置 出现oom导出dump文件,<em>分析</em>报告 三.堆<em>分析</em> 1.OOM(内存溢出)原因: StackOverFlow 栈 ,Stack属于栈的区域,属于每条线程私有的 HeapOutOfMemory 堆 ConstantOutOfMemory 常量池 DirectMemoryOutOfmemory 本地内存   2.堆溢出 p...
JVM类加载分析
NULL 博文链接:https://278672937.iteye.com/blog/2153163
JVM内存泄漏分析总结
1,登录linux服务器2,观察JVM内存情况> jps > jstat -class xxxxx3,FGC查看jstat -gcutil pid jstat -gccause pid 1 每隔1毫秒输出结果 jstat -gccause pid 2000 每隔2秒输出结果S0 — Heap上的 Survivor space 0 区已使用空间的百分比 S1 — He
JVM分析演进
-
JVM内存结构分析整理
JVM内存结构: 线程共享:堆,方法区 非线程共享: 虚拟机栈,本地方法栈,程序计数器 堆:所有的实例对象以及数组都要在堆上分配 ,从内存回收角度看: 细分为 新生代 和 老生代 是垃圾收集器管理的主要区域。 方法区:存储已被虚拟机加载的类信息、常量、静态变量、即时编译器(JIT)编译后的代码 内存回收的主要目标:针对常量池...
一次jvm调优分析
准备在uat环境部署web项目,部署完发现,cpu一直过高,项目访问不了 具体报错:java.lang.OutOfMemoryError: PermGen space 明显一看是方法区满了,但是没有<em>jvm</em>调优经验 经别人指导,看了下服务器的内存,是8G,而该项目<em>jvm</em>配置为  -Xms512m -Xmx3072m -Xss2048K -XX:PermSize=64m -XX:MaxPer...
JVM执行分析
<em>jvm</em>详解概述 对于java程序而言,现在应用的范围越来越广泛,那么对于从业者就不再只是单单能够实现项目需求就够了,除了这些之外,还需要对程序的调优具有一定的能力。 类加载器(ClassLoader),用户可以实现自定义的类加载器的处理操作,那么对于类加载器本身就属于JVM的重要组成范畴。 java程序的执行流程: 每当使用了类加载器进行类加载之后实际上都表示启动了一个JVM的进程,那...
jvm堆内存分析
F:\Tem&gt;jhat luch.txt Reading from luch.txt... java.io.IOException: Unrecognized magic number: 813183024 at com.sun.tools.hat.internal.parser.Reader.readFile(Reader.java:81) at com....
JVM参数设置、分析
-
JVM 常见参数设置和分析
打印 GC <em>日志</em>这里以 IDEA 为例:菜单栏: Run -> Edit Configurations -> VM options 添加 -XX:+PrintGCDetail 写个简单的测试程序package VM;/** * Created by andy.wwh on 2016/7/16. */ public class TestPrintGcDetails { public
jvm结构分析
堆 创建的对象都放在这里 方法区 class加载的时候类的信息都放到这里,利用java反射获取的信息就是来自这里 虚拟机栈 每个线程都会分到一定的栈内存,方法中的临时变量都在这里 本地方法栈 给native方法单独使用的一块内存区域 程序计数器 用于记录每个线程中执行的代码行数,当多线程时栈侦在时间片中来回切换的时候,记录每个线程中执行的代码行数...
JVM参数设置和分析
    perfer: JVM运行时数据区详解-Stack栈(优化配置、代码样例)  JVM优化系列之一(-Xss调整Stack Space的大小)   JVM系列二:GC策略&amp;amp;内存申请、对象衰老 JVM系列三:JVM参数设置、<em>分析</em> JVM系列四:生产环境参数实例及<em>分析</em>【生产环境实例增加中】       ...
JVM中class文件分析
class
jvm运行时分析
转自:http://blog.163.com/itjin45@126/blog/static/10510751320144201519454/ 官方手册:http://docs.oracle.com/javase/7/docs/     ----&amp;gt;http://docs.oracle.com/javase/7/docs/technotes/tools/solaris/java....
JVM Crash 学习分析
遇到如下错误  # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (ad_x86_32.cpp:879), pid=26139, tid=1847638928 # Error: Unimplemented() # # JRE version: 6.0_...
JVM内存分配分析之一
本问题正式讨论见于帖子 http://bbs.csdn.net/topics/391819221 : 例子1:public class MemoryTest { int[] a = new int[0] ; public void set(){ a = new int[10] ; for(int i =0;i&amp;lt;10;i+...
JVM之Class文件分析详解
JVM之Class文件<em>分析</em>详解 逐个字节<em>分析</em>Class文件。了解Class文件内部结构。 原始类文件: 这个类直接拿了知乎的一个类,<em>分析</em>是很简单,只是因为重新画图比较麻烦,不想再做重复的苦力工作(地址(https://zhuanlan.zhihu.com/p/23068093)ps:作者仅仅提供了类和图,并无解析。) package com.vonzhou.learn.<em>jvm</em>.klass; p...
Java之JVM逃逸分析
引言: 逃逸<em>分析</em>(Escape Analysis)是众多JVM技术中的一个使用不多的技术点,本文将通过一个实例来<em>分析</em>其使用场景。概念逃逸<em>分析</em>,是一种可以有效减少Java 程序中同步负载和内存堆分配压力的跨函数全局数据流<em>分析</em>算法。通过逃逸<em>分析</em>,Java Hotspot编译器能够<em>分析</em>出一个新的对象的引用的使用范围从而决定是否要将这个对象分配到堆上。 在计算机语言编译器优化原理中,逃逸<em>分析</em>是指<em>分析</em>指针动
JVM的逃逸分析
参考文献 http://www.importnew.com/23150.html 我们都知道,JVM的一切对象都是在堆上分配(当然还有String这种对象分配到方法区的)。不过这么整洁美丽的规律显然不符合毫无美感的java程序员。所以,JVM引入了逃逸<em>分析</em>。大概意思就是说,如果你可以证明一个方法中新建的对象只在方法中引用,而不会作为参数调用被传递到其他方法的执行中,就可以进行一些优化,比如说在...
jvm内存溢出分析
概述<em>jvm</em>中除了程序计数器,其他的区域都有可能会发生内存溢出内存溢出是什么?当程序需要申请内存的时候,由于没有足够的内存,此时就会抛出OutOfMemoryError,这就是内存溢出内存溢出和内存泄漏有什么区别?内存泄漏是由于使用不当,把一部分内存“丢掉了”,导致这部分内存不可用。 当在堆中创建了对象,后来没有使用这个对象了,又没有把整个对象的相关引用设为null。此时垃圾收集器会认为这个对象是需
JVM之指令重排分析
引言:在Java中看似顺序的代码在JVM中,可能会出现编译器或者CPU对这些操作指令进行了重新排序;在特定情况下,指令重排将会给我们的程序带来不确定的结果....
tomcat与jvm的关系分析
首先,我们来看几个概念: 1.什么是<em>jvm</em> 我们从操作系统的层面来理解,<em>jvm</em>其实就是操作系统中的一个进程。既然是一个进程,那么我们很容易的可以通过任务管理器来查看。假设此时我们启动myeclipse(myeclipse其实就是用java语言编写的一个软件,他的运行必然会启动一个<em>jvm</em>,我们可以把myeclipse理解成我们自己写的一个简单的java版的helloworld程序)。查看任务管理
JVM内存—jstat分析
jstat用户监控基于HotSpot的JVM,对其堆的使用情况进行实时的命令行统计
jvm】案例分析
1、查看垃圾回收器 运行 java -version 32位<em>jvm</em>分server和client,64位<em>jvm</em>只有server 查看gc<em>日志</em> cms 是为了gc时减少停顿时间。cpu到100% 2、JDK自带的监控工具 JDK自带的 监控工具 https://docs.oracle.com/javase/8/docs/technotes/tools/windows/toc.ht...
c++代码输入年月日,判断平年还是闰年并打印出那天是那年的第几天下载
c++代码输入年月日,判断平年还是闰年并打印出那天是那年的第几天 相关下载链接:[url=//download.csdn.net/download/caorb_/2791438?utm_source=bbsseo]//download.csdn.net/download/caorb_/2791438?utm_source=bbsseo[/url]
主板维修经典教程下载
主板维修经典教程。从零开始手把手教你直到你成为专家 相关下载链接:[url=//download.csdn.net/download/a158228158/3902686?utm_source=bbsseo]//download.csdn.net/download/a158228158/3902686?utm_source=bbsseo[/url]
校验和计算软件下载
校验和计算工具 校验和计算l软件 校验和 十六进制数校验和 相关下载链接:[url=//download.csdn.net/download/dalin806/4287451?utm_source=bbsseo]//download.csdn.net/download/dalin806/4287451?utm_source=bbsseo[/url]
我们是很有底线的