1.1 --- a/src/share/vm/utilities/stack.inline.hpp Tue Jul 08 13:52:29 2014 -0400 1.2 +++ b/src/share/vm/utilities/stack.inline.hpp Tue Apr 14 11:40:13 2015 +0200 1.3 @@ -86,14 +86,6 @@ 1.4 } 1.5 1.6 template <class E, MEMFLAGS F> 1.7 -size_t Stack<E, F>::default_segment_size() 1.8 -{ 1.9 - // Number of elements that fit in 4K bytes minus the size of two pointers 1.10 - // (link field and malloc header). 1.11 - return (4096 - 2 * sizeof(E*)) / sizeof(E); 1.12 -} 1.13 - 1.14 -template <class E, MEMFLAGS F> 1.15 size_t Stack<E, F>::adjust_segment_size(size_t seg_size) 1.16 { 1.17 const size_t elem_sz = sizeof(E);