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

G1: HeapRegion pin count should be size_t to avoid overflows

    XMLWordPrintable

Details

    • gc
    • b06

    Backports

      Description

        Currently G1's heap region pin count is an uint, which might overflow with 4B nested GetCriticalPrimitiveArray.
        This may overflow with reasonable effort.

        Extend to size_t (64 bits) for safety.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: