Unhandled oop in JavaThread::collect_counters

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 11
    • Affects Version/s: 11
    • Component/s: hotspot
    • b14

        There's an unhandled oop here:

        void JavaThread::collect_counters(typeArrayOop array) {
          if (JVMCICounterSize > 0) {
            MutexLocker tl(Threads_lock); // Can safepoint here and case array to become stale
            JavaThreadIteratorWithHandle jtiwh;
            for (int i = 0; i < array->length(); i++) {

        Found with fastdebug and -XX:+CheckUnhandledOops

              Assignee:
              Vladimir Kozlov
              Reporter:
              Stefan Karlsson
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: