Mercurial > hg > truffle
comparison src/os/solaris/vm/os_solaris.hpp @ 11198:1e6d5dec4a4e
Merge.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 05 Aug 2013 13:20:06 +0200 |
parents | dec841e0c9aa |
children | b0133e4187d3 |
comparison
equal
deleted
inserted
replaced
11197:3479ab380552 | 11198:1e6d5dec4a4e |
---|---|
104 static lgrp_cookie_stale_func_t _lgrp_cookie_stale; | 104 static lgrp_cookie_stale_func_t _lgrp_cookie_stale; |
105 static lgrp_cookie_t _lgrp_cookie; | 105 static lgrp_cookie_t _lgrp_cookie; |
106 | 106 |
107 static meminfo_func_t _meminfo; | 107 static meminfo_func_t _meminfo; |
108 | 108 |
109 // Large Page Support--mpss. | 109 // Large Page Support |
110 static bool set_mpss_range(caddr_t start, size_t bytes, size_t align); | 110 static bool setup_large_pages(caddr_t start, size_t bytes, size_t align); |
111 | 111 |
112 static void init_thread_fpu_state(void); | 112 static void init_thread_fpu_state(void); |
113 | 113 |
114 static void try_enable_extended_io(); | 114 static void try_enable_extended_io(); |
115 | 115 |
166 static julong _physical_memory; | 166 static julong _physical_memory; |
167 static void initialize_system_info(); | 167 static void initialize_system_info(); |
168 static int _dev_zero_fd; | 168 static int _dev_zero_fd; |
169 static int get_dev_zero_fd() { return _dev_zero_fd; } | 169 static int get_dev_zero_fd() { return _dev_zero_fd; } |
170 static void set_dev_zero_fd(int fd) { _dev_zero_fd = fd; } | 170 static void set_dev_zero_fd(int fd) { _dev_zero_fd = fd; } |
171 static int commit_memory_impl(char* addr, size_t bytes, bool exec); | |
172 static int commit_memory_impl(char* addr, size_t bytes, | |
173 size_t alignment_hint, bool exec); | |
171 static char* mmap_chunk(char *addr, size_t size, int flags, int prot); | 174 static char* mmap_chunk(char *addr, size_t size, int flags, int prot); |
172 static char* anon_mmap(char* requested_addr, size_t bytes, size_t alignment_hint, bool fixed); | 175 static char* anon_mmap(char* requested_addr, size_t bytes, size_t alignment_hint, bool fixed); |
173 static bool mpss_sanity_check(bool warn, size_t * page_size); | 176 static bool mpss_sanity_check(bool warn, size_t * page_size); |
174 static bool ism_sanity_check (bool warn, size_t * page_size); | |
175 | 177 |
176 // Workaround for 4352906. thr_stksegment sometimes returns | 178 // Workaround for 4352906. thr_stksegment sometimes returns |
177 // a bad value for the primordial thread's stack base when | 179 // a bad value for the primordial thread's stack base when |
178 // it is called more than one time. | 180 // it is called more than one time. |
179 // Workaround is to cache the initial value to avoid further | 181 // Workaround is to cache the initial value to avoid further |