hotspot/src/share/vm/runtime/os.hpp
changeset 10272 9377a9510c83
parent 10023 e99d9a03c0f5
child 10565 dc90c239f4ec
equal deleted inserted replaced
10244:dae1b1e51fca 10272:9377a9510c83
   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;