review request (S): 7199082 write warning messages to stderr

Fredrik Öhrström fredrik.ohrstrom at oracle.com
Wed Sep 19 01:17:27 PDT 2012


19 sep 2012 kl. 09:11 skrev Staffan Larsen:
> 2) The JDK build fails with the warnings issued for the deprecated permgen flags. Perhaps this is better fixed in the JDK build by either removing the usage of the permgen flags or adding -XX:+DisplayVMOutputToStderr. How doable is that?

Just a small comment, the new build system does test the java flags before inserting them in the makefile variable spec.gmk file.

For example the configure script does:

ADD_JVM_ARG_IF_OK([-XX:PermSize=32m],boot_jdk_jvmargs,[$JAVA])

which will only append the perm size option to the boot_jdk_jvmargs bash variable if it could
run "$JAVA -XX:PermSize=32m -version" and find the string "version \""  somewhere in the output of stdout and stderr,
and it could >not< find the string "warn" anywhere in the outputs either.

This was needed when we used JRockit as the boot jdk since the options were different.

//Fredrik


More information about the hotspot-runtime-dev mailing list