mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-24 04:54:40 +02:00
8042893: compiler: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
8042894: runtime: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files Reviewed-by: goetz, brutisso
This commit is contained in:
parent
dbdf722879
commit
5770f4eb32
83 changed files with 529 additions and 664 deletions
|
@ -42,8 +42,6 @@
|
|||
#include "services/threadService.hpp"
|
||||
#include "trace/tracing.hpp"
|
||||
|
||||
PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
|
||||
|
||||
#define VM_OP_NAME_INITIALIZE(name) #name,
|
||||
|
||||
const char* VM_Operation::_names[VM_Operation::VMOp_Terminating] = \
|
||||
|
@ -79,14 +77,14 @@ const char* VM_Operation::mode_to_string(Mode mode) {
|
|||
}
|
||||
// Called by fatal error handler.
|
||||
void VM_Operation::print_on_error(outputStream* st) const {
|
||||
st->print("VM_Operation (" PTR_FORMAT "): ", this);
|
||||
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, calling_thread());
|
||||
st->print(", requested by thread " PTR_FORMAT, p2i(calling_thread()));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue