hotspot/src/share/vm/gc_implementation/parNew/parNewGeneration.cpp
changeset 29799 3ad47a56094a
parent 29792 8c6fa07f0869
child 30153 596ed88949ad
equal deleted inserted replaced
29798:451c73fdf690 29799:3ad47a56094a
    52 #include "runtime/java.hpp"
    52 #include "runtime/java.hpp"
    53 #include "runtime/thread.inline.hpp"
    53 #include "runtime/thread.inline.hpp"
    54 #include "utilities/copy.hpp"
    54 #include "utilities/copy.hpp"
    55 #include "utilities/globalDefinitions.hpp"
    55 #include "utilities/globalDefinitions.hpp"
    56 #include "utilities/workgroup.hpp"
    56 #include "utilities/workgroup.hpp"
    57 
       
    58 PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
       
    59 
    57 
    60 #ifdef _MSC_VER
    58 #ifdef _MSC_VER
    61 #pragma warning( push )
    59 #pragma warning( push )
    62 #pragma warning( disable:4355 ) // 'this' : used in base member initializer list
    60 #pragma warning( disable:4355 ) // 'this' : used in base member initializer list
    63 #endif
    61 #endif
  1210   // This code must come after the CAS test, or it will print incorrect
  1208   // This code must come after the CAS test, or it will print incorrect
  1211   // information.
  1209   // information.
  1212   if (TraceScavenge) {
  1210   if (TraceScavenge) {
  1213     gclog_or_tty->print_cr("{%s %s " PTR_FORMAT " -> " PTR_FORMAT " (%d)}",
  1211     gclog_or_tty->print_cr("{%s %s " PTR_FORMAT " -> " PTR_FORMAT " (%d)}",
  1214        is_in_reserved(new_obj) ? "copying" : "tenuring",
  1212        is_in_reserved(new_obj) ? "copying" : "tenuring",
  1215        new_obj->klass()->internal_name(), (void *)old, (void *)new_obj, new_obj->size());
  1213        new_obj->klass()->internal_name(), p2i(old), p2i(new_obj), new_obj->size());
  1216   }
  1214   }
  1217 #endif
  1215 #endif
  1218 
  1216 
  1219   if (forward_ptr == NULL) {
  1217   if (forward_ptr == NULL) {
  1220     oop obj_to_push = new_obj;
  1218     oop obj_to_push = new_obj;