Mercurial > hg > graal-compiler
changeset 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 | 3a5847e64b30 |
children | 4bc952439f2a |
files | src/os/solaris/vm/os_solaris.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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."); }