hotspot/src/share/vm/oops/typeArrayKlass.hpp

Print this page
rev 611 : Merge

@@ -40,11 +40,15 @@
   // testers
   bool oop_is_typeArray_slow() const    { return true; }
 
   // 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(); }
 
   bool compute_is_subtype_of(klassOop k);