GenShen: Old-generation state confusion after allocation failure during concurrent cleanup

XMLWordPrintable

    • gc

      The following error was reported:
      ```
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/home/ANT.AMAZON.COM/kdnilsen/github/jdk.accelerated-triggers/src/hotspot/share/gc/shenandoah/heuristics/shenandoahOldHeuristics.cpp:730), pid=2853728, tid=2853766
      # assert(_old_generation->state() == ShenandoahOldGeneration::MARKING) failed: Unexpected old gen state: Bootstrapping
      #
      ```
      when we were running the following script:
      ```rr record -h -n --disable-cpuid-features-ext 0xfc230000,0x2c42,0xc --num-cores=8 \
       ~/github/jdk.accelerated-triggers/build/linux-x86_64-server-slowdebug/jdk/bin/java \
      -XX:ActiveProcessorCount=8 -XX:-UseNUMA \
        -XX:-TieredCompilation -XX:+AlwaysPreTouch -Xms10g -Xmx10g -XX:+UseShenandoahGC -XX:ShenandoahGCMode=generational \
        -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions \
        -XX:-ShenandoahUncommit -XX:+UseCompactObjectHeaders \
        -XX:+ShenandoahVerify -XX:+ShenandoahAllocFailureALot -XX:+UseStringDeduplication \
        -Xlog:async -Xlog:"gc*=info,ergo" \
        -Xlog:safepoint=trace -Xlog:safepoint=debug -Xlog:safepoint=info \
        -jar ~/lib/renaissance-gpl-0.16.1.jar \
        --scratch-base ./tmp/scratch-renaissance --repetitions 30 \
        --json results/genshen/renaissance/movie-lens-renaissance.json movie-lens >trial.$COUNT.out 2>trial.$COUNT.err
      ```
      GC log and hs_err files are attached.

        1. hs_err_pid2853728.log
          923 kB
          Kelvin Nilsen
        2. trial.1.out.gz
          37.23 MB
          Kelvin Nilsen

            Assignee:
            William Kemper
            Reporter:
            Kelvin Nilsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: