RFR: 8292916: Streamline LoaderConstraint purging
David Holmes
dholmes at openjdk.org
Thu Sep 1 06:56:05 UTC 2022
On Fri, 26 Aug 2022 13:44:56 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> src/hotspot/share/classfile/loaderConstraints.cpp line 201:
>>
>>> 199: if (lt.is_enabled()) {
>>> 200: ResourceMark rm;
>>> 201: lt.print("purging class object from constraint for name %s,"
>>
>> You are doing more than just purging the class object now.
>
> Right. This purges the entire constraint for the unloaded class object, without looping through the loader entries and doing it separately. They should always be purged.
My point being the log message is no longer accurate.
-------------
PR: https://git.openjdk.org/jdk/pull/10023
More information about the hotspot-runtime-dev
mailing list