RFR: 8295657: SA: Allow larger object alignments [v2]

Aleksey Shipilev shade at openjdk.org
Thu Oct 20 09:40:55 UTC 2022


On Wed, 19 Oct 2022 22:44:37 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> Yes. I don't see a need for it.
>
> You could keep in the check to make sure it is aligned to a power of 2, since I doubt SA would work with a value that isn't, but then I don't see the possibility of hotspot ever supporting it either.

Removed the range check. I left the power-of-2 check, because it is a per-requisite for `log*` calculation that follows it.

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

PR: https://git.openjdk.org/jdk/pull/10762


More information about the serviceability-dev mailing list