Use size_t for indices in G1PageBasedVirtualSpace/G1RegionToSpaceMapper files

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • gc

      Some discussion about JDK-8058354 found that it would be better to use size_t ("a size_t is the smallest integral type which is able to cover the largest possible array") instead of uintptr_t.

      Fix this.

            Assignee:
            Evgeniya Stepanova (Inactive)
            Reporter:
            Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: