< prev index next >
src/share/vm/utilities/vmError.cpp
Print this page
rev 11777 : [mq]: gcinterface.patch
*** 753,763 ****
}
STEP("printing heap information")
if (_verbose && Universe::is_fully_initialized()) {
! Universe::heap()->print_on_error(st);
st->cr();
st->print_cr("Polling page: " INTPTR_FORMAT, p2i(os::get_polling_page()));
st->cr();
}
--- 753,763 ----
}
STEP("printing heap information")
if (_verbose && Universe::is_fully_initialized()) {
! GC::gc()->heap()->print_on_error(st);
st->cr();
st->print_cr("Polling page: " INTPTR_FORMAT, p2i(os::get_polling_page()));
st->cr();
}
*** 930,940 ****
// STEP("printing heap information")
if (Universe::is_fully_initialized()) {
MutexLocker hl(Heap_lock);
! Universe::heap()->print_on_error(st);
st->cr();
st->print_cr("Polling page: " INTPTR_FORMAT, p2i(os::get_polling_page()));
st->cr();
}
--- 930,940 ----
// STEP("printing heap information")
if (Universe::is_fully_initialized()) {
MutexLocker hl(Heap_lock);
! GC::gc()->heap()->print_on_error(st);
st->cr();
st->print_cr("Polling page: " INTPTR_FORMAT, p2i(os::get_polling_page()));
st->cr();
}
*** 1384,1394 ****
tty->print_cr("#");
tty->print_cr("# java.lang.OutOfMemoryError: %s", _message);
tty->print_cr("# -XX:OnOutOfMemoryError=\"%s\"", OnOutOfMemoryError);
// make heap parsability
! Universe::heap()->ensure_parsability(false); // no need to retire TLABs
char* cmd;
const char* ptr = OnOutOfMemoryError;
while ((cmd = next_OnError_command(buffer, sizeof(buffer), &ptr)) != NULL){
tty->print("# Executing ");
--- 1384,1394 ----
tty->print_cr("#");
tty->print_cr("# java.lang.OutOfMemoryError: %s", _message);
tty->print_cr("# -XX:OnOutOfMemoryError=\"%s\"", OnOutOfMemoryError);
// make heap parsability
! GC::gc()->heap()->ensure_parsability(false); // no need to retire TLABs
char* cmd;
const char* ptr = OnOutOfMemoryError;
while ((cmd = next_OnError_command(buffer, sizeof(buffer), &ptr)) != NULL){
tty->print("# Executing ");
< prev index next >