Mercurial > hg > graal-jvmci-8
diff src/os/solaris/vm/os_solaris.cpp @ 19813:a67fe68c25c5
[SPARC] Print specific error code when mmap fails (even when PrintWarnings is set to false)
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Thu, 12 Mar 2015 15:58:28 +0100 |
parents | 52b4284cb496 |
children | 8e316bc46018 |
line wrap: on
line diff
--- a/src/os/solaris/vm/os_solaris.cpp Thu Mar 12 15:37:57 2015 +0100 +++ b/src/os/solaris/vm/os_solaris.cpp Thu Mar 12 15:58:28 2015 +0100 @@ -2674,6 +2674,8 @@ if (!recoverable_mmap_error(err)) { warn_fail_commit_memory(addr, bytes, exec, err); + // Introduced temporarily to debug the memory allocation issues on Solaris + tty->print_cr("GRAAL_DEBUG: unrecoverable error during mmap got errno %d", err); vm_exit_out_of_memory(bytes, OOM_MMAP_ERROR, "committing reserved memory."); }