RFR(xs): 8152440: Zero build fails after JDK-8146801
Severin Gehwolf
sgehwolf at redhat.com
Tue Mar 22 16:25:39 UTC 2016
Hi,
Could somebody please review and sponsor this tiny change?
The enhancement of JDK-8146801 introduced a new
flag, InitArrayShortSize, which seems a C1/C2 only flag. It does not
make much sense to materialize this flag for, say, the Zero
interpreter. This causes a Zero build failure because an attempt is
made to materialize the macro pd_InitArrayShortSize without declaring
it via DECLARE_PD_DEVELOPER_FLAG. DECLARE_PD_DEVELOPER_FLAG is only
been declared conditionally which never gets included for a Zero build.
I'm proposing to move the macro expansion of developer_pd() for
InitArrayShortSize to c1_globals.hpp instead. Thoughts?
Bug: https://bugs.openjdk.java.net/browse/JDK-8152440
webrev: http://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8152440/webrev.01/
With this patch a regular tiered compiler JVM and Zero both build fine
for me.
Thanks,
Severin
More information about the hotspot-dev
mailing list