性能问答>gc 日志不完整>
4回复

gc 日志不完整



gc 日志不完整,如图

3835 阅读
请先登录,再评论

这个看起来是JDK的一个bug,可参考链接 https://bugs.openjdk.java.net/browse/JDK-8160539 ,JDK13里才修复

The JavaThread::oops_do code path currently contains at least three ways to acquire more or less global mutexes. This can led to lock contention during parallel stack walking and thus long root scan times.

There are three kinds of locks known to be taken in the code path:

DerivedPointerTableGC_lock
- guards DerivedPointerTable::add, which is called for every c2-compiled stack frame which contains derived pointers. It is currently unknown how common derived pointers are in real workloads.

The other two are not (any longer) a problem:

OopMapCache::_mut
- guards all retrieval of InterpreterOopMap instances, which are used to scan a specific (Method*, bci) executing in the interpreter. The per-klass OopMapCaches are lazily allocated as per below. The mutex protects hash lookup, generation of new oop maps if cache miss, hash table insertion after generation and eviction of less recently used oop maps. See OopMapCache::lookup. This was dealt with by JDK-8186042, so is no longer a problem.

OopMapCacheAlloc_lock
- guards the lazy initialization of InstanceKlass::_oop_map_cache, only taken if a thread observes _oop_map_cache == NULL so unless new classes are added all the time it should disappear after warmup. Because of the use of DCLP, this lock is rarely hit, so should not be a performance bottleneck.
2年前
回复 你假笨:

具体Fix的代码可以看这个链接,http://hg.openjdk.java.net/jdk/jdk/rev/7136c9ac56a7

2年前回复

1.png

2年前
回复 发型乱乱🌺:
Pstack如下:


