Mercurial > hg > graal-compiler
comparison src/share/vm/oops/typeArrayKlass.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 | a61af66fc99e |
children | 0fbdb4381b99 |
comparison
equal
deleted
inserted
replaced
480:d249b360e026 | 481:7d7a7c599c17 |
---|---|
37 // testers | 37 // testers |
38 bool oop_is_typeArray_slow() const { return true; } | 38 bool oop_is_typeArray_slow() const { return true; } |
39 | 39 |
40 // klass allocation | 40 // klass allocation |
41 DEFINE_ALLOCATE_PERMANENT(typeArrayKlass); | 41 DEFINE_ALLOCATE_PERMANENT(typeArrayKlass); |
42 static klassOop create_klass(BasicType type, int scale, TRAPS); | 42 static klassOop create_klass(BasicType type, int scale, const char* name_str, |
43 TRAPS); | |
44 static inline klassOop create_klass(BasicType type, int scale, TRAPS) { | |
45 return create_klass(type, scale, external_name(type), CHECK_NULL); | |
46 } | |
43 | 47 |
44 int oop_size(oop obj) const; | 48 int oop_size(oop obj) const; |
45 int klass_oop_size() const { return object_size(); } | 49 int klass_oop_size() const { return object_size(); } |
46 | 50 |
47 bool compute_is_subtype_of(klassOop k); | 51 bool compute_is_subtype_of(klassOop k); |