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

Replace various encodings of UINT/SIZE_MAX in gc code

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 21
    • hotspot
    • gc
    • b14

      There are a few places where we construct the special value 0xf...f for size_t's using either (size_t)-1 or ~(size_t)0.

      Just use SIZE_MAX instead.

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

              Created:
              Updated:
              Resolved: