hotspot/src/share/vm/runtime/deoptimization.cpp
changeset 28047 c0e7a15c458f
parent 28039 bf5a8340bf8a
child 29084 1b732f2836ce
--- a/hotspot/src/share/vm/runtime/deoptimization.cpp	Tue Dec 09 21:33:51 2014 +0000
+++ b/hotspot/src/share/vm/runtime/deoptimization.cpp	Wed Dec 10 16:45:55 2014 +0100
@@ -213,14 +213,14 @@
           realloc_failures = realloc_objects(thread, &deoptee, objects, THREAD);
         JRT_END
         reassign_fields(&deoptee, &map, objects, realloc_failures);
+#ifndef PRODUCT
+        if (TraceDeoptimization) {
+          ttyLocker ttyl;
+          tty->print_cr("REALLOC OBJECTS in thread " INTPTR_FORMAT, thread);
+          print_objects(objects, realloc_failures);
+        }
+#endif
       }
-#ifndef PRODUCT
-      if (TraceDeoptimization) {
-        ttyLocker ttyl;
-        tty->print_cr("REALLOC OBJECTS in thread " INTPTR_FORMAT, thread);
-        print_objects(objects, realloc_failures);
-      }
-#endif
       if (save_oop_result) {
         // Restore result.
         deoptee.set_saved_oop_result(&map, return_value());