Top


定義場所(file name)

hotspot/src/share/vm/services/management.cpp

名前(function name)

static void validate_thread_info_array(objArrayHandle infoArray_h, TRAPS) {

本体部(body)

  {- -------------------------------------------
  (1) もし引数が java.lang.management.ThreadInfo の配列でなければ IllegalArgumentException.
      ---------------------------------------- -}

      // check if the element of infoArray is of type ThreadInfo class
      klassOop threadinfo_klass = Management::java_lang_management_ThreadInfo_klass(CHECK);
      klassOop element_klass = objArrayKlass::cast(infoArray_h->klass())->element_klass();
      if (element_klass != threadinfo_klass) {
        THROW_MSG(vmSymbols::java_lang_IllegalArgumentException(),
                  "infoArray element type is not ThreadInfo class");
      }
    }

This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.