unused variable threadObj in jvmci_counters_include

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 11
    • Affects Version/s: 9, 10
    • Component/s: hotspot
    • b11
    • generic
    • generic

      bool jvmci_counters_include(JavaThread* thread) {
        oop threadObj = thread->threadObj();
        return !JVMCICountersExcludeCompiler || !thread->is_Compiler_thread();
      }

      This is a leftover from this change:

      http://hg.openjdk.java.net/graal/graal-jvmci-8/diff/43e2cc9a4fde/src/share/vm/runtime/thread.cpp

            Assignee:
            Vladimir Kozlov
            Reporter:
            Christian Thalinger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: