1.1 --- a/src/os_cpu/solaris_sparc/vm/os_solaris_sparc.cpp Tue Apr 30 09:17:06 2013 -0400 1.2 +++ b/src/os_cpu/solaris_sparc/vm/os_solaris_sparc.cpp Tue Apr 30 11:56:52 2013 -0700 1.3 @@ -591,7 +591,7 @@ 1.4 // on the thread stack, which could get a mapping error when touched. 1.5 address addr = (address) info->si_addr; 1.6 if (sig == SIGBUS && info->si_code == BUS_OBJERR && info->si_errno == ENOMEM) { 1.7 - vm_exit_out_of_memory(0, "Out of swap space to map in thread stack."); 1.8 + vm_exit_out_of_memory(0, OOM_MMAP_ERROR, "Out of swap space to map in thread stack."); 1.9 } 1.10 1.11 VMError err(t, sig, pc, info, ucVoid);