RFR: JDK-8300531: MSVC CFlags look suspicious

Justin King jcking at openjdk.org
Wed Jan 18 14:39:35 UTC 2023


On Wed, 18 Jan 2023 14:32:20 GMT, Justin King <jcking at openjdk.org> wrote:

> Update MSVC CFlags to be more consistent with other compilers. Also disables RTTI in a simliar manner to GCC/Clang for the JVM.

Not sure why `-Oy-` was used. GCC/Clang omit frame pointers by default these days, IIRC. So forcing MSVC to preserve frame pointers at the highest optimization level seems odd.

-------------

PR: https://git.openjdk.org/jdk/pull/12073



More information about the build-dev mailing list