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

Remove the conc_scan parameter for CardTable

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b10

      Description

      The conc_scan parameter for CardTable affects code generation, adding necessary memory barriers in some paths.

      The only collector after CMS removal enabling it is G1, i.e. enabling CardTableBarrierSet::card_mark_must_follow_store(); however lots of code generation uses CardTable::scanned_concurrently() directly.

      Initial results just overriding CardTableBarrierSet::card_mark_must_follow_store() for G1 (and removing CardTable::scanned_concurrently()) seems to result in wrongly generated code - i.e. CardTable::scanned_concurrently() may be used incorrectly in some places.

      Investigate and see if conc_scan from the card table can be removed.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tschatzl Thomas Schatzl
              Reporter:
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: