src/share/vm/oops/arrayKlass.hpp
Print this page
rev 6796 : [mq]: templateOopIterate
rev 6800 : [mq]: replaceTemplateDispatchWithMacroDispatch
*** 43,54 ****
protected:
// Constructors
// The constructor with the Symbol argument does the real array
// initialization, the other is a dummy
! ArrayKlass(Symbol* name);
! ArrayKlass() { assert(DumpSharedSpaces || UseSharedSpaces, "only for cds"); }
public:
// Testing operation
bool oop_is_array_slow() const { return true; }
--- 43,54 ----
protected:
// Constructors
// The constructor with the Symbol argument does the real array
// initialization, the other is a dummy
! ArrayKlass(Symbol* name, DispatchTag tag);
! ArrayKlass(DispatchTag tag) : Klass(tag, true) { assert(DumpSharedSpaces || UseSharedSpaces, "only for cds"); }
public:
// Testing operation
bool oop_is_array_slow() const { return true; }