Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6928968

Encounter bad oop during parallel compaction GC

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.0u21
    • Fix Version/s: 5.0-pool
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • CPU:
      generic
    • OS:
      linux_redhat_5.1

      Description

      From hs_err_pid20179.log file:

      The crash happened during Garbage Collection with following stack trace:

      Stack: [0x000000004035b000,0x000000004045c000), sp=0x000000004045aea0, free space=1023k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x5ab81d];; _ZN17PSParallelCompact15mark_and_followEP20ParCompactionManagerPP7oopDesc+0x6d
      V [libjvm.so+0x5613fb];; _ZN13objArrayKlass19oop_follow_contentsEP20ParCompactionManagerP7oopDesc+0x9b
      V [libjvm.so+0x5a460f];; _ZN20ParCompactionManager20drain_marking_stacksEP10OopClosure+0x9f
      V [libjvm.so+0x59275b];; _ZN17MarkFromRootsTask5do_itEP13GCTaskManagerj+0x6b
      V [libjvm.so+0x31fdcb];; _ZN12GCTaskThread3runEv+0x16b
      V [libjvm.so+0x56ff45];; _Z6_startP6Thread+0x155
      C [libpthread.so.0+0x6137]
      C 0x0000000000000000

      From the stack trace, it appears that GC encountered a Bad Oop while traversing the objects in an object array.
      The corefile and libraries related to this crash is needed.


      From hs_err_pid9042.log:

      Stack: [0x000000004045c000,0x000000004055d000), sp=0x000000004055bdf0, free space=1023k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x5b0d23];; _ZN7oopDesc15update_contentsEP20ParCompactionManager+0x63
      V [libjvm.so+0x5b0188];; _ZN20MoveAndUpdateClosure6do_bitEm+0x58
      V [libjvm.so+0x5b01e6];; _ZN20MoveAndUpdateClosure6do_bitEmm+0x26
      V [libjvm.so+0x579667];; _ZNK13ParMarkBitMap7iterateEP22BitMapTerminateClosuremm+0x77
      V [libjvm.so+0x5afe97];; _ZN17PSParallelCompact21fill_and_update_chunkEP20ParCompactionManagerm+0x257
      V [libjvm.so+0x5a472c];; _ZN20ParCompactionManager18drain_chunk_stacksEv+0x3c
      V [libjvm.so+0x592be3];; _ZN24DrainStacksCompactonTask5do_itEP13GCTaskManagerj+0x13
      V [libjvm.so+0x31fdcb];; _ZN12GCTaskThread3runEv+0x16b
      V [libjvm.so+0x56ff45];; _Z6_startP6Thread+0x155
      C [libpthread.so.0+0x6137]
      C 0x0000000000000000

      This crash also happened during GC while doing the parallel compaction. Here too, the Oop being accessed seems to be bad.

      Need the core dumps and the systems libs of the machine on which this crash happened to find out more about these crashes.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                poonam Poonam Bajaj Parhar
                Reporter:
                kbteo Kim Teo
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: