最近老出现jdk java vm 错误

weir2008 发布于 2012/10/18 08:58
阅读 5K+
收藏 0
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (c1_Optimizer.cpp:271), pid=2060, tid=5416
#  guarantee(x_compare_res != Constant::not_comparable) failed: incomparable constants in IfOp
#
# JRE version: 6.0_31-b05
# Java VM: Java HotSpot(TM) Client VM (20.6-b01 mixed mode, sharing windows-x86 )
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#


---------------  T H R E A D  ---------------


Current thread (0x0168c400):  JavaThread "C1 CompilerThread0" daemon [_thread_in_native, id=5416, stack(0x03940000,0x03990000)]


Stack: [0x03940000,0x03990000],  sp=0x0398f744,  free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [jvm.dll+0x1335ca]
V  [jvm.dll+0x12e4dc]
V  [jvm.dll+0x205432]
V  [jvm.dll+0x206106]
V  [jvm.dll+0x1f02c7]
V  [jvm.dll+0x1f0316]
V  [jvm.dll+0x1f0316]
V  [jvm.dll+0x1f0316]
V  [jvm.dll+0x1f0316]
V  [jvm.dll+0x1f0316]
V  [jvm.dll+0x1f0316]
V  [jvm.dll+0x1f0316]
V  [jvm.dll+0x1f0316]
V  [jvm.dll+0x1f0316]
V  [jvm.dll+0x1f0316]
V  [jvm.dll+0x1f0316]
V  [jvm.dll+0x1f0316]
V  [jvm.dll+0x1f0316]
V  [jvm.dll+0x1f0316]
V  [jvm.dll+0x1f0316]
V  [jvm.dll+0x1f081b]
V  [jvm.dll+0x204b40]
V  [jvm.dll+0x204c01]
V  [jvm.dll+0x1f110a]
V  [jvm.dll+0x1e340e]
V  [jvm.dll+0x1e3a15]
V  [jvm.dll+0x1e3b1c]
V  [jvm.dll+0x1e3c6f]
V  [jvm.dll+0x1e3ec4]
V  [jvm.dll+0x3dc4d]
V  [jvm.dll+0x3e77f]
V  [jvm.dll+0x118f14]
V  [jvm.dll+0x140ffc]
C  [msvcr71.dll+0x9565]  endthreadex+0xa0
C  [kernel32.dll+0x4ed6c]  BaseThreadInitThunk+0x12
C  [ntdll.dll+0x6377b]  RtlInitializeExceptionChain+0xef
C  [ntdll.dll+0x6374e]  RtlInitializeExceptionChain+0xc2




Current CompileTask:
C1:  10577 794      org.hibernate.cfg.annotations.SimpleValueBinder.setType(Lorg/hibernate/annotations/common/reflection/XProperty;Lorg/hibernate/annotations/common/reflection/XClass;)V (921 bytes)




---------------  P R O C E S S  ---------------


Java Threads: ( => current thread )
  0x03d97400 JavaThread "ReaderThread" [_thread_in_native, id=5384, stack(0x04660000,0x046b0000)]
  0x01690000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3856, stack(0x03990000,0x039e0000)]
=>0x0168c400 JavaThread "C1 CompilerThread0" daemon [_thread_in_native, id=5416, stack(0x03940000,0x03990000)]
  0x01689c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=2516, stack(0x038f0000,0x03940000)]
  0x01687400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2892, stack(0x038a0000,0x038f0000)]
  0x01675000 JavaThread "Finalizer" daemon [_thread_blocked, id=3864, stack(0x03850000,0x038a0000)]
  0x01673800 JavaThread "Reference Handler" daemon [_thread_blocked, id=2028, stack(0x03800000,0x03850000)]
  0x00327c00 JavaThread "main" [_thread_in_Java, id=2568, stack(0x00330000,0x00380000)]


Other Threads:
  0x01637400 VMThread [stack: 0x037b0000,0x03800000] [id=4364]
  0x016a8000 WatcherThread [stack: 0x039e0000,0x03a30000] [id=5348]


VM state:not at safepoint (normal execution)


VM Mutex/Monitor currently owned by a thread: None


Heap
 def new generation   total 4992K, used 2156K [0x23740000, 0x23ca0000, 0x28c90000)
  eden space 4480K,  36% used [0x23740000, 0x238db3d0, 0x23ba0000)
  from space 512K,  99% used [0x23ba0000, 0x23c1fff8, 0x23c20000)
  to   space 512K,   0% used [0x23c20000, 0x23c20000, 0x23ca0000)
 tenured generation   total 10944K, used 6472K [0x28c90000, 0x29740000, 0x33740000)
   the space 10944K,  59% used [0x28c90000, 0x292e21a0, 0x292e2200, 0x29740000)
 compacting perm gen  total 12288K, used 10895K [0x33740000, 0x34340000, 0x37740000)
   the space 12288K,  88% used [0x33740000, 0x341e3d10, 0x341e3e00, 0x34340000)
    ro space 10240K,  54% used [0x37740000, 0x37cbee00, 0x37cbee00, 0x38140000)
    rw space 12288K,  55% used [0x38140000, 0x387e2800, 0x387e2800, 0x38d40000)


