Mercurial > hg > truffle
comparison src/os/solaris/vm/os_solaris.cpp @ 19898:749b96e8ff90
Merge.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 17 Mar 2015 13:14:13 +0100 |
parents | 8e316bc46018 |
children | 7848fc12602b |
comparison
equal
deleted
inserted
replaced
19897:0b5036d27c02 | 19898:749b96e8ff90 |
---|---|
2672 | 2672 |
2673 int err = errno; // save errno from mmap() call in mmap_chunk() | 2673 int err = errno; // save errno from mmap() call in mmap_chunk() |
2674 | 2674 |
2675 if (!recoverable_mmap_error(err)) { | 2675 if (!recoverable_mmap_error(err)) { |
2676 warn_fail_commit_memory(addr, bytes, exec, err); | 2676 warn_fail_commit_memory(addr, bytes, exec, err); |
2677 // Introduced temporarily to debug the memory allocation issues on Solaris | |
2678 tty->print_cr("GRAAL_DEBUG: unrecoverable error during mmap got errno %d", err); | |
2679 vm_exit_out_of_memory(bytes, OOM_MMAP_ERROR, "committing reserved memory."); | 2677 vm_exit_out_of_memory(bytes, OOM_MMAP_ERROR, "committing reserved memory."); |
2680 } | 2678 } |
2681 | 2679 |
2682 return err; | 2680 return err; |
2683 } | 2681 } |