8135322: ConstantPool::release_C_heap_structures not run in some circumstances

Reviewed-by: coleenp, sspitsyn
This commit is contained in:
Andreas Eriksson 2016-05-18 11:06:00 +02:00
parent 807e2b367c
commit 46627989d5

@ -382,6 +382,10 @@ void ClassLoaderData::unload() {
}
log->cr();
}
// In some rare cases items added to this list will not be freed elsewhere.
// To keep it simple, just free everything in it here.
free_deallocate_list();
}
PackageEntryTable* ClassLoaderData::packages() {