mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8011802: NPG: init_dependencies in class loader data graph can cause invalid CLD
Restructure initialization of ClassLoaderData to not add a new instance if init_dependencies fail Reviewed-by: stefank, coleenp
This commit is contained in:
parent
ddbf6ad621
commit
c47ec9b4ca
3 changed files with 30 additions and 24 deletions
|
@ -62,7 +62,7 @@ class ClassLoaderDataGraph : public AllStatic {
|
|||
// CMS support.
|
||||
static ClassLoaderData* _saved_head;
|
||||
|
||||
static ClassLoaderData* add(ClassLoaderData** loader_data_addr, Handle class_loader, TRAPS);
|
||||
static ClassLoaderData* add(Handle class_loader, bool anonymous, TRAPS);
|
||||
public:
|
||||
static ClassLoaderData* find_or_create(Handle class_loader, TRAPS);
|
||||
static void purge();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue