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

JFR: Uninitialized EventEmitter::_thread_id field

XMLWordPrintable

    • jfr
    • b17

        SonarCloud complains this field is not used:

        https://github.com/openjdk/jdk/blob/6569b252b9e61e3eed77039c483529154feffbba/src/hotspot/share/jfr/leakprofiler/checkpoint/eventEmitter.hpp#L47

        Apparently, Loom integration replaced moved its uses with JfrThreadLocal, but declaration stayed was left over.

              easlan Elif Aslan
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: