There is a set of well known classes (from java.base) defined in javaClasses.hpp. Some of the fields in these classes are used by hotspot and need to be computed by the VM. The offset computing is done during startup. These field offsets should be cached with CDS archive. Performance test shows small much measurable startup time improvement with caching of these field offsets.
- duplicates
-
JDK-8194759 Support caching class mirror objects
- Closed
- relates to
-
JDK-8194759 Support caching class mirror objects
- Closed