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

Marking statistics should use size_t

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • 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.

              sangheki Sangheon Kim
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: