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

LogDecorations should lazily resolve host name

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b06

      Description

      When initialized during bootstrap, LogDecorations resolves the host name via a uname syscall, which reportedly can have measurable cost on certain platforms. Since the host name decorator is not used by default, lazily initializing the host name string seems reasonable.

        Attachments

          Activity

            People

            Assignee:
            redestad Claes Redestad
            Reporter:
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: