hotspot/src/share/vm/runtime/thread.cpp
changeset 36186 06763de0d7ad
parent 36178 9739f8c767da
child 36199 855b44ce93c0
--- a/hotspot/src/share/vm/runtime/thread.cpp	Thu Feb 18 14:56:53 2016 +0300
+++ b/hotspot/src/share/vm/runtime/thread.cpp	Thu Feb 18 17:10:48 2016 -0500
@@ -170,11 +170,10 @@
     assert(((uintptr_t) aligned_addr + (uintptr_t) size) <=
            ((uintptr_t) real_malloc_addr + (uintptr_t) aligned_size),
            "JavaThread alignment code overflowed allocated storage");
-    if (TraceBiasedLocking) {
-      if (aligned_addr != real_malloc_addr) {
-        tty->print_cr("Aligned thread " INTPTR_FORMAT " to " INTPTR_FORMAT,
-                      p2i(real_malloc_addr), p2i(aligned_addr));
-      }
+    if (aligned_addr != real_malloc_addr) {
+      log_info(biasedlocking)("Aligned thread " INTPTR_FORMAT " to " INTPTR_FORMAT,
+                              p2i(real_malloc_addr),
+                              p2i(aligned_addr));
     }
     ((Thread*) aligned_addr)->_real_malloc_address = real_malloc_addr;
     return aligned_addr;