hotspot/src/share/vm/prims/jvmtiEnv.cpp
// k_mirror - may be primitive, this must be checked
// is_modifiable_class_ptr - pre-checked for NULL
jvmtiError
JvmtiEnv::IsModifiableClass(oop k_mirror, jboolean* is_modifiable_class_ptr) {
{- -------------------------------------------
(1) VM_RedefineClasses::is_modifiable_class() を呼び出し,
結果を is_modifiable_class_ptr 引数で指定された箇所に書き込む.
---------------------------------------- -}
*is_modifiable_class_ptr = VM_RedefineClasses::is_modifiable_class(k_mirror)?
JNI_TRUE : JNI_FALSE;
{- -------------------------------------------
(1) リターン
---------------------------------------- -}
return JVMTI_ERROR_NONE;
} /* end IsModifiableClass */
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.