Duplicate :
|
|
Relates :
|
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.
|