RFR: 8274858: Remove unused dictionary_classes_do functions
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
- 8274858: Remove unused dictionary_classes_do functions
Stats: 35 lines in 3 files changed: 6 ins; 23 del; 6 mod
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5843/head:pull/5843
More information about the hotspot-runtime-dev