RFR(S) 8206115 - Use shared macros for JavaClasses::compute_offsets and MetaspaceShared::serialize_well_known_classes
ioi.lam at oracle.com
Wed Aug 15 18:13:15 UTC 2018
On 8/14/18 11:47 PM, Claes Redestad wrote:
> On 2018-08-15 06:37, Ioi Lam wrote:
> looks like a good cleanup to me.
>> As I noted in the comments on this RFE, we already have a bug where
>> java_lang_Integer_IntegerCache was missing from
> Interesting that this omission didn't affect behavior in any
> observable way, or
> did it? 8209120 includes a test that tests that things behave as
> expected, in a
> few trivial cases exhaustively.
Thanks for the review.
Lucikly the java_lang_Integer_IntegerCache::compute_offsets() call is
necessary only during dump time. That offset is not used at run time, so
we've dodged a bullet.
Anyway, the current way of setting up the archivable static fields is
pretty hard to work with. I've modified it to a simple text table. See
More information about the hotspot-runtime-dev