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

Initialize JFR trace-IDs with zero

    XMLWordPrintable

    Details

    • Subcomponent:
      jfr
    • Resolved In Build:
      b17
    • CPU:
      generic
    • OS:
      generic

      Backports

        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:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: