# HG changeset patch # User Stefan Anzinger # Date 1426172308 -3600 # Node ID a67fe68c25c57669c568b89a67e847b1b242987e # Parent 3a5847e64b30c2b7594201aeb261dcf048931e0d [SPARC] Print specific error code when mmap fails (even when PrintWarnings is set to false) diff -r 3a5847e64b30 -r a67fe68c25c5 src/os/solaris/vm/os_solaris.cpp --- 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."); }