< prev index next >

src/hotspot/share/oops/instanceKlass.cpp

Print this page

        

*** 591,600 **** --- 591,606 ---- !nest_members()->is_shared()) { MetadataFactory::free_array<jushort>(loader_data, nest_members()); } set_nest_members(NULL); + if (record_params() != NULL && + record_params() != Universe::the_empty_short_array()) { + MetadataFactory::free_array<jushort>(loader_data, record_params()); + } + set_record_params(NULL, 0); + // We should deallocate the Annotations instance if it's not in shared spaces. if (annotations() != NULL && !annotations()->is_shared()) { MetadataFactory::free_metadata(loader_data, annotations()); } set_annotations(NULL);
*** 2305,2314 **** --- 2311,2321 ---- } } } it->push(&_nest_members); + it->push(&_record_params); } void InstanceKlass::remove_unshareable_info() { Klass::remove_unshareable_info();
< prev index next >