RFR 8180325: Use ClassLoaderData::classes_do for CDS classes
Jiangli Zhou
jiangli.zhou at oracle.com
Tue May 16 20:27:42 UTC 2017
Looks good.
Thanks,
Jiangli
> On May 12, 2017, at 3:46 PM, coleen.phillimore at oracle.com wrote:
>
> Summary: Use closures and ClassLoaderData::classes_do instead of SystemDictionary::classes_do
>
> Migrate CDS code to ClassLoaderData::loaded_classes_do. The loaded_classes_do function should be called without a lock, like the rest of the ClassLoaderData::classes_do functions. Also, I didn't filter anonymous classes with the CDS functions because at the moment, we don't encounter them (there's an assert). If the code changes so that we do encounter them, we might want to link them or decide what to do with them at that time.
>
> open webrev at http://cr.openjdk.java.net/~coleenp/8180325.01/webrev
> bug link https://bugs.openjdk.java.net/browse/JDK-8180325
>
> Tested with nightly rbt run on linux x86, including and additionally all the CDS tests locally.
>
> Thanks,
> Coleen
>
More information about the hotspot-runtime-dev
mailing list