You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The number of classes, fields, and methods that are registered for reflection.
102
-
Large numbers can cause significant reflection overheads, slow down the build process, and increase the size of the native image (see [method metadata](#glossary-method-metadata)).
102
+
Large numbers can cause significant reflection overheads, slow down the build process, and increase the size of the native image (see [reflection metadata](#glossary-reflection-metadata)).
The number of classes, fields, and methods that are registered for [JNI][doc_jni] access.
@@ -136,16 +136,16 @@ Therefore, reducing the number of [reachable methods](#glossary-reachability) al
136
136
The image heap contains reachable objects such as static application data, metadata, and `byte[]`for different purposes.
137
137
138
138
##### <a name="glossary-general-heap-data"></a>General Heap Data Stored in `byte[]`
139
-
The total size of all `byte[]` objects that are neither used for`java.lang.String`, nor [code metadata](#glossary-code-metadata), nor [method metadata](#glossary-method-metadata), nor [graph encodings](#glossary-graph-encodings).
139
+
The total size of all `byte[]` objects that are neither used for`java.lang.String`, nor [code metadata](#glossary-code-metadata), nor [reflection metadata](#glossary-reflection-metadata), nor [graph encodings](#glossary-graph-encodings).
140
140
Therefore, this can also include `byte[]` objects from application code.
141
141
142
142
##### <a name="glossary-code-metadata"></a>Code Metadata Stored in `byte[]`
143
143
The total size of all `byte[]` objects used for metadata for the [code area](#glossary-code-area).
144
144
Therefore, reducing the number of [reachable methods](#glossary-reachability) also reduces the size of this metadata.
145
145
146
-
##### <a name="glossary-method-metadata"></a>Method Metadata Stored in `byte[]`
147
-
The total size of all `byte[]` objects used formethod metadata, a type of reflection metadata.
148
-
To reduce the amount of method metadata, reduce the number of [classes registered for reflection](#glossary-reflection-classes).
146
+
##### <a name="glossary-reflection-metadata"></a>Reflection Metadata Stored in `byte[]`
147
+
The total size of all `byte[]` objects used forreflection metadata, including class, field, method and constructor data.
148
+
To reduce the amount of reflection metadata, reduce the number of [elements registered for reflection](#glossary-reflection-registrations).
149
149
150
150
##### <a name="glossary-graph-encodings"></a>Graph Encodings Stored in `byte[]`
151
151
The total size of all `byte[]` objects used for graph encodings.
0 commit comments