src/share/vm/memory/threadLocalAllocBuffer.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1999, 2009, 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,33 **** * or visit www.oracle.com if you need additional information or have any * questions. * */ ! // Thread-Local Edens support ! # include "incls/_precompiled.incl" ! # include "incls/_threadLocalAllocBuffer.cpp.incl" // static member initialization unsigned ThreadLocalAllocBuffer::_target_refills = 0; GlobalTLABStats* ThreadLocalAllocBuffer::_global_stats = NULL; --- 20,47 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ ! #include "precompiled.hpp" ! #include "memory/genCollectedHeap.hpp" ! #include "memory/resourceArea.hpp" ! #include "memory/threadLocalAllocBuffer.inline.hpp" ! #include "memory/universe.inline.hpp" ! #include "oops/oop.inline.hpp" ! #include "utilities/copy.hpp" ! #ifdef TARGET_OS_FAMILY_linux ! # include "thread_linux.inline.hpp" ! #endif ! #ifdef TARGET_OS_FAMILY_solaris ! # include "thread_solaris.inline.hpp" ! #endif ! #ifdef TARGET_OS_FAMILY_windows ! # include "thread_windows.inline.hpp" ! #endif ! // Thread-Local Edens support // static member initialization unsigned ThreadLocalAllocBuffer::_target_refills = 0; GlobalTLABStats* ThreadLocalAllocBuffer::_global_stats = NULL;