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.

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

                Created:
                Updated:
                Resolved: