mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8292218: Convert PackageEntryTable to ResourceHashtable
Reviewed-by: lfoltan, iklam, dholmes
This commit is contained in:
parent
871b7dab14
commit
9f8cc42135
8 changed files with 168 additions and 230 deletions
|
@ -214,8 +214,8 @@ static void define_javabase_module(Handle module_handle, jstring version, jstrin
|
|||
// loop through and add any new packages for java.base
|
||||
for (int x = 0; x < pkg_list->length(); x++) {
|
||||
// Some of java.base's packages were added early in bootstrapping, ignore duplicates.
|
||||
package_table->locked_create_entry_if_not_exist(pkg_list->at(x),
|
||||
ModuleEntryTable::javabase_moduleEntry());
|
||||
package_table->locked_create_entry_if_absent(pkg_list->at(x),
|
||||
ModuleEntryTable::javabase_moduleEntry());
|
||||
assert(package_table->locked_lookup_only(pkg_list->at(x)) != NULL,
|
||||
"Unable to create a " JAVA_BASE_NAME " package entry");
|
||||
// Unable to have a GrowableArray of TempNewSymbol. Must decrement the refcount of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue