< prev index next >

src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp

Print this page

        

@@ -170,11 +170,11 @@
     // JVM needs to know exact stack location, abort if it fails
     if (rslt != 0) {
       if (rslt == ENOMEM) {
         vm_exit_out_of_memory(0, OOM_MMAP_ERROR, "pthread_getattr_np");
       } else {
-        fatal(err_msg("pthread_getattr_np failed with errno = %d", rslt));
+        fatal("pthread_getattr_np failed with errno = %d", rslt);
       }
     }
 
     if (pthread_attr_getstack(&attr, (void**)bottom, size) != 0) {
       fatal("Can not locate current stack attributes!");

@@ -690,12 +690,11 @@
   sigset_t newset;
   sigemptyset(&newset);
   sigaddset(&newset, sig);
   sigprocmask(SIG_UNBLOCK, &newset, NULL);
 
-  VMError err(t, sig, pc, info, ucVoid);
-  err.report_and_die();
+  VMError::report_and_die(t, sig, pc, info, ucVoid);
 
   ShouldNotReachHere();
 }
 
 void os::Linux::init_thread_fpu_state(void) {
< prev index next >