src/share/vm/oops/klass.cpp
Print this page
rev 6796 : [mq]: templateOopIterate
rev 6797 : [mq]: vaTests
rev 6798 : [mq]: oneSwitch
rev 6799 : [mq]: latestChanges
rev 6800 : [mq]: replaceTemplateDispatchWithMacroDispatch
@@ -144,11 +144,11 @@
void* Klass::operator new(size_t size, ClassLoaderData* loader_data, size_t word_size, TRAPS) throw() {
return Metaspace::allocate(loader_data, word_size, /*read_only*/false,
MetaspaceObj::ClassType, CHECK_NULL);
}
-Klass::Klass() {
+Klass::Klass(DispatchTag tag) : _dispatch_tag(tag) {
Klass* k = this;
// Preinitialize supertype information.
// A later call to initialize_supers() may update these settings:
set_super(NULL);