58 return tak;
59 }
60
61 int oop_size(oop obj) const;
62
63 bool compute_is_subtype_of(Klass* k);
64
65 // Allocation
66 typeArrayOop allocate_common(int length, bool do_zero, TRAPS);
67 typeArrayOop allocate(int length, TRAPS) { return allocate_common(length, true, THREAD); }
68 oop multi_allocate(int rank, jint* sizes, TRAPS);
69
70 oop protection_domain() const { return NULL; }
71
72 // Copying
73 void copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS);
74
75 // GC specific object visitors
76 //
77 // Mark Sweep
78 void oop_ms_follow_contents(oop obj);
79 int oop_ms_adjust_pointers(oop obj);
80 #if INCLUDE_ALL_GCS
81 // Parallel Scavenge
82 void oop_ps_push_contents( oop obj, PSPromotionManager* pm);
83 // Parallel Compact
84 void oop_pc_follow_contents(oop obj, ParCompactionManager* cm);
85 void oop_pc_update_pointers(oop obj);
86 #endif
87
88 // Oop iterators. Since there are no oops in TypeArrayKlasses,
89 // these functions only return the size of the object.
90
91 private:
92 // The implementation used by all oop_oop_iterate functions in TypeArrayKlasses.
93 inline int oop_oop_iterate_impl(oop obj, ExtendedOopClosure* closure);
94
95 // Wraps oop_oop_iterate_impl to conform to macros.
96 template <bool nv, typename OopClosureType>
97 inline int oop_oop_iterate(oop obj, OopClosureType* closure);
98
|
58 return tak;
59 }
60
61 int oop_size(oop obj) const;
62
63 bool compute_is_subtype_of(Klass* k);
64
65 // Allocation
66 typeArrayOop allocate_common(int length, bool do_zero, TRAPS);
67 typeArrayOop allocate(int length, TRAPS) { return allocate_common(length, true, THREAD); }
68 oop multi_allocate(int rank, jint* sizes, TRAPS);
69
70 oop protection_domain() const { return NULL; }
71
72 // Copying
73 void copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS);
74
75 // GC specific object visitors
76 //
77 // Mark Sweep
78 int oop_ms_adjust_pointers(oop obj);
79 #if INCLUDE_ALL_GCS
80 // Parallel Scavenge
81 void oop_ps_push_contents( oop obj, PSPromotionManager* pm);
82 // Parallel Compact
83 void oop_pc_follow_contents(oop obj, ParCompactionManager* cm);
84 void oop_pc_update_pointers(oop obj);
85 #endif
86
87 // Oop iterators. Since there are no oops in TypeArrayKlasses,
88 // these functions only return the size of the object.
89
90 private:
91 // The implementation used by all oop_oop_iterate functions in TypeArrayKlasses.
92 inline int oop_oop_iterate_impl(oop obj, ExtendedOopClosure* closure);
93
94 // Wraps oop_oop_iterate_impl to conform to macros.
95 template <bool nv, typename OopClosureType>
96 inline int oop_oop_iterate(oop obj, OopClosureType* closure);
97
|