[jdk21u-dev] Integrated: 8343019: Primitive caches must use boxed instances from the archive
Satyen Subramaniam
ssubramaniam at openjdk.org
Mon Mar 31 18:45:18 UTC 2025
On Sat, 15 Mar 2025 05:09:16 GMT, Satyen Subramaniam <ssubramaniam at openjdk.org> wrote:
> Backporting JDK-8343019: Primitive caches must use boxed instances from the archive. Fixes bug with code that uses CDS archived cache instances, since the boxed equality can break when comparing the CDS-archived value and the Integer cached value recreated at runtime, in cases when the primitive cache is dropped. Ran GHA Sanity Checks, and local Tier 1, and Tier 2 tests. Patch is clean.
This pull request has now been integrated.
Changeset: b3118d81
Author: Satyen Subramaniam <ssubramaniam at openjdk.org>
Committer: Paul Hohensee <phh at openjdk.org>
URL: https://git.openjdk.org/jdk21u-dev/commit/b3118d81de079469881ede6af6dc86873bada496
Stats: 108 lines in 8 files changed: 75 ins; 8 del; 25 mod
8343019: Primitive caches must use boxed instances from the archive
Backport-of: 7c36fa7e175c01dd994cd8f1ef9fd942dbddbce0
-------------
PR: https://git.openjdk.org/jdk21u-dev/pull/1497
More information about the jdk-updates-dev
mailing list