RFR: 8354448: [REDO] Remove friends for ObjectMonitor
Coleen Phillimore
coleenp at openjdk.org
Tue Apr 15 11:53:49 UTC 2025
On Tue, 15 Apr 2025 06:42:58 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> This is a redo of the trivial change that failed. The second commit is the method I should have added.
>> Tested with tier1-4, where tier3 has the code to exercise LockingMode=1.
>> Thanks,
>> Coleen
>
> src/hotspot/share/runtime/objectMonitor.inline.hpp line 154:
>
>> 152:
>> 153: inline void ObjectMonitor::increment_recursions(JavaThread* current) {
>> 154: assert(has_owner(current), "must be the owner");
>
> May be overkill to have this assert ...
Yeah this method will be removed with legacy locking.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24626#discussion_r2044343532
More information about the hotspot-runtime-dev
mailing list