-
Enhancement
-
Resolution: Fixed
-
P4
-
15
-
b25
The complexity stems from the fact that this area lives at the intersection of two to three sub systems, depending on how one counts:
- metaspace
- cds
- the platform which may or may not its own view of how to reserve ccs
, and all this code has been growing organically over time.
So it would be nice could we disentangle the involved parties a bit, remove unnecessary cross-subsystem knowledge, comment and so on.
Ioi Lam proposed an improvement which would make some of the complexity fold into itself [1].
Also, there are some subtle bugs, e.g.:
- cds misuses metaspace alignment which is not correct and, were the alignment anything other than page size, would lead to errors.
- the compressed class pointer encoding range is set up slightly wrong, which may theoretically lead to errors on aarch64 [2].
- NMT may not correctly track class and shared archive [3]
[1] https://mail.openjdk.java.net/pipermail/aarch64-port-dev/2020-April/008765.html
[2] https://mail.openjdk.java.net/pipermail/aarch64-port-dev/2020-April/008804.html
[3] https://bugs.openjdk.java.net/browse/JDK-8243535
- blocks
-
JDK-8236847 CDS archive with 4K alignment unusable on machines with 64k pages
- Resolved
- duplicates
-
JDK-8245514 appcds/XShareAutoWithChangedJar.java failed "assert(_reserved >= sz) failed: Negative amount"
- Closed
-
JDK-8230645 CDS regions get loaded with the wrong alignment
- Closed
- relates to
-
JDK-8245703 32-bit build failures after JDK-8243392
- Closed
-
JDK-8245707 Increase Metaspace reserve alignment
- Resolved
-
JDK-8221173 JEP 387: Elastic Metaspace
- Closed
-
JDK-8244943 Improve Class Space placement
- Closed
-
JDK-8243506 SharedBaseAddress is ignored by -Xshare:dump
- Resolved
-
JDK-8244847 Linux/PPC: runtime/CompressedOops/CompressedClassPointers: smallHeapTest fails
- Resolved
-
JDK-8247522 assert(is_aligned(class_space_rs.base(), class_space_alignment)) failed: Sanity
- Resolved
-
JDK-8247249 [aarch64] assert((flag() == mtNone || flag() == f)) failed: Overwrite memory type
- Closed
-
JDK-8245514 appcds/XShareAutoWithChangedJar.java failed "assert(_reserved >= sz) failed: Negative amount"
- Closed