hotspot/src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.cpp
bool ParallelScavengeHeap::is_in_reserved(const void* p) const {
{- -------------------------------------------
(1) 引数のポインタが, New 領域か Old 領域か Perm 領域の中にあれば true.
そうでなければ false.
---------------------------------------- -}
if (young_gen()->is_in_reserved(p)) {
return true;
}
if (old_gen()->is_in_reserved(p)) {
return true;
}
if (perm_gen()->is_in_reserved(p)) {
return true;
}
return false;
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.