comparison src/share/vm/oops/oop.psgc.inline.hpp @ 1879:f95d63e2154a

6989984: Use standard include model for Hospot Summary: Replaced MakeDeps and the includeDB files with more standardized solutions. Reviewed-by: coleenp, kvn, kamg
author stefank
date Tue, 23 Nov 2010 13:22:55 -0800
parents 9d7a8ab3736b
children da91efe96a93
comparison
equal deleted inserted replaced
2:e9ebae1e5542 3:a01167178180
1 /* 1 /*
2 * Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2002, 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.
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 24
25 #ifndef SHARE_VM_OOPS_OOP_PSGC_INLINE_HPP
26 #define SHARE_VM_OOPS_OOP_PSGC_INLINE_HPP
27
28 #ifndef SERIALGC
29 #include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
30 #include "gc_implementation/parallelScavenge/psScavenge.hpp"
31 #include "gc_implementation/parallelScavenge/psScavenge.inline.hpp"
32 #endif
33
25 // ParallelScavengeHeap methods 34 // ParallelScavengeHeap methods
26 35
27 inline void oopDesc::push_contents(PSPromotionManager* pm) { 36 inline void oopDesc::push_contents(PSPromotionManager* pm) {
28 Klass* klass = blueprint(); 37 Klass* klass = blueprint();
29 if (!klass->oop_is_typeArray()) { 38 if (!klass->oop_is_typeArray()) {
30 // It might contain oops beyond the header, so take the virtual call. 39 // It might contain oops beyond the header, so take the virtual call.
31 klass->oop_push_contents(pm, this); 40 klass->oop_push_contents(pm, this);
32 } 41 }
33 // Else skip it. The typeArrayKlass in the header never needs scavenging. 42 // Else skip it. The typeArrayKlass in the header never needs scavenging.
34 } 43 }
44
45 #endif // SHARE_VM_OOPS_OOP_PSGC_INLINE_HPP