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

C2 allows safepoint checks to leak into G1 pre-barriers

XMLWordPrintable

    • b58
    • Not verified

        # Internal Error (/tmp/jprt/P1/165343.amurillo/s/src/share/vm/gc_implementation/g1/ptrQueue.hpp:118), pid=6473, tid=10
        # assert(_index == _sz) failed: invariant: queues are empty when activated.

        Current thread (0x00287400): VMThread [stack: 0xb6f70000,0xb6ff0000] [id=10]

        Stack: [0xb6f70000,0xb6ff0000], sp=0xb6fef098, free space=508k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x102b754] void VMError::report_and_die()+0x85c;; __1cHVMErrorOreport_and_die6M_v_+0x85c
        V [libjvm.so+0x660aac] void report_vm_error(const char*,int,const char*,const char*)+0x74;; __1cPreport_vm_error6Fpkci11_v_+0x74
        V [libjvm.so+0xe6b454] void SATBMarkQueueSet::set_active_all_threads(bool,bool)+0x11c;; __1cQSATBMarkQdDueueSetWset_active_all_threads6Mbb_v_+0x11c
        V [libjvm.so+0x5ff80c] void ConcurrentMark::checkpointRootsInitialPost()+0x68;; __1cOConcurrentMarkbAcheckpointRootsInitialPost6M_v_+0x68
        V [libjvm.so+0x73ca2c] bool G1CollectedHeap::do_collection_pause_at_safepoint(double)+0x81c;; __1cPG1CollectedHeapbGdo_collection_pause_at_safepoint6Md_b_+0x81c
        V [libjvm.so+0x105d2dc] void VM_G1IncCollectionPause::doit()+0x290;; __1cXVM_G1IncCollectionPauseEdoit6M_v_+0x290
        V [libjvm.so+0x1059c98] void VM_Operation::evaluate()+0xe0;; __1cMVM_OperationIevaluate6M_v_+0xe0
        V [libjvm.so+0x1057448] void VMThread::evaluate_operation(VM_Operation*)+0x1ec;; __1cIVMThreadSevaluate_operation6MpnMVM_Operation__v_+0x1ec
        V [libjvm.so+0x1057bc4] void VMThread::loop()+0x4c4;; __1cIVMThreadEloop6M_v_+0x4c4
        V [libjvm.so+0x1056eb4] void VMThread::run()+0x10c;; __1cIVMThreadDrun6M_v_+0x10c
        V [libjvm.so+0xd438b4] java_start+0x174;; java_start+0x174

        VM_Operation (0xacd0db10): G1IncCollectionPause, mode: safepoint, requested by thread 0x05645000

        Heap:
         garbage-first heap total 186368K, used 107135K [0xb8600000, 0xc3c00000, 0xf4600000)
          region size 1024K, 3 young (3072K), 3 survivors (3072K)
         Metaspace total 95845K, used 92198K, reserved 106800K
          data space 84595K, used 82108K, reserved 94512K
          class space 11250K, used 10089K, reserved 12288K

        ILW = HLH => P2

              iveresov Igor Veresov
              ehelin Erik Helin
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: