mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
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:
parent
16d95cbf9d
commit
3541733024
2 changed files with 30 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue