JVM crashes constantly when High GC happens

shang xinli shangxinli at hotmail.com
Fri Apr 5 02:16:52 UTC 2019


Hi all,

We hit crashes pretty constantly when the GC is high when using CMS GC. We switched to G1GC but it still crashes at the same places. It also crashes with the newest version of JDK. Anybody has a clue how to investigate why?

The call stack for G1GC is:

#0  0x00007fcb7d665067 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56

#1  0x00007fcb7d666448 in __GI_abort () at abort.c:89

#2  0x00007fcb7cf78ba9 in os::abort(bool) (dump_core=<optimized out>) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/os/linux/vm/os_linux.cpp:1509

#3  0x00007fcb7d12fff4 in VMError::report_and_die() (this=this at entry=0x7fcb5f8cc660) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/utilities/vmError.cpp:1060

#4  0x00007fcb7d1307c7 in crash_handler(int, siginfo_t*, void*) (sig=11, info=0x7fcb5f8cc8b0, ucVoid=0x7fcb5f8cc780) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/os/linux/vm/vmError_linux.cpp:106

#5  0x00007fcb7e018890 in <signal handler called> () at /lib/x86_64-linux-gnu/libpthread.so.0

#6  0x00007fcb7cf690c3 in oopDesc::print_on(outputStream*) const (this=0x7fb629d4b7a8, st=0x7fcb5f8cd410) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/oops/oop.cpp:43

#7  0x00007fcb7cf8342b in os::print_register_info(outputStream*, void*) (st=0x7fcb5f8cd410, context=0x7fcb5f8cd680) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp:847

#8  0x00007fcb7d12ee98 in VMError::report(outputStream*) (this=0x7fcb5f8cd510, st=st at entry=0x7fcb5f8cd410) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/utilities/vmError.cpp:542

#9  0x00007fcb7d12fc6d in VMError::report_and_die() (this=this at entry=0x7fcb5f8cd510) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/utilities/vmError.cpp:971

#10 0x00007fcb7cf827f7 in JVM_handle_linux_signal(int, siginfo_t*, void*, int) (sig=11, info=0x7fcb5f8cd7b0, ucVoid=0x7fcb5f8cd680, abort_if_unrecognized=<optimized out>)

    at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp:541

#11 0x00007fcb7cf75f58 in signalHandler(int, siginfo_t*, void*) (sig=11, info=0x7fcb5f8cd7b0, uc=0x7fcb5f8cd680) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/os/linux/vm/os_linux.cpp:4432

#12 0x00007fcb7e018890 in <signal handler called> () at /lib/x86_64-linux-gnu/libpthread.so.0

#13 0x00007fcb7cb4bea8 in CMTask::deal_with_reference(oopDesc*) (this=0x7fb629d4b968) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/oops/oop.inline.hpp:76

#14 0x00007fcb7cb4bea8 in CMTask::deal_with_reference(oopDesc*) (this=0x7fb629d4b968) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/oops/oop.inline.hpp:492

#15 0x00007fcb7cb4bea8 in CMTask::deal_with_reference(oopDesc*) (task_card_bm=0x7fcb740d6bb0, marked_bytes_array=0x7fcb740e5860, hr=0x7fcb7763e500, obj=0x7fb629d4b968, this=0x7fcb740cb730)

    at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/gc_implementation/g1/concurrentMark.inline.hpp:133

#16 0x00007fcb7cb4bea8 in CMTask::deal_with_reference(oopDesc*) (task_card_bm=0x7fcb740d6bb0, marked_bytes_array=0x7fcb740e5860, hr=0x7fcb7763e500, obj=0x7fb629d4b968, this=0x7fcb740cb730)

    at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/gc_implementation/g1/concurrentMark.inline.hpp:146

#17 0x00007fcb7cb4bea8 in CMTask::deal_with_reference(oopDesc*) (hr=0x7fcb7763e500, obj=0x7fb629d4b968, this=0x7fcb740f3e70) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/gc_implementation/g1/concurrentMark.inline.hpp:293

#18 0x00007fcb7cb4bea8 in CMTask::deal_with_reference(oopDesc*) (this=0x7fcb740f3e70, obj=0x7fb629d4b968) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/gc_implementation/g1/concurrentMark.inline.hpp:362

#19 0x00007fcb7cf5c761 in ObjArrayKlass::oop_oop_iterate_nv(oopDesc*, G1CMOopClosure*) (this=0x7fcb5f8cddc0, p=0x7f9356a5b588) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/gc_implementation/g1/g1OopClosures.inline.hpp:124

#20 0x00007fcb7cf5c761 in ObjArrayKlass::oop_oop_iterate_nv(oopDesc*, G1CMOopClosure*) (this=<optimized out>, obj=<optimized out>, closure=0x7fcb5f8cddc0)

    at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/oops/objArrayKlass.cpp:556

#21 0x00007fcb7cb44400 in CMTask::drain_local_queue(bool) (blk=<optimized out>, this=0x7f92da000000) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/oops/oop.inline.hpp:735

#22 0x00007fcb7cb44400 in CMTask::drain_local_queue(bool) (obj=0x7f92da000000, this=0x7fcb740f3e70) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/gc_implementation/g1/concurrentMark.cpp:3520

#23 0x00007fcb7cb44400 in CMTask::drain_local_queue(bool) (obj=0x7f92da000000, this=0x7fcb740f3e70) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/gc_implementation/g1/concurrentMark.hpp:1174

#24 0x00007fcb7cb44400 in CMTask::drain_local_queue(bool) (this=0x7fcb740f3e70, partially=partially at entry=true) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/gc_implementation/g1/concurrentMark.cpp:3930

#25 0x00007fcb7cb4b32a in CMBitMapClosure::do_bit(unsigned long) (partially=true, this=<optimized out>) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/oops/klass.inline.hpp:65

#26 0x00007fcb7cb4b32a in CMBitMapClosure::do_bit(unsigned long) (this=this at entry=0x7fcb5f8cdda0, offset=offset at entry=910241497) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/gc_implementation/g1/concurrentMark.cpp:3554

#27 0x00007fcb7cb46cc9 in CMTask::do_marking_step(double, bool, bool) (mr=..., cl=0x7fcb5f8cdda0, this=0x7fcb740cb7b8) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/gc_implementation/g1/concurrentMark.inline.hpp:179

#28 0x00007fcb7cb46cc9 in CMTask::do_marking_step(double, bool, bool) (this=this at entry=0x7fcb740f3e70, time_target_ms=10, do_termination=do_termination at entry=true, is_serial=is_serial at entry=false)

    at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/gc_implementation/g1/concurrentMark.cpp:4305

#29 0x00007fcb7cb4caa3 in CMConcurrentMarkingTask::work(unsigned int) (this=0x7fcb642f1d60, worker_id=1) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/gc_implementation/g1/concurrentMark.cpp:1131

#30 0x00007fcb7d14c39a in GangWorker::loop() (this=0x7fcb740d0000) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/share/vm/utilities/workgroup.cpp:329

#31 0x00007fcb7cf77b62 in java_start(Thread*) (thread=0x7fcb740d0000) at /srv/jdk/openjdk-8-8u171-b11/src/hotspot/src/os/linux/vm/os_linux.cpp:790

#32 0x00007fcb7e011064 in start_thread (arg=0x7fcb5f8ce700) at pthread_create.c:309

#33 0x00007fcb7d71862d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20190405/cdc2bf9c/attachment.htm>


More information about the hotspot-gc-dev mailing list