RFR: 8247466: AIX link error undefined MetaspaceShared::_use_optimized_module_handling
Ioi Lam
ioi.lam at oracle.com
Sun Jun 14 02:14:01 UTC 2020
Hi Matthias,
I think this should be fixed by JDK-8247388, which has been integrated
into the jdk15 repo (and should be synced to jdk/jdk soon).
http://hg.openjdk.java.net/jdk/jdk15/rev/a7ad60e19730
It has the same changes in arguments.cpp as in your version.
I think your changes in systemDictionary.cpp is not necessary, because
the function is already enclosed in INCLUDE_CDS. Also, the change in
filemap.cpp is not necessary because this file is omitted when CDS is
not enabled.
If JDK-8247388 indeed fixes the AIX build, please close JDK-8247466 as a
duplicate.
Thanks
- Ioi
On 6/12/20 5:03 AM, Baesken, Matthias wrote:
> Hello, please review this AIX (and cds) related build fix.
>
> It seems that recent changes started to reference MetaspaceShared:: from other files, but metaspaceShared.cpp is excluded in the AIX build
> (because it is has cds disabled).
>
>
> Bug/webrev :
>
> https://bugs.openjdk.java.net/browse/JDK-8247466
>
> http://cr.openjdk.java.net/~mbaesken/webrevs/8247466.0/
>
> Thanks, Matthias
More information about the hotspot-dev
mailing list