src/share/vm/utilities/stack.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 14,29 **** * * You should have received a copy of the GNU General Public License version * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * ! * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, ! * CA 95054 USA or visit www.sun.com if you need additional information or ! * have any questions. * */ // Class Stack (below) grows and shrinks by linking together "segments" which // are allocated on demand. Segments are arrays of the element type (E) plus an // extra pointer-sized field to store the segment link. Recently emptied // segments are kept in a cache and reused. // --- 14,34 ---- * * You should have received a copy of the GNU General Public License version * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * ! * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ! * or visit www.oracle.com if you need additional information or have any ! * questions. * */ + #ifndef SHARE_VM_UTILITIES_STACK_HPP + #define SHARE_VM_UTILITIES_STACK_HPP + + #include "memory/allocation.inline.hpp" + // Class Stack (below) grows and shrinks by linking together "segments" which // are allocated on demand. Segments are arrays of the element type (E) plus an // extra pointer-sized field to store the segment link. Recently emptied // segments are kept in a cache and reused. //
*** 200,204 **** --- 205,211 ---- }; #ifdef __GNUC__ #undef inline #endif // __GNUC__ + + #endif // SHARE_VM_UTILITIES_STACK_HPP