RFR (T) 8241320: The ClassLoaderData::_is_unsafe_anonymous field is unused in the SA
David Holmes
david.holmes at oracle.com
Thu Mar 19 22:43:08 UTC 2020
Hi Coleen,
On 20/03/2020 5:46 am, coleen.phillimore at oracle.com wrote:
> Summary: remove unused code that is changing in Hotspot for hidden classes.
I'm not sure how to identify unused code in the SA given that it exposes
a Java API for querying the JVM internals. You say
getisUnsafeAnonymous() is unused because nothing in the SA calls it. But
the same would seem to be true for other parts of the CLD API - for example
- ClassLoaderData::dictionary() is called from
- ClassLoaderData::allEntriesDo, is called from
- ClassLoaderDataGraph::allEntriesDo, is called from
- nowhere ???
David
-----
> Ran tier1-3 tests. See bug for more details.
>
> open webrev at http://cr.openjdk.java.net/~coleenp/2020/8241320.01/webrev
> bug link https://bugs.openjdk.java.net/browse/JDK-8241320
>
> Thanks,
> Coleen
More information about the serviceability-dev
mailing list