Mercurial > hg > graal-jvmci-8
comparison src/share/vm/memory/universe.hpp @ 481:7d7a7c599c17
6578152: fill_region_with_object has usability and safety issues
Reviewed-by: apetrusenko, ysr
author | jcoomes |
---|---|
date | Thu, 11 Dec 2008 12:05:08 -0800 |
parents | d1605aabd0a1 |
children | d593294016c3 |
comparison
equal
deleted
inserted
replaced
480:d249b360e026 | 481:7d7a7c599c17 |
---|---|
90 methodOop get_methodOop(); | 90 methodOop get_methodOop(); |
91 }; | 91 }; |
92 | 92 |
93 | 93 |
94 class Universe: AllStatic { | 94 class Universe: AllStatic { |
95 // Ugh. Universe is much too friendly. | |
95 friend class MarkSweep; | 96 friend class MarkSweep; |
96 friend class oopDesc; | 97 friend class oopDesc; |
97 friend class ClassLoader; | 98 friend class ClassLoader; |
98 friend class Arguments; | 99 friend class Arguments; |
99 friend class SystemDictionary; | 100 friend class SystemDictionary; |
130 static klassOop _instanceKlassKlassObj; | 131 static klassOop _instanceKlassKlassObj; |
131 static klassOop _constantPoolKlassObj; | 132 static klassOop _constantPoolKlassObj; |
132 static klassOop _constantPoolCacheKlassObj; | 133 static klassOop _constantPoolCacheKlassObj; |
133 static klassOop _compiledICHolderKlassObj; | 134 static klassOop _compiledICHolderKlassObj; |
134 static klassOop _systemObjArrayKlassObj; | 135 static klassOop _systemObjArrayKlassObj; |
136 static klassOop _fillerArrayKlassObj; | |
135 | 137 |
136 // Known objects in the VM | 138 // Known objects in the VM |
137 | 139 |
138 // Primitive objects | 140 // Primitive objects |
139 static oop _int_mirror; | 141 static oop _int_mirror; |
262 static klassOop instanceKlassKlassObj() { return _instanceKlassKlassObj; } | 264 static klassOop instanceKlassKlassObj() { return _instanceKlassKlassObj; } |
263 static klassOop constantPoolKlassObj() { return _constantPoolKlassObj; } | 265 static klassOop constantPoolKlassObj() { return _constantPoolKlassObj; } |
264 static klassOop constantPoolCacheKlassObj() { return _constantPoolCacheKlassObj; } | 266 static klassOop constantPoolCacheKlassObj() { return _constantPoolCacheKlassObj; } |
265 static klassOop compiledICHolderKlassObj() { return _compiledICHolderKlassObj; } | 267 static klassOop compiledICHolderKlassObj() { return _compiledICHolderKlassObj; } |
266 static klassOop systemObjArrayKlassObj() { return _systemObjArrayKlassObj; } | 268 static klassOop systemObjArrayKlassObj() { return _systemObjArrayKlassObj; } |
269 static klassOop fillerArrayKlassObj() { return _fillerArrayKlassObj; } | |
267 | 270 |
268 // Known objects in tbe VM | 271 // Known objects in tbe VM |
269 static oop int_mirror() { return check_mirror(_int_mirror); | 272 static oop int_mirror() { return check_mirror(_int_mirror); |
270 } | 273 } |
271 static oop float_mirror() { return check_mirror(_float_mirror); } | 274 static oop float_mirror() { return check_mirror(_float_mirror); } |