// Called by fatal error handler. void VM_Operation::print_on_error(outputStream* st) const { st->print("VM_Operation (" PTR_FORMAT "): ", p2i(this)); st->print("%s", name()); const char* mode = mode_to_string(evaluation_mode()); st->print(", mode: %s", mode); if (calling_thread()) { st->print(", requested by thread " PTR_FORMAT, p2i(calling_thread())); } }
// Called by fatal error handler. void VM_Operation::print_on_error(outputStream* st) const { st->print("VM_Operation (" PTR_FORMAT "): ", this); st->print("%s", name()); const char* mode; switch(evaluation_mode()) { case _safepoint : mode = "safepoint"; break; case _no_safepoint : mode = "no safepoint"; break; case _concurrent : mode = "concurrent"; break; case _async_safepoint: mode = "async safepoint"; break; default : mode = "unknown"; break; } st->print(", mode: %s", mode); if (calling_thread()) { st->print(", requested by thread " PTR_FORMAT, calling_thread()); } }