hotspot/src/share/vm/gc_implementation/shared/mutableNUMASpace.cpp
changeset 7397 5b173b4ca846
parent 5702 201c5cde25bb
child 10565 dc90c239f4ec
equal deleted inserted replaced
7396:518b01b064ff 7397:5b173b4ca846
     1 
     1 
     2 /*
     2 /*
     3  * Copyright (c) 2006, 2009, Oracle and/or its affiliates. All rights reserved.
     3  * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5  *
     5  *
     6  * This code is free software; you can redistribute it and/or modify it
     6  * This code is free software; you can redistribute it and/or modify it
     7  * under the terms of the GNU General Public License version 2 only, as
     7  * under the terms of the GNU General Public License version 2 only, as
     8  * published by the Free Software Foundation.
     8  * published by the Free Software Foundation.
    21  * or visit www.oracle.com if you need additional information or have any
    21  * or visit www.oracle.com if you need additional information or have any
    22  * questions.
    22  * questions.
    23  *
    23  *
    24  */
    24  */
    25 
    25 
    26 # include "incls/_precompiled.incl"
    26 #include "precompiled.hpp"
    27 # include "incls/_mutableNUMASpace.cpp.incl"
    27 #include "gc_implementation/shared/mutableNUMASpace.hpp"
       
    28 #include "gc_implementation/shared/spaceDecorator.hpp"
       
    29 #include "memory/sharedHeap.hpp"
       
    30 #include "oops/oop.inline.hpp"
       
    31 #ifdef TARGET_OS_FAMILY_linux
       
    32 # include "thread_linux.inline.hpp"
       
    33 #endif
       
    34 #ifdef TARGET_OS_FAMILY_solaris
       
    35 # include "thread_solaris.inline.hpp"
       
    36 #endif
       
    37 #ifdef TARGET_OS_FAMILY_windows
       
    38 # include "thread_windows.inline.hpp"
       
    39 #endif
    28 
    40 
    29 
    41 
    30 MutableNUMASpace::MutableNUMASpace(size_t alignment) : MutableSpace(alignment) {
    42 MutableNUMASpace::MutableNUMASpace(size_t alignment) : MutableSpace(alignment) {
    31   _lgrp_spaces = new (ResourceObj::C_HEAP) GrowableArray<LGRPSpace*>(0, true);
    43   _lgrp_spaces = new (ResourceObj::C_HEAP) GrowableArray<LGRPSpace*>(0, true);
    32   _page_size = os::vm_page_size();
    44   _page_size = os::vm_page_size();