Erik:
We are working towards upgrading the officially supported compilers
for JDK 9 and on Solaris, the proposed new compiler is Solaris Studio
12 update 4. When attempting to build with that compiler, the hotspot
build fails very early with:
"/opt/jprt/jprtadm/erik/jdk9-dev/hotspot/src/share/vm/adlc/adlparse.cpp",
line 2331: Error: Could not find source for
RegisterForm::addRegClass<RegClass>(const char*).
This can be worked around by adding -template=extdef to the compiler
flags. I propose we add this just when compiling adlc and for this
particular version of Solaris Studio. See bug for further discussion
of the issue.
Bug: https://bugs.openjdk.java.net/browse/JDK-8134157
Webrev: http://cr.openjdk.java.net/~erikj/8134157/webrev/
That is subtle.
Looks good to me from a build perspective. I am not a HotSpot 'R'eviewer.
Tim