comparison src/share/vm/runtime/os.hpp @ 3859:24cee90e9453

6791672: enable 1G and larger pages on solaris Reviewed-by: ysr, iveresov, johnc
author jcoomes
date Wed, 17 Aug 2011 10:32:53 -0700
parents bf6481e5f96d
children f08d439fab8c
comparison
equal deleted inserted replaced
3831:76b1a9420e3d 3859:24cee90e9453
206 // region_max_size == a supported page size. 206 // region_max_size == a supported page size.
207 static size_t page_size_for_region(size_t region_min_size, 207 static size_t page_size_for_region(size_t region_min_size,
208 size_t region_max_size, 208 size_t region_max_size,
209 uint min_pages); 209 uint min_pages);
210 210
211 // Method for tracing page sizes returned by the above method; enabled by 211 // Methods for tracing page sizes returned by the above method; enabled by
212 // TracePageSizes. The region_{min,max}_size parameters should be the values 212 // TracePageSizes. The region_{min,max}_size parameters should be the values
213 // passed to page_size_for_region() and page_size should be the result of that 213 // passed to page_size_for_region() and page_size should be the result of that
214 // call. The (optional) base and size parameters should come from the 214 // call. The (optional) base and size parameters should come from the
215 // ReservedSpace base() and size() methods. 215 // ReservedSpace base() and size() methods.
216 static void trace_page_sizes(const char* str, const size_t* page_sizes,
217 int count) PRODUCT_RETURN;
216 static void trace_page_sizes(const char* str, const size_t region_min_size, 218 static void trace_page_sizes(const char* str, const size_t region_min_size,
217 const size_t region_max_size, 219 const size_t region_max_size,
218 const size_t page_size, 220 const size_t page_size,
219 const char* base = NULL, 221 const char* base = NULL,
220 const size_t size = 0) PRODUCT_RETURN; 222 const size_t size = 0) PRODUCT_RETURN;