mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8081202: Hotspot compile warning: "Invalid suffix on literal; C++11 requires a space between literal and identifier"
Need to add a space between macro identifier and string literal Reviewed-by: stefank, dholmes, kbarrett
This commit is contained in:
parent
912d770499
commit
304b59b0c8
85 changed files with 462 additions and 462 deletions
|
@ -159,8 +159,8 @@ WB_END
|
|||
|
||||
WB_ENTRY(void, WB_PrintHeapSizes(JNIEnv* env, jobject o)) {
|
||||
CollectorPolicy * p = Universe::heap()->collector_policy();
|
||||
gclog_or_tty->print_cr("Minimum heap "SIZE_FORMAT" Initial heap "
|
||||
SIZE_FORMAT" Maximum heap "SIZE_FORMAT" Space alignment "SIZE_FORMAT" Heap alignment "SIZE_FORMAT,
|
||||
gclog_or_tty->print_cr("Minimum heap " SIZE_FORMAT " Initial heap "
|
||||
SIZE_FORMAT " Maximum heap " SIZE_FORMAT " Space alignment " SIZE_FORMAT " Heap alignment " SIZE_FORMAT,
|
||||
p->min_heap_byte_size(), p->initial_heap_byte_size(), p->max_heap_byte_size(),
|
||||
p->space_alignment(), p->heap_alignment());
|
||||
}
|
||||
|
@ -195,8 +195,8 @@ WB_ENTRY(void, WB_ReadFromNoaccessArea(JNIEnv* env, jobject o))
|
|||
Universe::narrow_oop_use_implicit_null_checks() )) {
|
||||
tty->print_cr("WB_ReadFromNoaccessArea method is useless:\n "
|
||||
"\tUseCompressedOops is %d\n"
|
||||
"\trhs.base() is "PTR_FORMAT"\n"
|
||||
"\tUniverse::narrow_oop_base() is "PTR_FORMAT"\n"
|
||||
"\trhs.base() is " PTR_FORMAT "\n"
|
||||
"\tUniverse::narrow_oop_base() is " PTR_FORMAT "\n"
|
||||
"\tUniverse::narrow_oop_use_implicit_null_checks() is %d",
|
||||
UseCompressedOops,
|
||||
rhs.base(),
|
||||
|
@ -249,8 +249,8 @@ static jint wb_stress_virtual_space_resize(size_t reserved_space_size,
|
|||
|
||||
WB_ENTRY(jint, WB_StressVirtualSpaceResize(JNIEnv* env, jobject o,
|
||||
jlong reserved_space_size, jlong magnitude, jlong iterations))
|
||||
tty->print_cr("reservedSpaceSize="JLONG_FORMAT", magnitude="JLONG_FORMAT", "
|
||||
"iterations="JLONG_FORMAT"\n", reserved_space_size, magnitude,
|
||||
tty->print_cr("reservedSpaceSize=" JLONG_FORMAT ", magnitude=" JLONG_FORMAT ", "
|
||||
"iterations=" JLONG_FORMAT "\n", reserved_space_size, magnitude,
|
||||
iterations);
|
||||
if (reserved_space_size < 0 || magnitude < 0 || iterations < 0) {
|
||||
tty->print_cr("One of variables printed above is negative. Can't proceed.\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue