On 8/18/2022 9:34 AM, Aleksey Shipilev wrote:
On 8/16/22 18:05, Ioi Lam wrote:
I have prepared a PR for enabling CDS for zero (with help from Aleksey
Shipilëv)
https://urldefense.com/v3/__https://github.com/openjdk/jdk/pull/9869__;!!ACWV5N9M2RV99hQ!L1VWYO1YSdu5JP8l9in8YrWDSe0jg5AqyT5h73A8stmwg_nEcC-81x9kQVua_xJhV-TC2ZOHLWk$
If anyone is maintaining zero builds of the JDK, it would be great if
you could try this patch and see if it introduce any regressions.
Well, I am maintaining lots of Zero builds, and at least x86_64 Zero
works. This should cover the majority of potential problems with Zero
on other arches too. The rest of the problems, if any, would likely
come from massive rebuilds of Java packages using the Zero VM in the
system JDK, which would be hard to easily test.
Adrian, tell us if you can/want to do that :) But I think it would be
fine as it is.
I haven't heard back from Adrian but it looks like it's covered pretty
well with Aleksey's tests. So I'll integrate soon.
Thanks
- Ioi