< prev index next >
src/share/vm/gc_implementation/parNew/parNewGeneration.cpp
Print this page
rev 8033 : imported patch parNew
*** 54,65 ****
#include "runtime/thread.inline.hpp"
#include "utilities/copy.hpp"
#include "utilities/globalDefinitions.hpp"
#include "utilities/workgroup.hpp"
- PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
-
#ifdef _MSC_VER
#pragma warning( push )
#pragma warning( disable:4355 ) // 'this' : used in base member initializer list
#endif
ParScanThreadState::ParScanThreadState(Space* to_space_,
--- 54,63 ----
*** 1211,1221 ****
// This code must come after the CAS test, or it will print incorrect
// information.
if (TraceScavenge) {
gclog_or_tty->print_cr("{%s %s " PTR_FORMAT " -> " PTR_FORMAT " (%d)}",
is_in_reserved(new_obj) ? "copying" : "tenuring",
! new_obj->klass()->internal_name(), (void *)old, (void *)new_obj, new_obj->size());
}
#endif
if (forward_ptr == NULL) {
oop obj_to_push = new_obj;
--- 1209,1219 ----
// This code must come after the CAS test, or it will print incorrect
// information.
if (TraceScavenge) {
gclog_or_tty->print_cr("{%s %s " PTR_FORMAT " -> " PTR_FORMAT " (%d)}",
is_in_reserved(new_obj) ? "copying" : "tenuring",
! new_obj->klass()->internal_name(), p2i(old), p2i(new_obj), new_obj->size());
}
#endif
if (forward_ptr == NULL) {
oop obj_to_push = new_obj;
< prev index next >