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

HexFormat fields could be trusted

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 24
    • core-libs

      In the JDK, there are several places where a `static final HexFormat` object is used. For example, in the factor method `HexFormat::of`.

      It would be possible to make the fields of `HexFormat` eligible for constant folding if they could be trusted thereby improving performance.

            pminborg Per-Ake Minborg
            pminborg Per-Ake Minborg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: