-
Sub-task
-
Resolution: Fixed
-
P2
-
24, 25
-
b10
There have been bugs and suspected C2 bugs in allocating interface and abstract classes in non-class metaspace. This RFE adds an option to disable this feature. Testing has been done with the feature on, so the new option UseClassMetaspaceForAllClasses is added with the initial default value (false) to maintain the status quo. We may still want to reduce the number of Klass stored in class-metaspace so nobody add new code to assume that it's ok to decode interface and abstract classes. Or we might remove this feature altogether.
- relates to
-
JDK-8361211 C2: Final graph reshaping generates unencodeable klass constants
-
- Resolved
-
-
JDK-8338526 Don't store abstract and interface Klasses in class metaspace
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/da3a5da8
-
Review(master) openjdk/jdk/21769
-
Review(master) openjdk/jdk/26579