Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8256379 Replace SIZE_FORMAT with 'z' length modifier
  3. JDK-8347990

Remove SIZE_FORMAT macros and replace remaining uses

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • None
    • hotspot
    • None
    • master

      With uses of SIZE_FORMAT, SIZE_FORMAT_W and SIZE_FORMAT_X removed, we can remove these macro definitions.

      SIZE_FORMAT_X_0 depends on 32/64 bits so we should keep that one and the few uses in the source code. Moved to be near the other platform dependent macros.

      #ifdef _LP64
      #define SIZE_FORMAT_X_0 "0x%016" PRIxPTR
      #else
      #define SIZE_FORMAT_X_0 "0x%08" PRIxPTR
      #endif

            coleenp Coleen Phillimore
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: