1.1 --- a/src/share/vm/oops/arrayKlass.hpp Fri Sep 28 14:36:20 2012 -0700 1.2 +++ b/src/share/vm/oops/arrayKlass.hpp Sat Sep 29 06:40:00 2012 -0400 1.3 @@ -30,9 +30,9 @@ 1.4 1.5 class klassVtable; 1.6 1.7 -// arrayKlass is the abstract baseclass for all array classes 1.8 +// ArrayKlass is the abstract baseclass for all array classes 1.9 1.10 -class arrayKlass: public Klass { 1.11 +class ArrayKlass: public Klass { 1.12 friend class VMStructs; 1.13 private: 1.14 int _dimension; // This is n'th-dimensional array. 1.15 @@ -46,8 +46,8 @@ 1.16 // Constructors 1.17 // The constructor with the Symbol argument does the real array 1.18 // initialization, the other is a dummy 1.19 - arrayKlass(Symbol* name); 1.20 - arrayKlass() { assert(DumpSharedSpaces || UseSharedSpaces, "only for cds"); } 1.21 + ArrayKlass(Symbol* name); 1.22 + ArrayKlass() { assert(DumpSharedSpaces || UseSharedSpaces, "only for cds"); } 1.23 1.24 public: 1.25 // Testing operation 1.26 @@ -80,7 +80,7 @@ 1.27 oop* adr_component_mirror() { return (oop*)&this->_component_mirror;} 1.28 1.29 // Compiler/Interpreter offset 1.30 - static ByteSize component_mirror_offset() { return in_ByteSize(offset_of(arrayKlass, _component_mirror)); } 1.31 + static ByteSize component_mirror_offset() { return in_ByteSize(offset_of(ArrayKlass, _component_mirror)); } 1.32 1.33 virtual Klass* java_super() const;//{ return SystemDictionary::Object_klass(); } 1.34 1.35 @@ -94,16 +94,16 @@ 1.36 Method* uncached_lookup_method(Symbol* name, Symbol* signature) const; 1.37 1.38 // Casting from Klass* 1.39 - static arrayKlass* cast(Klass* k) { 1.40 - assert(k->oop_is_array(), "cast to arrayKlass"); 1.41 - return (arrayKlass*) k; 1.42 + static ArrayKlass* cast(Klass* k) { 1.43 + assert(k->oop_is_array(), "cast to ArrayKlass"); 1.44 + return (ArrayKlass*) k; 1.45 } 1.46 1.47 GrowableArray<Klass*>* compute_secondary_supers(int num_extra_slots); 1.48 bool compute_is_subtype_of(Klass* k); 1.49 1.50 // Sizing 1.51 - static int header_size() { return sizeof(arrayKlass)/HeapWordSize; } 1.52 + static int header_size() { return sizeof(ArrayKlass)/HeapWordSize; } 1.53 static int static_size(int header_size); 1.54 1.55 // Java vtable 1.56 @@ -124,7 +124,7 @@ 1.57 virtual void oops_do(OopClosure* cl); 1.58 1.59 // Return a handle. 1.60 - static void complete_create_array_klass(arrayKlass* k, KlassHandle super_klass, TRAPS); 1.61 + static void complete_create_array_klass(ArrayKlass* k, KlassHandle super_klass, TRAPS); 1.62 1.63 1.64 // jvm support