src/share/vm/memory/threadLocalAllocBuffer.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1999, 2007, 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. --- 1,7 ---- /* ! * Copyright (c) 1999, 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.
*** 20,29 **** --- 20,36 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #ifndef SHARE_VM_MEMORY_THREADLOCALALLOCBUFFER_HPP + #define SHARE_VM_MEMORY_THREADLOCALALLOCBUFFER_HPP + + #include "gc_implementation/shared/gcUtil.hpp" + #include "oops/typeArrayOop.hpp" + #include "runtime/perfData.hpp" + class GlobalTLABStats; // ThreadLocalAllocBuffer: a descriptor for thread-local storage used by // the threads for allocation. // It is thread-private at any time, but maybe multiplexed over
*** 253,257 **** --- 260,266 ---- void update_slow_allocations(unsigned value) { _total_slow_allocations += value; _max_slow_allocations = MAX2(_max_slow_allocations, value); } }; + + #endif // SHARE_VM_MEMORY_THREADLOCALALLOCBUFFER_HPP