Mercurial > hg > graal-compiler
diff src/share/vm/memory/heap.cpp @ 4319:3c21eee8ab4d
Add installMethodCallback() to HotSpotRuntime.
Re-add tail call node and opcode.
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Tue, 24 Jan 2012 19:17:28 +0100 |
parents | 1d1603768966 |
children | 957c266d8bc5 |
line wrap: on
line diff
--- a/src/share/vm/memory/heap.cpp Mon Jan 23 12:21:06 2012 +0100 +++ b/src/share/vm/memory/heap.cpp Tue Jan 24 19:17:28 2012 +0100 @@ -127,7 +127,7 @@ assert(_number_of_reserved_segments >= _number_of_committed_segments, "just checking"); // reserve space for _segmap - if (!_segmap.initialize(align_to_page_size(_number_of_reserved_segments), align_to_page_size(_number_of_committed_segments))) { + if (!_segmap.initialize(align_to_allocation_size(_number_of_reserved_segments), align_to_allocation_size(_number_of_committed_segments))) { return false; } assert(_segmap.committed_size() >= (size_t) _number_of_committed_segments, "could not commit enough space for segment map");