< prev index next >

src/share/vm/runtime/os.hpp

Print this page

        

*** 284,305 **** static size_t max_page_size() { // The _page_sizes array is sorted in descending order. return _page_sizes[0]; } ! // Methods for tracing page sizes returned by the above method; enabled by ! // TracePageSizes. The region_{min,max}_size parameters should be the values // passed to page_size_for_region() and page_size should be the result of that // call. The (optional) base and size parameters should come from the // ReservedSpace base() and size() methods. ! static void trace_page_sizes(const char* str, const size_t* page_sizes, ! int count) PRODUCT_RETURN; ! static void trace_page_sizes(const char* str, const size_t region_min_size, const size_t region_max_size, const size_t page_size, ! const char* base = NULL, ! const size_t size = 0) PRODUCT_RETURN; static int vm_allocation_granularity(); static char* reserve_memory(size_t bytes, char* addr = 0, size_t alignment_hint = 0); static char* reserve_memory(size_t bytes, char* addr, --- 284,311 ---- static size_t max_page_size() { // The _page_sizes array is sorted in descending order. return _page_sizes[0]; } ! // Methods for tracing page sizes returned by the above method. ! // The region_{min,max}_size parameters should be the values // passed to page_size_for_region() and page_size should be the result of that // call. The (optional) base and size parameters should come from the // ReservedSpace base() and size() methods. ! static void trace_page_sizes(const char* str, const size_t* page_sizes, int count); ! static void trace_page_sizes(const char* str, ! const size_t region_min_size, const size_t region_max_size, const size_t page_size, ! const char* base, ! const size_t size); ! static void trace_page_sizes_for_requested_size(const char* str, ! const size_t requested_size, ! const size_t page_size, ! const size_t alignment, ! const char* base, ! const size_t size); static int vm_allocation_granularity(); static char* reserve_memory(size_t bytes, char* addr = 0, size_t alignment_hint = 0); static char* reserve_memory(size_t bytes, char* addr,
< prev index next >