src/share/vm/utilities/stack.hpp

changeset 2314
f95d63e2154a
parent 2191
894b1d7c7e01
child 3900
d2a62e0f25eb
     1.1 --- a/src/share/vm/utilities/stack.hpp	Tue Nov 23 15:01:43 2010 -0500
     1.2 +++ b/src/share/vm/utilities/stack.hpp	Tue Nov 23 13:22:55 2010 -0800
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
     1.6 + * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -16,12 +16,17 @@
    1.11   * 2 along with this work; if not, write to the Free Software Foundation,
    1.12   * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    1.13   *
    1.14 - * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
    1.15 - * CA 95054 USA or visit www.sun.com if you need additional information or
    1.16 - * have any questions.
    1.17 + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    1.18 + * or visit www.oracle.com if you need additional information or have any
    1.19 + * questions.
    1.20   *
    1.21   */
    1.22  
    1.23 +#ifndef SHARE_VM_UTILITIES_STACK_HPP
    1.24 +#define SHARE_VM_UTILITIES_STACK_HPP
    1.25 +
    1.26 +#include "memory/allocation.inline.hpp"
    1.27 +
    1.28  // Class Stack (below) grows and shrinks by linking together "segments" which
    1.29  // are allocated on demand.  Segments are arrays of the element type (E) plus an
    1.30  // extra pointer-sized field to store the segment link.  Recently emptied
    1.31 @@ -202,3 +207,5 @@
    1.32  #ifdef __GNUC__
    1.33  #undef inline
    1.34  #endif // __GNUC__
    1.35 +
    1.36 +#endif // SHARE_VM_UTILITIES_STACK_HPP

mercurial