mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8179235: PackageEntryTables should be created eagerly
Create the PackageEntryTables in the constructor for ClassLoaderData. Reviewed-by: dholmes, sspitsyn
This commit is contained in:
parent
0edc20faf9
commit
5252655a4a
3 changed files with 12 additions and 30 deletions
|
@ -347,8 +347,7 @@ class ClassLoaderData : public CHeapObj<mtClass> {
|
|||
bool contains_klass(Klass* k);
|
||||
void record_dependency(const Klass* to, TRAPS);
|
||||
void init_dependencies(TRAPS);
|
||||
PackageEntryTable* packages();
|
||||
bool packages_defined() { return (_packages != NULL); }
|
||||
PackageEntryTable* packages() { return _packages; }
|
||||
ModuleEntry* unnamed_module() { return _unnamed_module; }
|
||||
ModuleEntryTable* modules();
|
||||
bool modules_defined() { return (_modules != NULL); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue