hotspot/src/share/vm/prims/jvmtiManageCapabilities.cpp
void JvmtiManageCapabilities::copy_capabilities(const jvmtiCapabilities *from, jvmtiCapabilities *to) {
{- -------------------------------------------
(1) from 引数が指す箇所から to 引数が指す箇所にメモリコピーをするだけ.
---------------------------------------- -}
char *ap = (char *)from;
char *resultp = (char *)to;
for (int i = 0; i < CAPA_SIZE; ++i) {
*resultp++ = *ap++;
}
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.