我正在使用Maven 3.0,当我运行dal测试类得到关注异常。如果我从pom中删除了一些实体依赖,它工作正常。如何解决这个问题。 我的dal pom是这样的。
jav.nes.model.Ward jav.nes.model.Patient jav.nes.model.Doctor
内部错误(c1_Optimizer.cpp:271),pid = 4932,tid = 7252
#
#
--------------- T H R E A D ---------------
当前线程(0x019d2000):JavaThread“C1 CompilerThread0”守护进程[_thread_in_native,id = 7252,stack(0x65fa0000,0x65ff0000)]
堆栈:[0x65fa0000,0x65ff0000],sp = 0x65fef824,可用空间= 318k 本机帧:(J =已编译的Java代码,j =已解释,Vv = VM代码,C =本机代码) V [jvm.dll + 0x133d0a] V [jvm.dll + 0x12e91c] V [jvm.dll + 0x2059b2] V [jvm.dll + 0x206686] V [jvm.dll + 0x1f0867] V [jvm.dll + 0x1f08b6] V [jvm.dll + 0x1f08b6] V [jvm.dll + 0x1f08b6] V [jvm.dll + 0x1f08b6] V [jvm.dll + 0x1f08b6] V [jvm.dll + 0x1f08b6] V [jvm.dll + 0x1f08b6] V [jvm.dll + 0x1f0dbb] V [jvm.dll + 0x2050c0] V [jvm.dll + 0x205181] V [jvm.dll + 0x1f16aa] V [jvm.dll + 0x1e38de] V [jvm.dll + 0x1e3ee5] V [jvm.dll + 0x1e3fec] V [jvm.dll + 0x1e413f] V [jvm.dll + 0x1e4394] V [jvm.dll + 0x3dc7d] V [jvm.dll + 0x3e7af] V [jvm.dll + 0x119334] V [jvm.dll + 0x14158c] C [msvcr71.dll + 0x9565] endthreadex + 0xa0 C [kernel32.dll + 0x4ed5c] BaseThreadInitThunk + 0x12 C [ntdll.dll + 0x637eb] RtlInitializeExceptionChain + 0xef C [ntdll.dll + 0x637be] RtlInitializeExceptionChain + 0xc2
当前CompileTask: C1:3274 818 org.hibernate.cfg.annotations.SimpleValueBinder.setType(Lorg / hibernate / reflection / XProperty; Lorg / hibernate / reflection / XClass;)V(933字节)
--------------- P R O C E S S ---------------
Java线程:( =>当前线程) 0x019e7c00 JavaThread“低内存检测器”守护进程[_thread_blocked,id = 8124,堆栈(0x65ff0000,0x66040000)] => 0x019d2000 JavaThread“C1 CompilerThread0”守护进程[_thread_in_native,id = 7252,stack(0x65fa0000,0x65ff0000)] 0x019d1000 JavaThread“Attach Listener”守护程序[_thread_blocked,id = 6284,stack(0x65f50000,0x65fa0000)] 0x019ce000 JavaThread“Signal Dispatcher”守护进程[_thread_blocked,id = 1324,stack(0x65f00000,0x65f50000)] 0x019a0c00 JavaThread“Finalizer”守护进程[_thread_blocked,id = 7500,stack(0x65eb0000,0x65f00000)] 0x0199c000 JavaThread“引用处理程序”守护程序[_thread_blocked,id = 4408,stack(0x65e60000,0x65eb0000)] 0x0028a000 JavaThread“main”[_thread_in_Java,id = 5956,stack(0x00290000,0x002e0000)]
其他主题: 0x01998000 VMThread [stack:0x65e10000,0x65e60000] [id = 8004] 0x01a04800 WatcherThread [stack:0x66040000,0x66090000] [id = 2728]
VM状态:不在安全点(正常执行)
VM Mutex / Monitor当前由线程拥有:无
堆 def新一代总计314560K,使用83886K [0x03a90000,0x18fe0000,0x18fe0000) eden space 279616K,30%使用[0x03a90000,0x08c7b8f8,0x14ba0000) 从空间34944K,0%使用[0x14ba0000,0x14ba0000,0x16dc0000) 空间34944K,0%使用[0x16dc0000,0x16dc0000,0x18fe0000) 终身代总计699072K,使用0K [0x18fe0000,0x43a90000,0x43a90000) 空间699072K,0%使用[0x18fe0000,0x18fe0000,0x18fe0200,0x43a90000) 压缩烫发总数14336K,使用14283K [0x43a90000,0x44890000,0x63a90000) 空间14336K,99%使用[0x43a90000,0x44883300,0x44883400,0x44890000) 没有配置共享空间。
代码缓存[0x01a10000,0x01c38000,0x03a10000) total_blobs = 1014 nmethods = 854个adapter = 95 free_code_cache = 31301760 largest_free_block = 384
答案 0 :(得分:0)
您应升级到较新的JRE并确保系统内存正常运行。它看起来像是硬件故障或Hotspot / JVM中的错误。 Java 6已经过时了,所以请考虑采用Java 7(包括更新的JVM和许多错误修正)。