< prev index next >

src/hotspot/share/classfile/classLoaderData.cpp

Print this page

        

*** 767,776 **** --- 767,784 ---- // Delete free list if (_deallocate_list != NULL) { delete _deallocate_list; } + + // Decrement refcounts of Symbols if created. + if (_name != NULL) { + _name->decrement_refcount(); + } + if (_name_and_id != NULL) { + _name_and_id->decrement_refcount(); + } } // Returns true if this class loader data is for the app class loader // or a user defined system class loader. (Note that the class loader // data may be unsafe anonymous.)
< prev index next >