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

Disabling logging does unnecessary work

    XMLWordPrintable

    Details

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

      Description

      When disabling UL outputs - for example when shutting down the JVM - we are doing some unnecessary work:

      - we always disable all outputs in bulk, but the routine searches up outputs one by one in the LogTagSet output lists - instead we could just drop all nodes in these lists in one quick pass.
      - when finalizing for a JVM shutdown, it's unnecessary to update decorators

      While not technically startup, this gets rid of some noise on JVM exit (~45k instructions) that show up when using full JVM executions as a proxy for startup testing - or running many JVMs back-to-back.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: