RFR: 8274858: Remove unused dictionary_classes_do functions

Coleen Phillimore coleenp at openjdk.java.net
Wed Oct 6 20:43:17 UTC 2021


These were needed once by JVMTI to find classes that have been initiated by a class loader and not just defined, but that code was changed.  Other callers have been removed. The remaining use doesn't need initiated classes for initializing itables, so doesn't need to walk the dictionary only the ClassLoaderData as the defining class loader.

In this place, only the bootstrap loader is loaded, so the CLDG walk is overkill but this is only for !UseSharedSpaces so harmless and prevents making functions public.

Tested with tier1-3

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

Commit messages:
 - 8274858: Remove unused dictionary_classes_do functions

Changes: https://git.openjdk.java.net/jdk/pull/5843/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5843&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8274858
  Stats: 35 lines in 3 files changed: 6 ins; 23 del; 6 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5843.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5843/head:pull/5843

PR: https://git.openjdk.java.net/jdk/pull/5843


More information about the hotspot-runtime-dev mailing list