hotspot/src/os/linux/vm/os_linux.cpp
changeset 22807 1cf02ef734e2
parent 22806 7d1955769e90
child 22808 88bca865e247
--- a/hotspot/src/os/linux/vm/os_linux.cpp	Wed Jun 19 12:29:30 2013 +0200
+++ b/hotspot/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) {