RFR: JDK-8310510: WordsPerLong is wrong for 64-bit platforms
Thomas Stuefe
stuefe at openjdk.org
Wed Jun 21 10:09:27 UTC 2023
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.
-------------
Commit messages:
- wordsperlong
Changes: https://git.openjdk.org/jdk/pull/14580/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14580&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8310510
Stats: 8 lines in 3 files changed: 0 ins; 6 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/14580.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14580/head:pull/14580
PR: https://git.openjdk.org/jdk/pull/14580
More information about the hotspot-dev
mailing list