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

CMS: Assert failed: Ctl pt invariant

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8u60, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b79
    • Verification:
      Verified

      Backports

        Description

        Test: jdk/test/java/lang/management/MemoryMXBean/ResetPeakMemoryUsage.java

        Crashed on Linux 64 and Solaris 64. Same stacktrace in both cases.

        # Internal Error (/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp:4992), pid=1822, tid=140235732694784
        # assert(_cursor[j] == _survivor_plab_array[j].end()) failed: Ctl pt invariant
        #
        # JRE version: Java(TM) SE Runtime Environment (9.0) (build 1.9.0-internal-fastdebug-20150428213602.jesper.8073204-b00)

        Current thread (0x00007f8bb4264800): VMThread [stack: 0x00007f8b2cf83000,0x00007f8b2d084000] [id=1878]

        Stack: [0x00007f8b2cf83000,0x00007f8b2d084000], sp=0x00007f8b2d0822e0, free space=1020k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x10558a1] VMError::report_and_die()+0x151;; VMError::report_and_die()+0x151
        V [libjvm.so+0x7687bb] report_vm_error(char const*, int, char const*, char const*)+0x7b;; report_vm_error(char const*, int, char const*, char const*)+0x7b
        V [libjvm.so+0x72a038] CMSCollector::merge_survivor_plab_arrays(ContiguousSpace*, int)+0x168;; CMSCollector::merge_survivor_plab_arrays(ContiguousSpace*, int)+0x168
        V [libjvm.so+0x72a3d3] CMSCollector::initialize_sequential_subtasks_for_young_gen_rescan(int)+0x63;; CMSCollector::initialize_sequential_subtasks_for_young_gen_rescan(int)+0x63
        V [libjvm.so+0x72cb23] CMSCollector::checkpointRootsInitialWork()+0x543;; CMSCollector::checkpointRootsInitialWork()+0x543
        V [libjvm.so+0x72ce41] CMSCollector::checkpointRootsInitial()+0xe1;; CMSCollector::checkpointRootsInitial()+0xe1
        V [libjvm.so+0x743c97] CMSCollector::do_CMS_operation(CMSCollector::CMS_op_type, GCCause::Cause)+0x3f7;; CMSCollector::do_CMS_operation(CMSCollector::CMS_op_type, GCCause::Cause)+0x3f7
        V [libjvm.so+0x1053047] VM_CMS_Initial_Mark::doit()+0xf7;; VM_CMS_Initial_Mark::doit()+0xf7
        V [libjvm.so+0x107fef3] VM_Operation::evaluate()+0xa3;; VM_Operation::evaluate()+0xa3
        V [libjvm.so+0x107d78e] VMThread::evaluate_operation(VM_Operation*)+0x14e;; VMThread::evaluate_operation(VM_Operation*)+0x14e
        V [libjvm.so+0x107e0c3] VMThread::loop()+0x4b3;; VMThread::loop()+0x4b3
        V [libjvm.so+0x107e2f9] VMThread::run()+0xb9;; VMThread::run()+0xb9
        V [libjvm.so+0xda9bc2] java_start(Thread*)+0xf2;; java_start(Thread*)+0xf2

        VM_Operation (0x00007f8b2db18dc0): CMS_Initial_Mark, mode: safepoint, requested by thread 0x00007f8bb4188000


        elapsed time: 2 seconds (0d 0h 0m 2s)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ecaspole Eric Caspole
                  Reporter:
                  jwilhelm Jesper Wilhelmsson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: