[jdk8u-dev] Integrated: 8233019: java.lang.Class.isPrimitive() (C1) returns wrong result if Klass* is aligned to 32bit

Dongbo He dongbohe at openjdk.org
Mon Jul 11 02:53:50 UTC 2022


On Wed, 20 Apr 2022 09:14:28 GMT, Dongbo He <dongbohe at openjdk.org> wrote:

> Hi,
> 
> I would like to backport this as follow up of [JDK-8150669](https://bugs.openjdk.java.net/browse/JDK-8150669)
> This resolves the corner case that leads to incorrect result for C1 intrinsic,
> 
> Original patch for 11u: https://hg.openjdk.java.net/jdk-updates/jdk11u-dev/rev/e1b6631cbd2f 
> Patch does not apply cleanly to 8u: arm and s390 ports are not there and we don’t have c1 compiler support in ppc port in 8u.
> 
> Performed full jtreg test both on x86_64-linux-gnu and aarch64-linux-gnu platforms. 
> (I made this PR on behalf of fyang)
> 
> Thanks,
> hedongbo

This pull request has now been integrated.

Changeset: 972112ed
Author:    Dongbo He <dongbohe at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/972112ed520b8f5465ae15c47e6af2db92aa3a58
Stats:     36 lines in 5 files changed: 34 ins; 0 del; 2 mod

8233019: java.lang.Class.isPrimitive() (C1) returns wrong result if Klass* is aligned to 32bit

Reviewed-by: phh
Backport-of: b67ca938f37f952e53f73d2e0b8ebcaf96139fda

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

PR: https://git.openjdk.org/jdk8u-dev/pull/43


More information about the jdk8u-dev mailing list