hotspot/src/share/vm/oops/oop.inline.hpp
changeset 7397 5b173b4ca846
parent 6772 2563324665d5
child 8076 96d498ec7ae1
equal deleted inserted replaced
7396:518b01b064ff 7397:5b173b4ca846
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  *
    22  *
    23  */
    23  */
       
    24 
       
    25 #ifndef SHARE_VM_OOPS_OOP_INLINE_HPP
       
    26 #define SHARE_VM_OOPS_OOP_INLINE_HPP
       
    27 
       
    28 #include "gc_implementation/shared/ageTable.hpp"
       
    29 #include "gc_implementation/shared/markSweep.inline.hpp"
       
    30 #include "gc_interface/collectedHeap.inline.hpp"
       
    31 #include "memory/barrierSet.inline.hpp"
       
    32 #include "memory/cardTableModRefBS.hpp"
       
    33 #include "memory/compactingPermGenGen.hpp"
       
    34 #include "memory/genCollectedHeap.hpp"
       
    35 #include "memory/generation.hpp"
       
    36 #include "memory/permGen.hpp"
       
    37 #include "memory/specialized_oop_closures.hpp"
       
    38 #include "oops/arrayKlass.hpp"
       
    39 #include "oops/arrayOop.hpp"
       
    40 #include "oops/klass.hpp"
       
    41 #include "oops/klassOop.hpp"
       
    42 #include "oops/markOop.inline.hpp"
       
    43 #include "oops/oop.hpp"
       
    44 #include "runtime/atomic.hpp"
       
    45 #include "runtime/os.hpp"
       
    46 #ifdef TARGET_ARCH_x86
       
    47 # include "bytes_x86.hpp"
       
    48 #endif
       
    49 #ifdef TARGET_ARCH_sparc
       
    50 # include "bytes_sparc.hpp"
       
    51 #endif
       
    52 #ifdef TARGET_ARCH_zero
       
    53 # include "bytes_zero.hpp"
       
    54 #endif
    24 
    55 
    25 // Implementation of all inlined member functions defined in oop.hpp
    56 // Implementation of all inlined member functions defined in oop.hpp
    26 // We need a separate file to avoid circular references
    57 // We need a separate file to avoid circular references
    27 
    58 
    28 inline void oopDesc::release_set_mark(markOop m) {
    59 inline void oopDesc::release_set_mark(markOop m) {
   744 }
   775 }
   745 
   776 
   746 inline bool oopDesc::is_shared_readwrite() const {
   777 inline bool oopDesc::is_shared_readwrite() const {
   747   return CompactingPermGenGen::is_shared_readwrite(this);
   778   return CompactingPermGenGen::is_shared_readwrite(this);
   748 }
   779 }
       
   780 
       
   781 #endif // SHARE_VM_OOPS_OOP_INLINE_HPP