mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
6204603: Modify hotspot to use new Solaris mmap semantics for class data archive file
Os::attempt_reserve_memory_at() now passes an address hint to mmap Reviewed-by: kamg, dice
This commit is contained in:
parent
1e62d37cc0
commit
387f42921b
2 changed files with 39 additions and 11 deletions
|
@ -156,6 +156,7 @@ class Solaris {
|
|||
static int get_dev_zero_fd() { return _dev_zero_fd; }
|
||||
static void set_dev_zero_fd(int fd) { _dev_zero_fd = fd; }
|
||||
static char* mmap_chunk(char *addr, size_t size, int flags, int prot);
|
||||
static char* anon_mmap(char* requested_addr, size_t bytes, size_t alignment_hint, bool fixed);
|
||||
static bool mpss_sanity_check(bool warn, size_t * page_size);
|
||||
static bool ism_sanity_check (bool warn, size_t * page_size);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue