RFR: 8307532: Implement LM_LIGHTWEIGHT for Zero [v2]
Axel Boldt-Christmas
aboldtch at openjdk.org
Tue Oct 1 14:54:37 UTC 2024
On Tue, 1 Oct 2024 14:26:29 GMT, Julian Waters <jwaters 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.
>
> I might be missing something, but Zero cannot be combined with another VM variant in the configure step, so the risk of a CPU arch being defined at the same time as Zero cannot happen (The build system treats Zero a little strangely)
Good to know. Then it should not be an issue.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21220#issuecomment-2386224177
More information about the hotspot-dev
mailing list