RFR: 8279993: Assert that a shared class is not loaded more than once [v2]

Ioi Lam iklam at openjdk.org
Thu May 18 04:25:48 UTC 2023


On Thu, 18 May 2023 03:08:18 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

>> Please review this small fix for adding a debug only counter `InstanceKlass::_shared_class_load_count` to ensure a shared class is loaded only once.
>> 
>> Passed tiers 1,2,3 testing.
>
> Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   use Atomic::add to increment the field

Looks good to me.

-------------

Marked as reviewed by iklam (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14023#pullrequestreview-1431980469


More information about the hotspot-runtime-dev mailing list