RFR: 8278923: Document Klass::is_loader_alive
Coleen Phillimore
coleenp at openjdk.org
Thu Jul 7 12:54:52 UTC 2022
On Thu, 7 Jul 2022 12:50:09 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> This trivial change just adds a comment to Klass::is_loader_alive.
>
> src/hotspot/share/oops/klass.inline.hpp line 48:
>
>> 46: // unloading, and hence during concurrent class unloading.
>> 47: // This returns false if the Klass is unloaded, or about to be unloaded because the holder of
>> 48: // the CLD is strongly reachable.
>
> Is that a typo? I would expect being unreachable to lead to unloading?
It is a typo thanks.
-------------
PR: https://git.openjdk.org/jdk/pull/9400
More information about the hotspot-dev
mailing list