Code Cache  [0x01700000, 0x01920000, 0x03700000)
 total_blobs=981 nmethods=826 adapters=90 free_code_cache=31358208 largest_free_block=384


Dynamic libraries:
0x00400000 - 0x00425000 C:\Program Files\Java\jdk1.6.0_31\bin\javaw.exe
0x77ad0000 - 0x77c0c000 C:\Windows\SYSTEM32\ntdll.dll
0x776b0000 - 0x77784000 C:\Windows\system32\kernel32.dll
0x75e30000 - 0x75e7a000 C:\Windows\system32\KERNELBASE.dll
0x779d0000 - 0x77a70000 C:\Windows\system32\ADVAPI32.dll
0x76030000 - 0x760dc000 C:\Windows\system32\msvcrt.dll
0x76120000 - 0x76139000 C:\Windows\SYSTEM32\sechost.dll
0x77400000 - 0x774a1000 C:\Windows\system32\RPCRT4.dll
0x75f60000 - 0x76029000 C:\Windows\system32\USER32.dll
0x77290000 - 0x772de000 C:\Windows\system32\GDI32.dll
0x760e0000 - 0x760ea000 C:\Windows\system32\LPK.dll
0x77790000 - 0x7782d000 C:\Windows\system32\USP10.dll
0x77c10000 - 0x77c2f000 C:\Windows\system32\IMM32.DLL
0x761d0000 - 0x7629c000 C:\Windows\system32\MSCTF.dll
0x7c340000 - 0x7c396000 C:\Program Files\Java\jdk1.6.0_31\jre\bin\msvcr71.dll
0x6d8c0000 - 0x6db6f000 C:\Program Files\Java\jdk1.6.0_31\jre\bin\client\jvm.dll
0x74150000 - 0x74182000 C:\Windows\system32\WINMM.dll
0x75b60000 - 0x75bac000 C:\Windows\system32\apphelp.dll
0x6d870000 - 0x6d87c000 C:\Program Files\Java\jdk1.6.0_31\jre\bin\verify.dll
0x6d3d0000 - 0x6d3ef000 C:\Program Files\Java\jdk1.6.0_31\jre\bin\java.dll
0x6d8b0000 - 0x6d8bf000 C:\Program Files\Java\jdk1.6.0_31\jre\bin\zip.dll
0x6d6b0000 - 0x6d6c3000 C:\Program Files\Java\jdk1.6.0_31\jre\bin\net.dll
0x77c60000 - 0x77c95000 C:\Windows\system32\WS2_32.dll
0x77c40000 - 0x77c46000 C:\Windows\system32\NSI.dll
0x756a0000 - 0x756dc000 C:\Windows\system32\mswsock.dll
0x75690000 - 0x75696000 C:\Windows\System32\wship6.dll
0x10000000 - 0x10032000 C:\ProgramData\Baidu\BaiduPlayer\BdAccLSP(1.0.14.138).dll
0x751f0000 - 0x751f9000 C:\Windows\system32\VERSION.dll
0x76460000 - 0x770aa000 C:\Windows\system32\SHELL32.dll
0x77ca0000 - 0x77cf7000 C:\Windows\system32\SHLWAPI.dll
0x770b0000 - 0x7720c000 C:\Windows\system32\ole32.dll
0x75c60000 - 0x75c6b000 C:\Windows\system32\profapi.dll
0x751e0000 - 0x751e6000 C:\Windows\System32\wshqos.dll
0x751d0000 - 0x751d5000 C:\Windows\system32\wshtcpip.DLL
0x77c50000 - 0x77c55000 C:\Windows\system32\PSAPI.DLL


