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

Missing is_enabled() checks for logging

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 10
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:

      Description

      Some of the logging in the VM is done unconditionally, i.e. without checking if the logging is enabled or not. This means the log message will be assembled only to be thrown away immediately.

      All logging should be preceeded by its corresponding is_enabled() check.

        Attachments

          Activity

            People

            • Assignee:
              mlarsson Marcus Larsson (Inactive)
              Reporter:
              mlarsson Marcus Larsson (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: