diff 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
line wrap: on
line diff
--- a/src/share/vm/runtime/os.hpp	Tue Aug 16 08:02:29 2011 -0700
+++ b/src/share/vm/runtime/os.hpp	Wed Aug 17 10:32:53 2011 -0700
@@ -208,11 +208,13 @@
                                      size_t region_max_size,
                                      uint min_pages);
 
-  // Method for tracing page sizes returned by the above method; enabled by
+  // 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,