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

Marking statistics should use size_t

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b56

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: