Integrated: JDK-8310510: Remove WordsPerLong

Thomas Stuefe stuefe at openjdk.org
Fri Jun 23 10:10:14 UTC 2023


On Wed, 21 Jun 2023 08:08:44 GMT, Thomas Stuefe <stuefe 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.

This pull request has now been integrated.

Changeset: d6685f08
Author:    Thomas Stuefe <stuefe at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d6685f0869be350ded705a3dbddecb3cc441fc0b
Stats:     8 lines in 3 files changed: 0 ins; 6 del; 2 mod

8310510: Remove WordsPerLong

Reviewed-by: mdoerr

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

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


More information about the hotspot-dev mailing list