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

Virtualize G1CardSet containers over heap region

    XMLWordPrintable

Details

    • gc
    • b24

    Description

      Currently there is a 1:1 mapping between the area G1CardSet can cover and the size of a heap region.
      This in effect limits heap region size to the maximum any container can cover, i.e. 2^16 cards, i.e. 2^25 bytes = 32MB.

      This is an unnecessary restriction since introduction of JDK-8017163. G1CardSet may as well use "virtual" regions, i.e. subdivide the heap region size in chunks of the size of the maximum any container can cover.

      This change also allows arbitrary combinations of the card table size with any heap region size (unless otherwise limited) currently investigated in JDK-8272773.

      Attachments

        Issue Links

          Activity

            People

              tschatzl Thomas Schatzl
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: