Mercurial > hg > truffle
comparison src/share/vm/runtime/os.cpp @ 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 | 9f12ede5571a |
comparison
equal
deleted
inserted
replaced
3831:76b1a9420e3d | 3859:24cee90e9453 |
---|---|
1230 | 1230 |
1231 return vm_page_size(); | 1231 return vm_page_size(); |
1232 } | 1232 } |
1233 | 1233 |
1234 #ifndef PRODUCT | 1234 #ifndef PRODUCT |
1235 void os::trace_page_sizes(const char* str, const size_t* page_sizes, int count) | |
1236 { | |
1237 if (TracePageSizes) { | |
1238 tty->print("%s: ", str); | |
1239 for (int i = 0; i < count; ++i) { | |
1240 tty->print(" " SIZE_FORMAT, page_sizes[i]); | |
1241 } | |
1242 tty->cr(); | |
1243 } | |
1244 } | |
1245 | |
1235 void os::trace_page_sizes(const char* str, const size_t region_min_size, | 1246 void os::trace_page_sizes(const char* str, const size_t region_min_size, |
1236 const size_t region_max_size, const size_t page_size, | 1247 const size_t region_max_size, const size_t page_size, |
1237 const char* base, const size_t size) | 1248 const char* base, const size_t size) |
1238 { | 1249 { |
1239 if (TracePageSizes) { | 1250 if (TracePageSizes) { |