RFR: 8291969: Convert LoaderConstraintsTable to ResourceHashtable

Coleen Phillimore coleenp at openjdk.org
Wed Aug 17 12:03:00 UTC 2022


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.

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

Commit messages:
 - 8291969: Convert LoaderConstraintsTable to ResourceHashtable

Changes: https://git.openjdk.org/jdk/pull/9904/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9904&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8291969
  Stats: 430 lines in 4 files changed: 131 ins; 169 del; 130 mod
  Patch: https://git.openjdk.org/jdk/pull/9904.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9904/head:pull/9904

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


More information about the hotspot-runtime-dev mailing list