comparison 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
comparison
equal deleted inserted replaced
4315:4c223446c28e 4319:3c21eee8ab4d
125 _number_of_committed_segments = number_of_segments(_memory.committed_size()); 125 _number_of_committed_segments = number_of_segments(_memory.committed_size());
126 _number_of_reserved_segments = number_of_segments(_memory.reserved_size()); 126 _number_of_reserved_segments = number_of_segments(_memory.reserved_size());
127 assert(_number_of_reserved_segments >= _number_of_committed_segments, "just checking"); 127 assert(_number_of_reserved_segments >= _number_of_committed_segments, "just checking");
128 128
129 // reserve space for _segmap 129 // reserve space for _segmap
130 if (!_segmap.initialize(align_to_page_size(_number_of_reserved_segments), align_to_page_size(_number_of_committed_segments))) { 130 if (!_segmap.initialize(align_to_allocation_size(_number_of_reserved_segments), align_to_allocation_size(_number_of_committed_segments))) {
131 return false; 131 return false;
132 } 132 }
133 assert(_segmap.committed_size() >= (size_t) _number_of_committed_segments, "could not commit enough space for segment map"); 133 assert(_segmap.committed_size() >= (size_t) _number_of_committed_segments, "could not commit enough space for segment map");
134 assert(_segmap.reserved_size() >= (size_t) _number_of_reserved_segments , "could not reserve enough space for segment map"); 134 assert(_segmap.reserved_size() >= (size_t) _number_of_reserved_segments , "could not reserve enough space for segment map");
135 assert(_segmap.reserved_size() >= _segmap.committed_size() , "just checking"); 135 assert(_segmap.reserved_size() >= _segmap.committed_size() , "just checking");