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

G1 fails on stale objects in archived module graph in Open Archive regions

    XMLWordPrintable

Details

    • gc
    • b25

    Description

      Crashing tests:

      vmTestbase/nsk/sysdict/vm/stress/btree/btree002/btree002.java
      vmTestbase/nsk/sysdict/vm/stress/btree/btree004/btree004.java
      vmTestbase/nsk/sysdict/vm/stress/btree/btree005/btree005.java


      Appeared in the CI that included JDK-8244778

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/opt/mach5/mesos/work_dir/slaves/4728e7c1-7e67-490e-be0f-6bbf2a2f33db-S209/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5138b034-dd14-4eb5-b0ea-3240c6d38cfb/runs/8181b3d1-5d6f-4a6f-8773-ffde6519a79a/workspace/open/src/hotspot/share/oops/compressedOops.inline.hpp:84), pid=7524, tid=7558
      # assert(!is_null(v)) failed: narrow klass value can never be zero
      #
      # JRE version: Java(TM) SE Runtime Environment (16.0+16) (fastdebug build 16-ea+16-662)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 16-ea+16-662, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xbc3c41] G1ParScanThreadState::trim_queue_to_threshold(unsigned int)+0x21d61
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/4076d11c-c6ed-4d07-84c1-4ab8d55cd975-S108743/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/197b2215-0257-4e6c-806b-8cc09e1af96c/runs/2ceb0eba-8381-4679-aa94-6f7f8246299a/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_sysdict/scratch/2/core.7524)
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #
      --------------- T H R E A D ---------------

      Current thread (0x00007f092c00a4b0): GCTaskThread "GC Thread#4" [stack: 0x00007f09231ef000,0x00007f09232ef000] [id=7558]

      Stack: [0x00007f09231ef000,0x00007f09232ef000], sp=0x00007f09232ed8a0, free space=1018k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xbc3c41] G1ParScanThreadState::trim_queue_to_threshold(unsigned int)+0x21d61
      V [libjvm.so+0xbdca21] G1ParScanThreadState::steal_and_trim_queue(GenericTaskQueueSet<OverflowTaskQueue<ScannerTask, (MemoryType)5, 131072u>, (MemoryType)5>*)+0x12f1
      V [libjvm.so+0xb1724a] G1ParEvacuateFollowersClosure::do_void()+0x1da
      V [libjvm.so+0xb20e28] G1EvacuateRegionsBaseTask::evacuate_live_objects(G1ParScanThreadState*, unsigned int, G1GCPhaseTimes::GCParPhases, G1GCPhaseTimes::GCParPhases)+0x98
      V [libjvm.so+0xb188b6] G1EvacuateRegionsBaseTask::work(unsigned int)+0x66
      V [libjvm.so+0x18e1c74] GangWorker::run_task(WorkData)+0x84
      V [libjvm.so+0x18e1db4] GangWorker::loop()+0x44
      V [libjvm.so+0x179d040] Thread::call_run()+0x100
      V [libjvm.so+0x14942c6] thread_native_entry(Thread*)+0x116

      Register to memory mapping:

      Attachments

        Issue Links

          Activity

            People

              tschatzl Thomas Schatzl
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: