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

GenShen: Fix bad assert in swap card tables

XMLWordPrintable

    • gc
    • b06

      When running the following test program:
      ```
      dev-dsk-kdnilsen-temp-2a-98f9178d % nohup make test TEST="gc/shenandoah/compiler/TestClone.java#generational-no-coops-verify" TEST_VM_OPTS="-Xlog:gc*=info" JTREG="REPEAT_COUNT=1000 javatest.maxOutputSize=1000000" CONF=fastdebug >test-failure.out 2>test-failure.err &
      ```
      We have observed rare occurrences of this message:
      ```
      # Internal Error (/home/ANT.AMAZON.COM/kdnilsen/github/jdk.freeset-has-authoritative-tallies/src/hotspot/share/gc/shenandoah/shenandoahScanRemembered.cpp:630), pid=1374671, tid=1374737
      # assert(*start_bp == CardTable::clean_card_val()) failed: Should be clean: 0x000000006fffc000
      ```

      The problem arises because of an error in the way the assert is written.

            kdnilsen Kelvin Nilsen
            kdnilsen Kelvin Nilsen
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: