hotspot/src/os/windows/vm/os_windows.cpp
bool os::guard_memory(char* addr, size_t bytes) {
{- -------------------------------------------
(1) VirtualProtect() を呼び出すだけ.
---------------------------------------- -}
DWORD old_status;
return VirtualProtect(addr, bytes, PAGE_READWRITE | PAGE_GUARD, &old_status) != 0;
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.