< prev index next >

src/share/vm/oops/klassVtable.cpp

Print this page

        

@@ -1459,12 +1459,12 @@
   _verify_count = Universe::verify_count();
 #endif
   oop* end_of_obj = (oop*)_klass() + _klass()->size();
   oop* end_of_vtable = (oop *)&table()[_length];
   if (end_of_vtable > end_of_obj) {
-    fatal(err_msg("klass %s: klass object too short (vtable extends beyond "
-                  "end)", _klass->internal_name()));
+    fatal("klass %s: klass object too short (vtable extends beyond "
+          "end)", _klass->internal_name());
   }
 
   for (int i = 0; i < _length; i++) table()[i].verify(this, st);
   // verify consistency with superKlass vtable
   Klass* super = _klass->super();

@@ -1503,11 +1503,11 @@
   // we sub_type, because it could be a miranda method
   if (!vt->klass()->is_subtype_of(method()->method_holder())) {
 #ifndef PRODUCT
     print();
 #endif
-    fatal(err_msg("vtableEntry " PTR_FORMAT ": method is from subclass", this));
+    fatal("vtableEntry " PTR_FORMAT ": method is from subclass", this);
   }
 }
 
 #ifndef PRODUCT
 
< prev index next >