hotspot Udiff src/share/vm/oops/klassVtable.cpp (original) (raw)

< prev index next >

Print this page

rev 8110 : 8030680: 292 cleanup from default method code assessment


@@ -1031,11 +1031,11 @@ return true; }

int klassItable::assign_itable_indices_for_interface(Klass* klass) { // an interface does not have an itable, but its methods need to be numbered


@@ -1045,11 +1045,11 @@ // If m is already assigned a vtable index, do not disturb it. if (TraceItables && Verbose) { ResourceMark rm; const char* sig = (m != NULL) ? m->name_and_sig_as_C_string() : ""; if (m->has_vtable_index()) {


@@ -1077,26 +1077,29 @@ int klassItable::method_count_for_interface(Klass* interf) { assert(interf->oop_is_instance(), "must be"); assert(interf->is_interface(), "must be"); Array<Method*>* methods = InstanceKlass::cast(interf)->methods(); int nof_methods = methods->length();

-#ifdef ASSERT

-#endif //ASSERT

void klassItable::initialize_itable_for_interface(int method_table_offset, KlassHandle interf_h, bool checkconstraints, TRAPS) { Array<Method*>* methods = InstanceKlass::cast(interf_h())->methods();

< prev index next >