Marking statistics should use size_t

XMLWordPrintable

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

        Marking statistics (guarded by the MARKING_STATS define) collect a few interesting statistics about marking.

        All these variables (improperly) use ints, which may even overflow with very large heaps.

        Fix at least the improper data type to avoid overflows. Look for any other problems in that area, cleaning up the code as necessary.

              Assignee:
              Sangheon Kim (Inactive)
              Reporter:
              Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: