Mercurial > hg > graal-jvmci-8
comparison src/os/solaris/vm/os_solaris.hpp @ 60:8d84e28e68ba
6204603: Modify hotspot to use new Solaris mmap semantics for class data archive file
Summary: os::attempt_reserve_memory_at() now passes an address hint to mmap
Reviewed-by: kamg, dice
author | sbohne |
---|---|
date | Fri, 14 Mar 2008 10:43:02 -0400 |
parents | a61af66fc99e |
children | e3729351c946 |
comparison
equal
deleted
inserted
replaced
59:887682771f69 | 60:8d84e28e68ba |
---|---|
154 static void initialize_system_info(); | 154 static void initialize_system_info(); |
155 static int _dev_zero_fd; | 155 static int _dev_zero_fd; |
156 static int get_dev_zero_fd() { return _dev_zero_fd; } | 156 static int get_dev_zero_fd() { return _dev_zero_fd; } |
157 static void set_dev_zero_fd(int fd) { _dev_zero_fd = fd; } | 157 static void set_dev_zero_fd(int fd) { _dev_zero_fd = fd; } |
158 static char* mmap_chunk(char *addr, size_t size, int flags, int prot); | 158 static char* mmap_chunk(char *addr, size_t size, int flags, int prot); |
159 static char* anon_mmap(char* requested_addr, size_t bytes, size_t alignment_hint, bool fixed); | |
159 static bool mpss_sanity_check(bool warn, size_t * page_size); | 160 static bool mpss_sanity_check(bool warn, size_t * page_size); |
160 static bool ism_sanity_check (bool warn, size_t * page_size); | 161 static bool ism_sanity_check (bool warn, size_t * page_size); |
161 | 162 |
162 // Workaround for 4352906. thr_stksegment sometimes returns | 163 // Workaround for 4352906. thr_stksegment sometimes returns |
163 // a bad value for the primordial thread's stack base when | 164 // a bad value for the primordial thread's stack base when |