RFR: 8368938: Remove ObjectWaiter::badObjectWaiterPtr [v3]

Albert Mingkun Yang ayang at openjdk.org
Wed Oct 1 08:52:21 UTC 2025


On Tue, 30 Sep 2025 11:38:29 GMT, Francesco Andreuzzi <fandreuzzi at openjdk.org> wrote:

>> There's apparently no reason against having the symbol shared for all instances. This saves a byte from the memory footprint of `ObjectWaiter`.
>> 
>> Passes tier1 and tier2 (fastdebug).
>
> Francesco Andreuzzi has updated the pull request incrementally with one additional commit since the last revision:
> 
>   include

I think having a static `badObjectWaiterPtr` conveys the intention more clearly, but up to you.

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

Marked as reviewed by ayang (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27571#pullrequestreview-3288152045


More information about the hotspot-runtime-dev mailing list