Thread 254 (Thread 0x7f1b8d718700 (LWP 56521)):
#0  0x0000003d3fc0b63c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1b8df32d73 in os::PlatformEvent::park() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#2  0x00007f1b8defa5cf in Monitor::IWait(Thread*, long) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#3  0x00007f1b8defac1d in Monitor::wait(bool, long, bool) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#4  0x00007f1b8e072741 in Threads::destroy_vm() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#5  0x00007f1b8dd51d80 in jni_DestroyJavaVM () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#6  0x00007f1b8e59516d in JavaMain () from /usr/java/jdk1.7.0_71/bin/../lib/amd64/jli/libjli.so
#7  0x0000003d3fc07a51 in start_thread () from /lib64/libpthread.so.0
#8  0x0000003d3f8e896d in clone () from /lib64/libc.so.6
Thread 253 (Thread 0x7f1b8ccc4700 (LWP 56522)):
#0  0x0000003d3fc0b63c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1b8df32d73 in os::PlatformEvent::park() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#2  0x00007f1b8def9e48 in Monitor::ILock(Thread*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#3  0x00007f1b8defa07f in Monitor::lock_without_safepoint_check() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#4  0x00007f1b8df2c447 in OopMapSet::all_do(frame const*, RegisterMap const*, OopClosure*, void (*)(oopDesc**, oopDesc**), OopClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#5  0x00007f1b8dc38099 in frame::oops_do_internal(OopClosure*, CodeBlobClosure*, RegisterMap*, bool) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#6  0x00007f1b8e06d28a in JavaThread::oops_do(OopClosure*, CodeBlobClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#7  0x00007f1b8e06e452 in Threads::possibly_parallel_oops_do(OopClosure*, CodeBlobClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#8  0x00007f1b8dfca069 in SharedHeap::process_strong_roots(bool, bool, SharedHeap::ScanningOption, OopClosure*, CodeBlobClosure*, OopsInGenClosure*, bool) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#9  0x00007f1b8dc8117c in GenCollectedHeap::gen_process_strong_roots(int, bool, bool, bool, SharedHeap::ScanningOption, OopsInGenClosure*, bool, OopsInGenClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#10 0x00007f1b8df52b9f in ParNewGenTask::work(unsigned int) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#11 0x00007f1b8e0cf82f in GangWorker::loop() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#12 0x00007f1b8df394b8 in java_start(Thread*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#13 0x0000003d3fc07a51 in start_thread () from /lib64/libpthread.so.0
#14 0x0000003d3f8e896d in clone () from /lib64/libc.so.6
Thread 252 (Thread 0x7f1b8cbc3700 (LWP 56523)):
#0  0x0000003d3fc0b63c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1b8df32d73 in os::PlatformEvent::park() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#2  0x00007f1b8def9e48 in Monitor::ILock(Thread*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#3  0x00007f1b8defa07f in Monitor::lock_without_safepoint_check() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#4  0x00007f1b8df2c447 in OopMapSet::all_do(frame const*, RegisterMap const*, OopClosure*, void (*)(oopDesc**, oopDesc**), OopClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#5  0x00007f1b8dc38099 in frame::oops_do_internal(OopClosure*, CodeBlobClosure*, RegisterMap*, bool) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#6  0x00007f1b8e06d28a in JavaThread::oops_do(OopClosure*, CodeBlobClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#7  0x00007f1b8e06e452 in Threads::possibly_parallel_oops_do(OopClosure*, CodeBlobClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#8  0x00007f1b8dfca069 in SharedHeap::process_strong_roots(bool, bool, SharedHeap::ScanningOption, OopClosure*, CodeBlobClosure*, OopsInGenClosure*, bool) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#9  0x00007f1b8dc8117c in GenCollectedHeap::gen_process_strong_roots(int, bool, bool, bool, SharedHeap::ScanningOption, OopsInGenClosure*, bool, OopsInGenClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#10 0x00007f1b8df52b9f in ParNewGenTask::work(unsigned int) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#11 0x00007f1b8e0cf82f in GangWorker::loop() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#12 0x00007f1b8df394b8 in java_start(Thread*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#13 0x0000003d3fc07a51 in start_thread () from /lib64/libpthread.so.0
#14 0x0000003d3f8e896d in clone () from /lib64/libc.so.6
Thread 251 (Thread 0x7f1b8cac2700 (LWP 56524)):
#0  0x0000003d3f8f80ce in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x0000003d3f87d349 in _L_lock_10151 () from /lib64/libc.so.6
#2  0x0000003d3f87ac33 in malloc () from /lib64/libc.so.6
#3  0x00007f1b8df30559 in os::malloc(unsigned long, unsigned short, unsigned char*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#4  0x00007f1b8db53ee8 in CHeapObj<(unsigned short)1536>::operator new(unsigned long, unsigned char*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#5  0x00007f1b8df2a5f5 in DerivedPointerTable::add(oopDesc**, oopDesc**) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#6  0x00007f1b8df2c4b8 in OopMapSet::all_do(frame const*, RegisterMap const*, OopClosure*, void (*)(oopDesc**, oopDesc**), OopClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#7  0x00007f1b8dc38099 in frame::oops_do_internal(OopClosure*, CodeBlobClosure*, RegisterMap*, bool) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#8  0x00007f1b8e06d28a in JavaThread::oops_do(OopClosure*, CodeBlobClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#9  0x00007f1b8e06e452 in Threads::possibly_parallel_oops_do(OopClosure*, CodeBlobClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#10 0x00007f1b8dfca069 in SharedHeap::process_strong_roots(bool, bool, SharedHeap::ScanningOption, OopClosure*, CodeBlobClosure*, OopsInGenClosure*, bool) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#11 0x00007f1b8dc8117c in GenCollectedHeap::gen_process_strong_roots(int, bool, bool, bool, SharedHeap::ScanningOption, OopsInGenClosure*, bool, OopsInGenClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#12 0x00007f1b8df52b9f in ParNewGenTask::work(unsigned int) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#13 0x00007f1b8e0cf82f in GangWorker::loop() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#14 0x00007f1b8df394b8 in java_start(Thread*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#15 0x0000003d3fc07a51 in start_thread () from /lib64/libpthread.so.0
#16 0x0000003d3f8e896d in clone () from /lib64/libc.so.6
Thread 250 (Thread 0x7f1b8c9c1700 (LWP 56525)):
#0  0x0000003d3fc0b63c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1b8df32d73 in os::PlatformEvent::park() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#2  0x00007f1b8def9e48 in Monitor::ILock(Thread*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#3  0x00007f1b8defa07f in Monitor::lock_without_safepoint_check() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#4  0x00007f1b8df2c447 in OopMapSet::all_do(frame const*, RegisterMap const*, OopClosure*, void (*)(oopDesc**, oopDesc**), OopClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#5  0x00007f1b8dc38099 in frame::oops_do_internal(OopClosure*, CodeBlobClosure*, RegisterMap*, bool) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#6  0x00007f1b8e06d28a in JavaThread::oops_do(OopClosure*, CodeBlobClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#7  0x00007f1b8e06e452 in Threads::possibly_parallel_oops_do(OopClosure*, CodeBlobClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#8  0x00007f1b8dfca069 in SharedHeap::process_strong_roots(bool, bool, SharedHeap::ScanningOption, OopClosure*, CodeBlobClosure*, OopsInGenClosure*, bool) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#9  0x00007f1b8dc8117c in GenCollectedHeap::gen_process_strong_roots(int, bool, bool, bool, SharedHeap::ScanningOption, OopsInGenClosure*, bool, OopsInGenClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#10 0x00007f1b8df52b9f in ParNewGenTask::work(unsigned int) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#11 0x00007f1b8e0cf82f in GangWorker::loop() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#12 0x00007f1b8df394b8 in java_start(Thread*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#13 0x0000003d3fc07a51 in start_thread () from /lib64/libpthread.so.0
#14 0x0000003d3f8e896d in clone () from /lib64/libc.so.6
Thread 249 (Thread 0x7f1b8c8c0700 (LWP 56526)):
#0  0x0000003d3fc0b63c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1b8df32d73 in os::PlatformEvent::park() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#2  0x00007f1b8def9e48 in Monitor::ILock(Thread*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#3  0x00007f1b8defa07f in Monitor::lock_without_safepoint_check() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#4  0x00007f1b8df2c447 in OopMapSet::all_do(frame const*, RegisterMap const*, OopClosure*, void (*)(oopDesc**, oopDesc**), OopClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#5  0x00007f1b8dc38099 in frame::oops_do_internal(OopClosure*, CodeBlobClosure*, RegisterMap*, bool) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#6  0x00007f1b8e06d28a in JavaThread::oops_do(OopClosure*, CodeBlobClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#7  0x00007f1b8e06e452 in Threads::possibly_parallel_oops_do(OopClosure*, CodeBlobClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#8  0x00007f1b8dfca069 in SharedHeap::process_strong_roots(bool, bool, SharedHeap::ScanningOption, OopClosure*, CodeBlobClosure*, OopsInGenClosure*, bool) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#9  0x00007f1b8dc8117c in GenCollectedHeap::gen_process_strong_roots(int, bool, bool, bool, SharedHeap::ScanningOption, OopsInGenClosure*, bool, OopsInGenClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#10 0x00007f1b8df52b9f in ParNewGenTask::work(unsigned int) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#11 0x00007f1b8e0cf82f in GangWorker::loop() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#12 0x00007f1b8df394b8 in java_start(Thread*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#13 0x0000003d3fc07a51 in start_thread () from /lib64/libpthread.so.0
#14 0x0000003d3f8e896d in clone () from /lib64/libc.so.6
Thread 248 (Thread 0x7f1b8c7bf700 (LWP 56527)):
#0  0x0000003d3fc0b63c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1b8df32d73 in os::PlatformEvent::park() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#2  0x00007f1b8def9e48 in Monitor::ILock(Thread*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#3  0x00007f1b8defa07f in Monitor::lock_without_safepoint_check() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#4  0x00007f1b8df2c447 in OopMapSet::all_do(frame const*, RegisterMap const*, OopClosure*, void (*)(oopDesc**, oopDesc**), OopClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#5  0x00007f1b8dc38099 in frame::oops_do_internal(OopClosure*, CodeBlobClosure*, RegisterMap*, bool) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#6  0x00007f1b8e06d28a in JavaThread::oops_do(OopClosure*, CodeBlobClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#7  0x00007f1b8e06e452 in Threads::possibly_parallel_oops_do(OopClosure*, CodeBlobClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#8  0x00007f1b8dfca069 in SharedHeap::process_strong_roots(bool, bool, SharedHeap::ScanningOption, OopClosure*, CodeBlobClosure*, OopsInGenClosure*, bool) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#9  0x00007f1b8dc8117c in GenCollectedHeap::gen_process_strong_roots(int, bool, bool, bool, SharedHeap::ScanningOption, OopsInGenClosure*, bool, OopsInGenClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#10 0x00007f1b8df52b9f in ParNewGenTask::work(unsigned int) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#11 0x00007f1b8e0cf82f in GangWorker::loop() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#12 0x00007f1b8df394b8 in java_start(Thread*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#13 0x0000003d3fc07a51 in start_thread () from /lib64/libpthread.so.0
#14 0x0000003d3f8e896d in clone () from /lib64/libc.so.6
Thread 247 (Thread 0x7f1b8c6be700 (LWP 56528)):
#0  0x0000003d3fc0b63c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1b8df32d73 in os::PlatformEvent::park() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#2  0x00007f1b8def9e48 in Monitor::ILock(Thread*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#3  0x00007f1b8defa07f in Monitor::lock_without_safepoint_check() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#4  0x00007f1b8df2c447 in OopMapSet::all_do(frame const*, RegisterMap const*, OopClosure*, void (*)(oopDesc**, oopDesc**), OopClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#5  0x00007f1b8dc38099 in frame::oops_do_internal(OopClosure*, CodeBlobClosure*, RegisterMap*, bool) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#6  0x00007f1b8e06d28a in JavaThread::oops_do(OopClosure*, CodeBlobClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#7  0x00007f1b8e06e452 in Threads::possibly_parallel_oops_do(OopClosure*, CodeBlobClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#8  0x00007f1b8dfca069 in SharedHeap::process_strong_roots(bool, bool, SharedHeap::ScanningOption, OopClosure*, CodeBlobClosure*, OopsInGenClosure*, bool) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#9  0x00007f1b8dc8117c in GenCollectedHeap::gen_process_strong_roots(int, bool, bool, bool, SharedHeap::ScanningOption, OopsInGenClosure*, bool, OopsInGenClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#10 0x00007f1b8df52b9f in ParNewGenTask::work(unsigned int) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#11 0x00007f1b8e0cf82f in GangWorker::loop() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#12 0x00007f1b8df394b8 in java_start(Thread*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#13 0x0000003d3fc07a51 in start_thread () from /lib64/libpthread.so.0
#14 0x0000003d3f8e896d in clone () from /lib64/libc.so.6
Thread 246 (Thread 0x7f1b8c5bd700 (LWP 56529)):
#0  0x0000003d3fc0b63c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1b8df32d73 in os::PlatformEvent::park() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#2  0x00007f1b8def9e48 in Monitor::ILock(Thread*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#3  0x00007f1b8defa07f in Monitor::lock_without_safepoint_check() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#4  0x00007f1b8df2c447 in OopMapSet::all_do(frame const*, RegisterMap const*, OopClosure*, void (*)(oopDesc**, oopDesc**), OopClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#5  0x00007f1b8dc38099 in frame::oops_do_internal(OopClosure*, CodeBlobClosure*, RegisterMap*, bool) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#6  0x00007f1b8e06d28a in JavaThread::oops_do(OopClosure*, CodeBlobClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#7  0x00007f1b8e06e452 in Threads::possibly_parallel_oops_do(OopClosure*, CodeBlobClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#8  0x00007f1b8dfca069 in SharedHeap::process_strong_roots(bool, bool, SharedHeap::ScanningOption, OopClosure*, CodeBlobClosure*, OopsInGenClosure*, bool) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#9  0x00007f1b8dc8117c in GenCollectedHeap::gen_process_strong_roots(int, bool, bool, bool, SharedHeap::ScanningOption, OopsInGenClosure*, bool, OopsInGenClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#10 0x00007f1b8df52b9f in ParNewGenTask::work(unsigned int) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#11 0x00007f1b8e0cf82f in GangWorker::loop() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#12 0x00007f1b8df394b8 in java_start(Thread*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#13 0x0000003d3fc07a51 in start_thread () from /lib64/libpthread.so.0
#14 0x0000003d3f8e896d in clone () from /lib64/libc.so.6
Thread 245 (Thread 0x7f1b8c4bc700 (LWP 56530)):
#0  0x0000003d3fc0b63c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1b8df32d73 in os::PlatformEvent::park() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#2  0x00007f1b8def9e48 in Monitor::ILock(Thread*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#3  0x00007f1b8defa07f in Monitor::lock_without_safepoint_check() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#4  0x00007f1b8df2c447 in OopMapSet::all_do(frame const*, RegisterMap const*, OopClosure*, void (*)(oopDesc**, oopDesc**), OopClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#5  0x00007f1b8dc38099 in frame::oops_do_internal(OopClosure*, CodeBlobClosure*, RegisterMap*, bool) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#6  0x00007f1b8e06d28a in JavaThread::oops_do(OopClosure*, CodeBlobClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#7  0x00007f1b8e06e452 in Threads::possibly_parallel_oops_do(OopClosure*, CodeBlobClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#8  0x00007f1b8dfca069 in SharedHeap::process_strong_roots(bool, bool, SharedHeap::ScanningOption, OopClosure*, CodeBlobClosure*, OopsInGenClosure*, bool) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#9  0x00007f1b8dc8117c in GenCollectedHeap::gen_process_strong_roots(int, bool, bool, bool, SharedHeap::ScanningOption, OopsInGenClosure*, bool, OopsInGenClosure*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#10 0x00007f1b8df52b9f in ParNewGenTask::work(unsigned int) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#11 0x00007f1b8e0cf82f in GangWorker::loop() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#12 0x00007f1b8df394b8 in java_start(Thread*) () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#13 0x0000003d3fc07a51 in start_thread () from /lib64/libpthread.so.0
#14 0x0000003d3f8e896d in clone () from /lib64/libc.so.6
Thread 244 (Thread 0x7f1b8c3bb700 (LWP 56531)):
#0  0x0000003d3fc0b63c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1b8df32d73 in os::PlatformEvent::park() () from /usr/java/jdk1.7.0_71/jre/lib/amd64/server/libjvm.so
#2  0x00007f1b8def9e48 in Monitor::ILock(Thread*) () from /usr/java/jdk1.7.0_71/jre/lib/a
2年前回复