VM Arguments:
jvm_args: -Dfile.encoding=UTF-8 -Xbootclasspath/a:E:\MyEclipse10.0\Common\plugins\com.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321\data\libraryset\EE_6\bean-validator.jar;E:\MyEclipse10.0\Common\plugins\com.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321\data\libraryset\EE_6\javax.annotation.jar;E:\MyEclipse10.0\Common\plugins\com.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321\data\libraryset\EE_6\javax.ejb.jar;E:\MyEclipse10.0\Common\plugins\com.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321\data\libraryset\EE_6\javax.enterprise.deploy.jar;E:\MyEclipse10.0\Common\plugins\com.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321\data\libraryset\EE_6\javax.jms.jar;E:\MyEclipse10.0\Common\plugins\com.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321\data\libraryset\EE_6\javax.management.j2ee.jar;E:\MyEclipse10.0\Common\plugins\com.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321\data\libraryset\EE_6\javax.persistence.jar;E:\MyEclipse10.0\Common\plugins\com.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321\data\libraryset\EE_6\javax.resource.jar;E:\MyEclipse10.0\Common\plugins\com.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321\data\libraryset\EE_6\javax.security.auth.message.jar;E:\MyEclipse10.0\Common\plugins\com.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321\data\libraryset\EE_6\javax.security.jacc.jar;E:\MyEclipse10.0\Common\plugins\com.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321\data\libraryset\EE_6\javax.servlet.jar;E:\MyEclipse10.0\Common\plugins\com.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321\data\libraryset\EE_6\javax.servlet.jsp.jar;E:\MyEclipse10.0\Common\plugins\com.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321\data\libraryset\EE_6\javax.servlet.jsp.jstl.jar;E:\MyEclipse10.0\Common\plugins\com.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321\data\libraryset\EE_6\javax.transaction.jar;E:\MyEclipse10.0\Common\plugins\com.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321\data\libraryset\EE_6\jaxb-api-osgi.jar;E:\MyEclipse10.0\Common\plugins\com
java_command: org.eclipse.jdt.internal.junit.runner.RemoteTestRunner -version 3 -port 54920 -testLoaderClass org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader -loaderpluginname org.eclipse.jdt.junit4.runtime -test com.q2c.test.GetPnAvgWeightServiceTest:testGetPnAvgWeight
Launcher Type: SUN_STANDARD


Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_31
CLASSPATH=.;C:\Program Files\Java\jdk1.6.0_31\lib\dt.jar;C:\Program Files\Java\jdk1.6.0_31\lib\tools.jar
PATH=e:/MyEclipse10.0/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client;e:/MyEclipse10.0/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin;e:/MyEclipse10.0/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\Program Files\Rational\common;C:\Program Files\Java\jdk1.6.0_31\bin;C:\Program Files\Java\jdk1.6.0_31\jre\bin;
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel






---------------  S Y S T E M  ---------------


OS: Windows 7 Build 7601 Service Pack 1


CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3


Memory: 4k page, physical 2059928k(243060k free), swap 4119856k(2070380k free)


vm_info: Java HotSpot(TM) Client VM (20.6-b01) for windows-x86 JRE (1.6.0_31-b05), built on Feb  3 2012 18:44:09 by "java_re" with MS VC++ 7.1 (VS2003)


time: Thu Oct 18 08:55:13 2012
elapsed time: 10 seconds

看看这是怎么回事?
加载中
0
Wentasy
Wentasy
考虑加大JVM内存。
0
Z
ZYud
http://sind.iteye.com/blog/1132459
0
weir2008
weir2008

junit  下

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (c1_Optimizer.cpp:271), pid=2088, tid=1428
#  guarantee(x_compare_res != Constant::not_comparable) failed: incomparable constants in IfOp
#
# JRE version: 6.0_31-b05
# Java VM: Java HotSpot(TM) Client VM (20.6-b01 mixed mode, sharing windows-x86 )
# An error report file with more information is saved as:
# F:\eclipse-jee-indigo-SR2-win32\work\q2c\hs_err_pid2088.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#


0
weir2008
weir2008
有没有知其然知其所以然?
0
weir2008
weir2008

为什么会这样   之前怎么没有这个问题 ,最近怎么就出现了? 有没有人研究过这个问题?

是jdk版本问题么?

0
陶邦仁
陶邦仁

有可能是JDK版本问题  你Project打包与部署JDK版本是否一致啊?

0
weir2008
weir2008

引用来自“爪哇老妖”的答案

有可能是JDK版本问题  你Project打包与部署JDK版本是否一致啊?

跟打包应该没什么问题,每次jdk版本变化都会重新编译java代码。
0
震秦
震秦

加大内存试试.

eden space 4480K,  36% used [0x23740000, 0x238db3d0, 0x23ba0000) 
  from space 512K,  99% used [0x23ba0000, 0x23c1fff8, 0x23c20000) 
  to   space 512K,   0% used [0x23c20000, 0x23c20000, 0x23ca0000) 
 tenured generation   total 10944K, used 6472K [0x28c90000, 0x29740000, 0x33740000) 
   the space 10944K,  59% used [0x28c90000, 0x292e21a0, 0x292e2200, 0x29740000) 
 compacting perm gen  total 12288K, used 10895K [0x33740000, 0x34340000, 0x37740000) 
   the space 12288K,  88% used [0x33740000, 0x341e3d10, 0x341e3e00, 0x34340000) 
    ro space 10240K,  54% used [0x37740000, 0x37cbee00, 0x37cbee00, 0x38140000) 
    rw space 12288K,  55% used [0x38140000, 0x387e2800, 0x387e2800, 0x38d40000) 

加上-Xmx512m -Xms512m 试试

0
无心睡眠
无心睡眠
应该是这个bug, http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7170849
返回顶部
顶部