hotspot/src/share/vm/prims/jvmtiExport.cpp
void
JvmtiExport::decode_version_values(jint version, int * major, int * minor,
int * micro) {
{- -------------------------------------------
(1) version 引数の情報を major/minor/micro の 3つの情報に分解し,
引数で指定されたポインタに格納する.
---------------------------------------- -}
*major = (version & JVMTI_VERSION_MASK_MAJOR) >> JVMTI_VERSION_SHIFT_MAJOR;
*minor = (version & JVMTI_VERSION_MASK_MINOR) >> JVMTI_VERSION_SHIFT_MINOR;
*micro = (version & JVMTI_VERSION_MASK_MICRO) >> JVMTI_VERSION_SHIFT_MICRO;
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.