hotspot/src/share/vm/prims/jvmtiEnv.cpp
// capabilities_ptr - pre-checked for NULL
jvmtiError
JvmtiEnv::GetCapabilities(jvmtiCapabilities* capabilities_ptr) {
{- -------------------------------------------
(1) JvmtiManageCapabilities::copy_capabilities() を呼び出し,
get_capabilities() の値を capabilities_ptr 引数が指す箇所にコピーする.
(なお, get_capabilities() は _current_capabilities フィールドを指すポインタ.
(See: JvmtiEnvBase::get_capabilities()))
---------------------------------------- -}
JvmtiManageCapabilities::copy_capabilities(get_capabilities(), capabilities_ptr);
return JVMTI_ERROR_NONE;
} /* end GetCapabilities */
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.