Several usages for ClassLoaderValue have been identified internal to JDK. It is currently package-private as it was developed for java.lang.reflect.Proxy caching. Moving to jdk.internal.loader package and making it public would facilitate other usages.