-
Bug
-
Resolution: Fixed
-
P3
-
11.0.6, 17, 21, 23, 24
-
b23
-
Verified
This is forked from JDK-8342642 and filed as a general issue for archived boxed Integer cache when it's recreated at runtime. In short, current code drops the entire primitive cache when the CDS archived version of the cache is too short. This poses a problem with code that uses CDS archived cache instances, since the boxed equality would break when comparing the CDS-archived value and the Integer cached value recreated at runtime.
https://github.com/openjdk/jdk/pull/21672#issuecomment-2434359711 discusses a possible fix for the Integer cache.JDK-8342642 has additional details.
https://github.com/openjdk/jdk/pull/21672#issuecomment-2434359711 discusses a possible fix for the Integer cache.
- relates to
-
JDK-8209120 Archive the Integer.IntegerCache
-
- Resolved
-
-
JDK-8213033 Archive remaining primitive box caches
-
- Resolved
-
-
JDK-8342642 Class loading failure due to archived map issue in ModuleLoaderMap.Mapper
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/7c36fa7e
-
Review(master) openjdk/jdk/21737