RFR: 8307532: Implement LM_LIGHTWEIGHT for Zero [v2]

Roman Kennke rkennke at openjdk.org
Tue Oct 1 13:46:11 UTC 2024


On Tue, 1 Oct 2024 09:31:07 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:

> The `LM_LIGHTWEIGHT` changes looks good to me.
> 
> This also enables `UseObjectMonitorTable`. I believe `BasicLock::object_monitor_cache()` must be modified as well. Assuming that both `ZERO` and a supported platform (e.g. `X86`) can and will be defined in the same build.
> 
> `ZERO` should return `nullptr` in `BasicLock::object_monitor_cache()` as well.

Thanks, Axel!

I made the change in basictLock.inline.hpp.

I've also run 'make bootcycle-images' to give it some testing.

Roman

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

PR Comment: https://git.openjdk.org/jdk/pull/21220#issuecomment-2385956293


More information about the hotspot-dev mailing list