hotspot/src/share/vm/runtime/os.hpp
changeset 5085 4f0c435f8c3c
parent 4493 9204129f065e
child 5547 f4b087cbb361
equal deleted inserted replaced
5043:df4fadccc378 5085:4f0c435f8c3c
   216   static bool   protect_memory(char* addr, size_t bytes, ProtType prot,
   216   static bool   protect_memory(char* addr, size_t bytes, ProtType prot,
   217                                bool is_committed = true);
   217                                bool is_committed = true);
   218 
   218 
   219   static bool   guard_memory(char* addr, size_t bytes);
   219   static bool   guard_memory(char* addr, size_t bytes);
   220   static bool   unguard_memory(char* addr, size_t bytes);
   220   static bool   unguard_memory(char* addr, size_t bytes);
       
   221   static bool   create_stack_guard_pages(char* addr, size_t bytes);
       
   222   static bool   remove_stack_guard_pages(char* addr, size_t bytes);
       
   223 
   221   static char*  map_memory(int fd, const char* file_name, size_t file_offset,
   224   static char*  map_memory(int fd, const char* file_name, size_t file_offset,
   222                            char *addr, size_t bytes, bool read_only = false,
   225                            char *addr, size_t bytes, bool read_only = false,
   223                            bool allow_exec = false);
   226                            bool allow_exec = false);
   224   static char*  remap_memory(int fd, const char* file_name, size_t file_offset,
   227   static char*  remap_memory(int fd, const char* file_name, size_t file_offset,
   225                              char *addr, size_t bytes, bool read_only,
   228                              char *addr, size_t bytes, bool read_only,