8193053: jvm crash by G1CMBitMapClosure::do_addr

We were adding an unloaded mirror to the SATB collection set in remove_handle.

Reviewed-by: hseigel, kbarrett
This commit is contained in:
Coleen Phillimore 2017-12-13 07:14:18 -05:00
parent 16d95cbf9d
commit 3541733024
2 changed files with 30 additions and 4 deletions

View file

@ -307,7 +307,8 @@ class ClassLoaderData : public CHeapObj<mtClass> {
void packages_do(void f(PackageEntry*));
// Deallocate free list during class unloading.
void free_deallocate_list();
void free_deallocate_list(); // for the classes that are not unloaded
void unload_deallocate_list(); // for the classes that are unloaded
// Allocate out of this class loader data
MetaWord* allocate(size_t size);