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

Unhandled oop in JavaThread::collect_counters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 11
    • 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

              kvn Vladimir Kozlov
              stefank Stefan Karlsson
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: