RFR: JDK-8310510: Remove WordsPerLong
Thomas Stuefe
stuefe at openjdk.org
Fri Jun 23 10:10:13 UTC 2023
On Thu, 22 Jun 2023 18:21:21 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:
>> Trivial patch.
>>
>> We have WordsPerLong defined as this:
>>
>>
>> const int WordsPerLong = 2; // Number of stack entries for longs
>>
>>
>> which is wrong for 64-bit platforms. Historically used only for ppc/s390.
>>
>> Patch removes the unnecessary align (BasicLock is always 2 words, no need to align to 2) and removes WordsPerLong, since it is not needed anymore.
>
> Maybe the title should better just say "Remove WordsPerLong"?
Thanks @TheRealMDoerr :-)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14580#issuecomment-1604047329
More information about the hotspot-dev
mailing list