RFR: 8291969: Convert LoaderConstraintsTable to ResourceHashtable [v7]
Ioi Lam
iklam at openjdk.org
Tue Aug 23 21:28:33 UTC 2022
On Mon, 22 Aug 2022 18:48:40 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> This converts the LoaderConstraintTable to ResourceHashtable. It's a bit different than the other conversions in that the LoaderConstraintEntry has to be restructured to hold all the loader constraints for that class name, since the search key is the class name. Also, I replaced the raw arrays with GrowableArray, because it's less code.
>> Tested with tier1-3, and tier 4-7 previously with other changes. I also verified code paths with some temporary asserts with existing tests, including jck tests.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>
> Rename variable 'entry' to 'set'
LGTM.
Marked as reviewed by iklam (Reviewer).
src/hotspot/share/classfile/loaderConstraints.hpp line 33:
> 31: class ClassLoaderData;
> 32: class LoaderConstraint;
> 33: class LoaderConstraintEntry;
LoaderConstraintEntry should be removed.
-------------
PR: https://git.openjdk.org/jdk/pull/9904
More information about the hotspot-runtime-dev
mailing list