Mercurial > hg > truffle
diff src/os/linux/vm/os_linux.cpp @ 14391:d2907f74462e
8016586: PPC64 (part 3): basic changes for PPC64
Summary: added #includes needed for ppc64 port. Renamed _MODEL_ppc to _MODEL_ppc_32 and renamed corresponding old _ppc files to _ppc_32.
Reviewed-by: dholmes, kvn
author | goetz |
---|---|
date | Thu, 20 Jun 2013 16:30:44 -0700 |
parents | 0f03ff49c720 |
children | b5c8a61d7fa0 |
line wrap: on
line diff
--- a/src/os/linux/vm/os_linux.cpp Wed Jun 19 12:29:30 2013 +0200 +++ b/src/os/linux/vm/os_linux.cpp Thu Jun 20 16:30:44 2013 -0700 @@ -132,7 +132,7 @@ // For diagnostics to print a message once. see run_periodic_checks static sigset_t check_signal_done; -static bool check_signals = true;; +static bool check_signals = true; static pid_t _initial_pid = 0; @@ -249,6 +249,8 @@ static char cpu_arch[] = "arm"; #elif defined(PPC32) static char cpu_arch[] = "ppc"; +#elif defined(PPC64) +static char cpu_arch[] = "ppc64"; #elif defined(SPARC) # ifdef _LP64 static char cpu_arch[] = "sparcv9"; @@ -4402,7 +4404,7 @@ // the future if the appropriate cleanup code can be added to the // VM_Exit VMOperation's doit method. if (atexit(perfMemory_exit_helper) != 0) { - warning("os::init2 atexit(perfMemory_exit_helper) failed"); + warning("os::init_2 atexit(perfMemory_exit_helper) failed"); } } @@ -4413,8 +4415,7 @@ } // this is called at the end of vm_initialization -void os::init_3(void) -{ +void os::init_3(void) { #ifdef JAVASE_EMBEDDED // Start the MemNotifyThread if (LowMemoryProtection) {