最近老出现jdk java vm 错误
#
# 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 FilesJavajdk1.6.0_31binjavaw.exe
0x77ad0000 - 0x77c0c000 C:WindowsSYSTEM32ntdll.dll
0x776b0000 - 0x77784000 C:Windowssystem32kernel32.dll
0x75e30000 - 0x75e7a000 C:Windowssystem32KERNELBASE.dll
0x779d0000 - 0x77a70000 C:Windowssystem32ADVAPI32.dll
0x76030000 - 0x760dc000 C:Windowssystem32msvcrt.dll
0x76120000 - 0x76139000 C:WindowsSYSTEM32sechost.dll
0x77400000 - 0x774a1000 C:Windowssystem32RPCRT4.dll
0x75f60000 - 0x76029000 C:Windowssystem32USER32.dll
0x77290000 - 0x772de000 C:Windowssystem32GDI32.dll
0x760e0000 - 0x760ea000 C:Windowssystem32LPK.dll
0x77790000 - 0x7782d000 C:Windowssystem32USP10.dll
0x77c10000 - 0x77c2f000 C:Windowssystem32IMM32.DLL
0x761d0000 - 0x7629c000 C:Windowssystem32MSCTF.dll
0x7c340000 - 0x7c396000 C:Program FilesJavajdk1.6.0_31jrebinmsvcr71.dll
0x6d8c0000 - 0x6db6f000 C:Program FilesJavajdk1.6.0_31jrebinclientjvm.dll
0x74150000 - 0x74182000 C:Windowssystem32WINMM.dll
0x75b60000 - 0x75bac000 C:Windowssystem32apphelp.dll
0x6d870000 - 0x6d87c000 C:Program FilesJavajdk1.6.0_31jrebinverify.dll
0x6d3d0000 - 0x6d3ef000 C:Program FilesJavajdk1.6.0_31jrebinjava.dll
0x6d8b0000 - 0x6d8bf000 C:Program FilesJavajdk1.6.0_31jrebinzip.dll
0x6d6b0000 - 0x6d6c3000 C:Program FilesJavajdk1.6.0_31jrebinnet.dll
0x77c60000 - 0x77c95000 C:Windowssystem32WS2_32.dll
0x77c40000 - 0x77c46000 C:Windowssystem32NSI.dll
0x756a0000 - 0x756dc000 C:Windowssystem32mswsock.dll
0x75690000 - 0x75696000 C:WindowsSystem32wship6.dll
0x10000000 - 0x10032000 C:ProgramDataBaiduBaiduPlayerBdAccLSP(1.0.14.138).dll
0x751f0000 - 0x751f9000 C:Windowssystem32VERSION.dll
0x76460000 - 0x770aa000 C:Windowssystem32SHELL32.dll
0x77ca0000 - 0x77cf7000 C:Windowssystem32SHLWAPI.dll
0x770b0000 - 0x7720c000 C:Windowssystem32ole32.dll
0x75c60000 - 0x75c6b000 C:Windowssystem32profapi.dll
0x751e0000 - 0x751e6000 C:WindowsSystem32wshqos.dll
0x751d0000 - 0x751d5000 C:Windowssystem32wshtcpip.DLL
0x77c50000 - 0x77c55000 C:Windowssystem32PSAPI.DLL
VM Arguments:
jvm_args: -Dfile.encoding=UTF-8 -Xbootclasspath/a:E:MyEclipse10.0Commonpluginscom.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321datalibrarysetEE_6bean-validator.jar;E:MyEclipse10.0Commonpluginscom.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321datalibrarysetEE_6javax.annotation.jar;E:MyEclipse10.0Commonpluginscom.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321datalibrarysetEE_6javax.ejb.jar;E:MyEclipse10.0Commonpluginscom.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321datalibrarysetEE_6javax.enterprise.deploy.jar;E:MyEclipse10.0Commonpluginscom.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321datalibrarysetEE_6javax.jms.jar;E:MyEclipse10.0Commonpluginscom.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321datalibrarysetEE_6javax.management.j2ee.jar;E:MyEclipse10.0Commonpluginscom.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321datalibrarysetEE_6javax.persistence.jar;E:MyEclipse10.0Commonpluginscom.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321datalibrarysetEE_6javax.resource.jar;E:MyEclipse10.0Commonpluginscom.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321datalibrarysetEE_6javax.security.auth.message.jar;E:MyEclipse10.0Commonpluginscom.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321datalibrarysetEE_6javax.security.jacc.jar;E:MyEclipse10.0Commonpluginscom.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321datalibrarysetEE_6javax.servlet.jar;E:MyEclipse10.0Commonpluginscom.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321datalibrarysetEE_6javax.servlet.jsp.jar;E:MyEclipse10.0Commonpluginscom.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321datalibrarysetEE_6javax.servlet.jsp.jstl.jar;E:MyEclipse10.0Commonpluginscom.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321datalibrarysetEE_6javax.transaction.jar;E:MyEclipse10.0Commonpluginscom.genuitec.eclipse.j2eedt.core_10.0.0.me201110301321datalibrarysetEE_6jaxb-api-osgi.jar;E:MyEclipse10.0Commonpluginscom
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 FilesJavajdk1.6.0_31
CLASSPATH=.;C:Program FilesJavajdk1.6.0_31libdt.jar;C:Program FilesJavajdk1.6.0_31libtools.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:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;D:Program FilesRationalcommon;C:Program FilesJavajdk1.6.0_31bin;C:Program FilesJavajdk1.6.0_31jrebin;
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
看看这是怎么回事?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
应该是这个bug, http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7170849
有可能是JDK版本问题 你Project打包与部署JDK版本是否一致啊?
有可能是JDK版本问题 你Project打包与部署JDK版本是否一致啊?
为什么会这样 之前怎么没有这个问题 ,最近怎么就出现了? 有没有人研究过这个问题?
是jdk版本问题么?
http://sind.iteye.com/blog/1132459
有没有知其然知其所以然?
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-win32workq2chs_err_pid2088.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
http://sind.iteye.com/blog/1132459
考虑加大JVM内存。