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

Replace SIZE_FORMAT with 'z' length modifier

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Fix
    • P4
    • 22
    • 16
    • hotspot

    Description

      C99 introduced the 'z' length modifier for formatted output. Quoting from the C99 standard (7.19.6.1/7)

      "Specifies that a following d, i, o, u, x, or X conversion specifier applies to a size_t or the corresponding signed integer type argument;"

      Because C99 is implicitly available with C++14, we can now use the 'z' modifier instead of the more verbose and clumsy to use SIZE_FORMAT and friends provided by globalDefinitions.hpp.

      Attachments

        Issue Links

          Activity

            People

              coleenp Coleen Phillimore
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: