mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +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
|
@ -78,8 +78,6 @@
|
|||
# endif
|
||||
#endif // PRODUCT
|
||||
|
||||
PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
|
||||
|
||||
FormatBufferResource::FormatBufferResource(const char * format, ...)
|
||||
: FormatBufferBase((char*)resource_allocate_bytes(FormatBufferBase::BufferSize)) {
|
||||
va_list argp;
|
||||
|
@ -524,7 +522,7 @@ extern "C" void pp(void* p) {
|
|||
oop obj = oop(p);
|
||||
obj->print();
|
||||
} else {
|
||||
tty->print(PTR_FORMAT, p);
|
||||
tty->print(PTR_FORMAT, p2i(p));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -559,7 +557,7 @@ extern "C" void ps() { // print stack
|
|||
frame f = os::current_frame();
|
||||
RegisterMap reg_map(p);
|
||||
f = f.sender(®_map);
|
||||
tty->print("(guessing starting frame id=%#p based on current fp)\n", f.id());
|
||||
tty->print("(guessing starting frame id=" PTR_FORMAT " based on current fp)\n", p2i(f.id()));
|
||||
p->trace_stack_from(vframe::new_vframe(&f, ®_map, p));
|
||||
pd_ps(f);
|
||||
#endif // PRODUCT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue