mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8261672: Reduce inclusion of classLoaderData.hpp
Reviewed-by: lfoltan, coleenp
This commit is contained in:
parent
95d73129ce
commit
235da6aa04
59 changed files with 135 additions and 74 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -368,6 +368,11 @@ ModuleEntryTable::~ModuleEntryTable() {
|
|||
assert(new_entry_free_list() == NULL, "entry present on ModuleEntryTable's free list");
|
||||
}
|
||||
|
||||
void ModuleEntry::set_loader_data(ClassLoaderData* cld) {
|
||||
assert(!cld->has_class_mirror_holder(), "Unexpected has_class_mirror_holder cld");
|
||||
_loader_data = cld;
|
||||
}
|
||||
|
||||
#if INCLUDE_CDS_JAVA_HEAP
|
||||
typedef ResourceHashtable<
|
||||
const ModuleEntry*,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue