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

UL instantiates duplicate tag sets

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      svc
    • Resolved In Build:
      b115

      Description

      The emulation of variadic templates used by the Log class relies on the fact that __NO_TAG terminates a tag sequence. Log<logging, __NO_TAG> is the log for the {logging} tagset, for example. GCTraceTimer appends tagsets with a 'start' tag for the timer start logging. While doing so it instantiates Log templates where other tags follow the __NO_TAGS tag, thus creating what looks like duplicate tagsets.

      This affects the listing of tag sets in -Xlog:logging=trace (see for example -Xlog:logging=trace,gc).

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: