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

G1: HeapRegion pin count should be size_t to avoid overflows

XMLWordPrintable

    • gc
    • b06

        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.

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

                Created:
                Updated:
                Resolved: