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

JFR: Reduce logging overhead

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 15
    • None
    • hotspot
    • None
    • jfr
    • b27

        JFR creates unnecessary objects during startup.

        We should check that logging is enabled before constructing a log line. Also, the Supplier<String> method in the Logger class is somewhat of anti pattern, since it increases the cost for log statements that are only executed once.

              egahlin Erik Gahlin
              egahlin Erik Gahlin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: