RFR: 8344032: InterpreterRuntime::verify_mdp() missing lock while printing MethodData on failure [v2]
Aleksey Shipilev
shade at openjdk.org
Wed Nov 13 20:02:14 UTC 2024
On Wed, 13 Nov 2024 19:48:37 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> src/hotspot/share/oops/methodData.hpp line 2514:
>>
>>> 2512: void clean_method_data(bool always_clean);
>>> 2513: void clean_weak_method_links();
>>> 2514: Mutex* extra_data_lock() const { return const_cast<Mutex*>(&_extra_data_lock); }
>>
>> Not sure what this const-ness gains us :)
>
> It gets us to compile line 1561 above in the print function which is const.
Ah, right.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22082#discussion_r1841080075
More information about the hotspot-dev
mailing list