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

unused variable threadObj in jvmci_counters_include

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9, 10
    • Fix Version/s: 11
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b11
    • CPU:
      generic
    • OS:
      generic

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            kvn Vladimir Kozlov
            Reporter:
            twisti Christian Thalinger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: