Top


定義場所(file name)

hotspot/src/os/solaris/vm/os_solaris.cpp

名前(function name)

static bool solaris_mprotect(char* addr, size_t bytes, int prot) {

本体部(body)

  {- -------------------------------------------
  (1) mprotect() を呼び出すだけ.
      ---------------------------------------- -}

      assert(addr == (char*)align_size_down((uintptr_t)addr, os::vm_page_size()),
             "addr must be page aligned");
      int retVal = mprotect(addr, bytes, prot);
      return retVal == 0;
    }

This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.