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

Initialize JFR trace-IDs with zero

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      jfr
    • Resolved In Build:
      b17
    • CPU:
      generic
    • OS:
      generic

      Description

      Currently, trace-IDs for classloaders, packages and modules are initialized with 1, and the first call to atomic_inc() will update it to 2, which will be the first trace-IDs for those objects. We can initialize them to 0 and start counting at 1 instead.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rkennke Roman Kennke
              Reporter:
              rkennke Roman Kennke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: