当前位置: 代码迷 >> J2SE >> 这是暴栈了吗?该如何解决
  详细解决方案

这是暴栈了吗?该如何解决

热度:47   发布时间:2016-04-24 01:10:59.0
这是暴栈了吗?
我运行了下面的代码,,运行直接给了一个hs_err_pid4683.log日记记录
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (sharedRuntime.cpp:657), pid=4683, tid=3078032240
# guarantee(false) failed: missing exception handler
#
# JRE version: 6.0_23-b23
# Java VM: OpenJDK Server VM (20.0-b11 mixed mode linux-x86 )
# Derivative: IcedTea6 1.11pre
# Distribution: Ubuntu 11.10, package 6b23~pre11-0ubuntu1.11.10.2
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
#

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

Current thread (0x08c0e000): JavaThread "main" [_thread_in_vm, id=4684, stack(0xb7720000,0xb7771000)]

Stack: [0xb7720000,0xb7771000]
[error occurred during error reporting (printing stack bounds), id 0xb]


[error occurred during error reporting (printing native stack), id 0xb]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
v ~ExceptionBlob
J JvmMain.foo()V
J JvmMain.foo()V
j JvmMain.foo()V+60
j JvmMain.foo()V+60
j JvmMain.foo()V+8
j JvmMain.foo()V+60
j JvmMain.foo()V+60
j JvmMain.foo()V+8
j JvmMain.foo()V+60
j JvmMain.foo()V+60
j JvmMain.foo()V+8
j JvmMain.foo()V+8
j JvmMain.foo()V+60
j JvmMain.foo()V+60
j JvmMain.foo()V+8
j JvmMain.foo()V+8
下面N多行j JvmMain.foo()V+8........
j JvmMain.main([Ljava/lang/String;)V+0
v ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
? 0x08cb1000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4693, stack(0x8bb15000,0x8bb66000)]
? 0x08cae800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=4692, stack(0x8bb66000,0x8bbe7000)]
? 0x08cac000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=4691, stack(0x8bbe7000,0x8bc68000)]
? 0x08caa800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4690, stack(0x8bc68000,0x8bcb9000)]
? 0x08c98000 JavaThread "Finalizer" daemon [_thread_blocked, id=4689, stack(0x8c04c000,0x8c09d000)]
? 0x08c96800 JavaThread "Reference Handler" daemon [_thread_blocked, id=4688, stack(0x8c09d000,0x8c0ee000)]
=>0x08c0e000 JavaThread "main" [_thread_in_vm, id=4684, stack(0xb7720000,0xb7771000)]

Other Threads:
? 0x08c92800 VMThread [stack: 0x8c0ee000,0x8c16f000] [id=4687]
? 0x08cb3400 WatcherThread [stack: 0x8b894000,0x8b915000] [id=4694]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
?PSYoungGen total 17536K, used 13211K [0xa9bc0000, 0xabc00000, 0xb4660000)
? eden space 16256K, 80% used [0xa9bc0000,0xaa876c80,0xaaba0000)
? from space 1280K, 15% used [0xaaba0000,0xaabd0040,0xaace0000)
? to space 256K, 0% used [0xabbc0000,0xabbc0000,0xabc00000)
?PSOldGen total 21440K, used 0K [0x94660000, 0x95b50000, 0xa9bc0000)
? object space 21440K, 0% used [0x94660000,0x94660000,0x95b50000)
?PSPermGen total 16384K, used 1953K [0x8c660000, 0x8d660000, 0x94660000)
? object space 16384K, 11% used [0x8c660000,0x8c8485d0,0x8d660000)

Code Cache [0xb4720000, 0xb4960000, 0xb7720000)
?total_blobs=150 nmethods=47 adapters=58 free_code_cache=49921920 largest_free_block=13504

Dynamic libraries:
00110000-0012c000 r-xp 00000000 08:07 1839913 /lib/i386-linux-gnu/libgcc_s.so.1
0012c000-0012d000 r--p 0001b000 08:07 1839913 /lib/i386-linux-gnu/libgcc_s.so.1
0012d000-0012e000 rw-p 0001c000 08:07 1839913 /lib/i386-linux-gnu/libgcc_s.so.1
0012e000-00139000 r-xp 00000000 08:07 2367583 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libverify.so
00139000-0013a000 ---p 0000b000 08:07 2367583 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libverify.so
0013a000-0013b000 r--p 0000b000 08:07 2367583 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libverify.so
  相关解决方案