Mercurial > hg > truffle
comparison src/share/vm/oops/objArrayKlass.hpp @ 8001:db9981fd3124
8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
Summary: Rename INCLUDE_ALTERNATE_GCS to INCLUDE_ALL_GCS and replace SERIALGC with INCLUDE_ALL_GCS.
Reviewed-by: coleenp, stefank
author | jprovino |
---|---|
date | Wed, 23 Jan 2013 13:02:39 -0500 |
parents | 070d523b96a7 |
children | 6bd680e9ea35 |
comparison
equal
deleted
inserted
replaced
7619:46e60405583b | 8001:db9981fd3124 |
---|---|
26 #define SHARE_VM_OOPS_OBJARRAYKLASS_HPP | 26 #define SHARE_VM_OOPS_OBJARRAYKLASS_HPP |
27 | 27 |
28 #include "classfile/classLoaderData.hpp" | 28 #include "classfile/classLoaderData.hpp" |
29 #include "memory/specialized_oop_closures.hpp" | 29 #include "memory/specialized_oop_closures.hpp" |
30 #include "oops/arrayKlass.hpp" | 30 #include "oops/arrayKlass.hpp" |
31 #include "utilities/macros.hpp" | |
31 | 32 |
32 // ObjArrayKlass is the klass for objArrays | 33 // ObjArrayKlass is the klass for objArrays |
33 | 34 |
34 class ObjArrayKlass : public ArrayKlass { | 35 class ObjArrayKlass : public ArrayKlass { |
35 friend class VMStructs; | 36 friend class VMStructs; |
109 | 110 |
110 int oop_adjust_pointers(oop obj); | 111 int oop_adjust_pointers(oop obj); |
111 | 112 |
112 // Parallel Scavenge and Parallel Old | 113 // Parallel Scavenge and Parallel Old |
113 PARALLEL_GC_DECLS | 114 PARALLEL_GC_DECLS |
114 #ifndef SERIALGC | 115 #if INCLUDE_ALL_GCS |
115 inline void oop_follow_contents(ParCompactionManager* cm, oop obj, int index); | 116 inline void oop_follow_contents(ParCompactionManager* cm, oop obj, int index); |
116 template <class T> inline void | 117 template <class T> inline void |
117 objarray_follow_contents(ParCompactionManager* cm, oop obj, int index); | 118 objarray_follow_contents(ParCompactionManager* cm, oop obj, int index); |
118 #endif // !SERIALGC | 119 #endif // INCLUDE_ALL_GCS |
119 | 120 |
120 // Iterators | 121 // Iterators |
121 int oop_oop_iterate(oop obj, ExtendedOopClosure* blk) { | 122 int oop_oop_iterate(oop obj, ExtendedOopClosure* blk) { |
122 return oop_oop_iterate_v(obj, blk); | 123 return oop_oop_iterate_v(obj, blk); |
123 } | 124 } |