Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8342561

Metaspace for generated reflection classes is no longer needed

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 24
    • hotspot
    • b22

      The old reflection implementation has been removed and also the old implementation to generate bytecode for `newSerializableConstructorAccessor` has been reimplemented using method handles in JDK 22. JDK-8327624 proposes to remove `jdk.internal.reflect.DelegatingClassLoader` as nothing will be defined by that loader.

      Hence the special metaspace for reflection (`Metaspace::ReflectionMetaspaceType`) is no longer needed and can be moved. Existing GTests will need to be updated together.

            coleenp Coleen Phillimore
            mchung Mandy Chung
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: