--- old/src/share/vm/oops/instanceMirrorKlass.cpp 2016-06-28 12:30:07.967196351 -0400 +++ new/src/share/vm/oops/instanceMirrorKlass.cpp 2016-06-28 12:30:07.767198852 -0400 @@ -51,13 +51,11 @@ int size = instance_size(k); KlassHandle h_k(THREAD, this); int field_offset = java_lang_Class::oop_size_offset(); - + assert(field_offset != 0, "must be set"); assert(size > 0, "total object size must be positive: %d", size); - - instanceOop i = (instanceOop)CollectedHeap::class_allocate(h_k, size, field_offset, CHECK_NULL); - // oop_size is set by class_allocate() before the header is set. - return i; + + return (instanceOop)CollectedHeap::class_allocate(h_k, size, field_offset, CHECK_NULL); } int InstanceMirrorKlass::oop_size(oop obj) const {