src/hotspot/share/utilities/stack.hpp
changeset 48157 7c4d43c26352
parent 47216 71c04702a3d5
child 53244 9807daeb47c4
equal deleted inserted replaced
48156:a8f9aac3c2e5 48157:7c4d43c26352
    24 
    24 
    25 #ifndef SHARE_VM_UTILITIES_STACK_HPP
    25 #ifndef SHARE_VM_UTILITIES_STACK_HPP
    26 #define SHARE_VM_UTILITIES_STACK_HPP
    26 #define SHARE_VM_UTILITIES_STACK_HPP
    27 
    27 
    28 #include "memory/allocation.hpp"
    28 #include "memory/allocation.hpp"
    29 #include "memory/allocation.inline.hpp"
       
    30 
    29 
    31 // Class Stack (below) grows and shrinks by linking together "segments" which
    30 // Class Stack (below) grows and shrinks by linking together "segments" which
    32 // are allocated on demand.  Segments are arrays of the element type (E) plus an
    31 // are allocated on demand.  Segments are arrays of the element type (E) plus an
    33 // extra pointer-sized field to store the segment link.  Recently emptied
    32 // extra pointer-sized field to store the segment link.  Recently emptied
    34 // segments are kept in a cache and reused.
    33 // segments are kept in a cache and reused.