hotspot/src/share/vm/runtime/os.cpp
changeset 10272 9377a9510c83
parent 10023 e99d9a03c0f5
child 10278 e656a9aae10d
--- a/hotspot/src/share/vm/runtime/os.cpp	Tue Aug 16 08:02:29 2011 -0700
+++ b/hotspot/src/share/vm/runtime/os.cpp	Wed Aug 17 10:32:53 2011 -0700
@@ -1232,6 +1232,17 @@
 }
 
 #ifndef PRODUCT
+void os::trace_page_sizes(const char* str, const size_t* page_sizes, int count)
+{
+  if (TracePageSizes) {
+    tty->print("%s: ", str);
+    for (int i = 0; i < count; ++i) {
+      tty->print(" " SIZE_FORMAT, page_sizes[i]);
+    }
+    tty->cr();
+  }
+}
+
 void os::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)