[jdk17] RFR: 8269614: [s390] Interpreter checks wrong bit for slow path instance allocation

Aleksey Shipilev shade at openjdk.java.net
Tue Jun 29 19:43:02 UTC 2021


On Tue, 29 Jun 2021 19:16:45 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> This is a small fix for a bug in the template interpreter on s390. Klass::_lh_instance_slow_path_bit is the bit to check, not the bit position. (See other platforms.)

That looks fairly simple: `_lh_instance_slow_path_bit` is already the mask.

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

Marked as reviewed by shade (Reviewer).

PR: https://git.openjdk.java.net/jdk17/pull/177


More information about the hotspot-compiler-dev mailing list