Mercurial > hg > graal-jvmci-8
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/oops/typeArrayKlass.hpp Wed Dec 10 23:46:10 2008 -0800 +++ b/src/share/vm/oops/typeArrayKlass.hpp Thu Dec 11 12:05:08 2008 -0800 @@ -39,7 +39,11 @@ // klass allocation DEFINE_ALLOCATE_PERMANENT(typeArrayKlass); - static klassOop create_klass(BasicType type, int scale, TRAPS); + static klassOop create_klass(BasicType type, int scale, const char* name_str, + TRAPS); + static inline klassOop create_klass(BasicType type, int scale, TRAPS) { + return create_klass(type, scale, external_name(type), CHECK_NULL); + } int oop_size(oop obj) const; int klass_oop_size() const { return object_size(); }