RFR(S) 8206115 - Use shared macros for JavaClasses::compute_offsets and MetaspaceShared::serialize_well_known_classes
ioi.lam at oracle.com
Wed Aug 15 04:37:01 UTC 2018
As I noted in the comments on this RFE, we already have a bug where
java_lang_Integer_IntegerCache was missing from
To avoid such problems in the future, I added a new macro in
BASIC_JAVA_CLASSES_DO, which is used by JavaClasses::compute_offsets and
For clean up, I also renamed all the <Class>::serialize() functions to
<Class>::serialize_offsets() to reflect what these functions really do.
The old MetaspaceShared::serialize_well_known_classes function is now
Testing with hs tiers 1/2.
More information about the hotspot-runtime-dev