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

Thomas Stuefe stuefe at openjdk.org
Thu May 18 09:28:49 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

+1

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

Marked as reviewed by stuefe (Reviewer).

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


More information about the hotspot-runtime-dev mailing list