< prev index next >
src/share/vm/utilities/vmError.cpp
Print this page
@@ -276,10 +276,12 @@
st->print_cr("# JVM is running with Zero Based Compressed Oops mode in which the Java heap is");
st->print_cr("# placed in the first 32GB address space. The Java Heap base address is the");
st->print_cr("# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress");
st->print_cr("# to set the Java Heap base and to place the Java Heap above 32GB virtual address.");
break;
+ default:
+ break;
}
}
st->print_cr("# This output file may be truncated or incomplete.");
}
@@ -1311,16 +1313,18 @@
if (_step_did_timeout) {
// The current step had a timeout. Lets continue reporting with the next step.
st->print_raw("[timeout occurred during error reporting in step \"");
st->print_raw(_current_step_info);
st->print_cr("\"] after " INT64_FORMAT " s.",
- (get_current_timestamp() - _step_start_time) / TIMESTAMP_TO_SECONDS_FACTOR);
+ (int64_t)
+ ((get_current_timestamp() - _step_start_time) / TIMESTAMP_TO_SECONDS_FACTOR));
} else if (_reporting_did_timeout) {
// We hit ErrorLogTimeout. Reporting will stop altogether. Let's wrap things
// up, the process is about to be stopped by the WatcherThread.
st->print_cr("------ Timeout during error reporting after " INT64_FORMAT " s. ------",
- (get_current_timestamp() - _reporting_start_time) / TIMESTAMP_TO_SECONDS_FACTOR);
+ (int64_t)
+ ((get_current_timestamp() - _reporting_start_time) / TIMESTAMP_TO_SECONDS_FACTOR));
st->flush();
// Watcherthread is about to call os::die. Lets just wait.
os::infinite_sleep();
} else {
// Crash or assert during error reporting. Lets continue reporting with the next step.
< prev index next >