Searched refs:seg_size (Results 1 - 2 of 2) sorted by relevance

/openjdk7/hotspot/src/share/vm/utilities/
H A Dstack.inline.hpp39 template <MEMFLAGS F> size_t StackBase<F>::adjust_max_size(size_t max_size, size_t seg_size) argument
41 assert(seg_size > 0, "cannot be 0");
42 assert(max_size >= seg_size || max_size == 0, "max_size too small");
43 const size_t limit = max_uintx - (seg_size - 1);
47 return (max_size + seg_size - 1) / seg_size * seg_size;
97 size_t Stack<E, F>::adjust_segment_size(size_t seg_size) argument
103 return align_size_up(seg_size * elem_sz, ptr_sz) / elem_sz;
105 return seg_size;
[all...]
H A Dstack.hpp78 static inline size_t adjust_max_size(size_t max_size, size_t seg_size);
138 // Round up seg_size to keep the link field aligned.
139 static inline size_t adjust_segment_size(size_t seg_size);

Completed in 67 milliseconds