Hi,
this enables archiving of remaining primitive box caches, meaning
contents can be mapped in from the CDS archive. These caches appear
early in many applications, and bootstrapping each cache takes ~1ms
without the archiving, but disappears completely in the noise when archived.
Webrev: http://cr.openjdk.java.net/~redestad/8213033/jdk.00/
Bug: https://bugs.openjdk.java.net/browse/JDK-8213033
Testing: hs-tier1-2,jdk-tier1-2
One test, ReplaceCriticalClasses, had to have one check removed since it
was based on an assumption that no longer holds. Jiangli and Ioi agreed
to file an RFE to add a better test for this.
Thanks!
/Claes