hotspot/src/share/vm/runtime/deoptimization.cpp
changeset 28047 c0e7a15c458f
parent 28039 bf5a8340bf8a
child 29084 1b732f2836ce
equal deleted inserted replaced
28046:c3c8e3a87fb1 28047:c0e7a15c458f
   211       if (objects != NULL) {
   211       if (objects != NULL) {
   212         JRT_BLOCK
   212         JRT_BLOCK
   213           realloc_failures = realloc_objects(thread, &deoptee, objects, THREAD);
   213           realloc_failures = realloc_objects(thread, &deoptee, objects, THREAD);
   214         JRT_END
   214         JRT_END
   215         reassign_fields(&deoptee, &map, objects, realloc_failures);
   215         reassign_fields(&deoptee, &map, objects, realloc_failures);
   216       }
       
   217 #ifndef PRODUCT
   216 #ifndef PRODUCT
   218       if (TraceDeoptimization) {
   217         if (TraceDeoptimization) {
   219         ttyLocker ttyl;
   218           ttyLocker ttyl;
   220         tty->print_cr("REALLOC OBJECTS in thread " INTPTR_FORMAT, thread);
   219           tty->print_cr("REALLOC OBJECTS in thread " INTPTR_FORMAT, thread);
   221         print_objects(objects, realloc_failures);
   220           print_objects(objects, realloc_failures);
   222       }
   221         }
   223 #endif
   222 #endif
       
   223       }
   224       if (save_oop_result) {
   224       if (save_oop_result) {
   225         // Restore result.
   225         // Restore result.
   226         deoptee.set_saved_oop_result(&map, return_value());
   226         deoptee.set_saved_oop_result(&map, return_value());
   227       }
   227       }
   228     }
   228     }