RFR: 8292218: Convert PackageEntryTable to ResourceHashtable

Lois Foltan lfoltan at openjdk.org
Thu Aug 11 16:15:42 UTC 2022


On Thu, 11 Aug 2022 16:07:55 GMT, Lois Foltan <lfoltan at openjdk.org> wrote:

>> This is the conversion of the PackageEntryTable, which is stored one per ClassLoaderData to ResourceHashtable.  Much like the module table and uses the Module_lock.
>> Tested with tier1-3 on linux, windows, mac.
>
> src/hotspot/share/classfile/packageEntry.cpp line 202:
> 
>> 200:         log_info(module, unload)("unloading package %s", str);
>> 201:         log_debug(module)("PackageEntry: deleting module: %s", str);
>> 202:       }
> 
> Not "deleting module" but "deleting package"

And maybe these logging comments are more appropriately placed in ~PackageEntry?

-------------

PR: https://git.openjdk.org/jdk/pull/9837


More information about the hotspot-dev mailing list