< prev index next >
src/os/aix/vm/os_aix.cpp
Print this page
@@ -2284,11 +2284,11 @@
const char* mesg) {
assert(mesg != NULL, "mesg must be specified");
if (!pd_commit_memory(addr, size, exec)) {
// Add extra info in product mode for vm_exit_out_of_memory():
PRODUCT_ONLY(warn_fail_commit_memory(addr, size, exec, errno);)
- vm_exit_out_of_memory(size, OOM_MMAP_ERROR, mesg);
+ vm_exit_out_of_memory(size, OOM_MMAP_ERROR, "%s", mesg);
}
}
bool os::pd_commit_memory(char* addr, size_t size, bool exec) {
@@ -3118,12 +3118,12 @@
// save the old handler in jvm
save_preinstalled_handler(sig, oldAct);
// libjsig also interposes the sigaction() call below and saves the
// old sigaction on it own.
} else {
- fatal(err_msg("Encountered unexpected pre-existing sigaction handler "
- "%#lx for signal %d.", (long)oldhand, sig));
+ fatal("Encountered unexpected pre-existing sigaction handler "
+ "%#lx for signal %d.", (long)oldhand, sig);
}
}
struct sigaction sigAct;
sigfillset(&(sigAct.sa_mask));
@@ -3697,11 +3697,11 @@
// Mark the polling page as readable
void os::make_polling_page_readable(void) {
// Changed according to os_linux.cpp.
if (!checked_mprotect((char *)_polling_page, Aix::page_size(), PROT_READ)) {
- fatal(err_msg("Could not enable polling page at " PTR_FORMAT, _polling_page));
+ fatal("Could not enable polling page at " PTR_FORMAT, _polling_page);
}
};
int os::active_processor_count() {
int online_cpus = ::sysconf(_SC_NPROCESSORS_ONLN);
< prev index next >