RFR: JDK-8308288: Fix xlc17 clang warnings in shared code [v2]

Coleen Phillimore coleenp at openjdk.org
Tue May 30 18:45:57 UTC 2023


On Fri, 26 May 2023 08:31:46 GMT, JoKern65 <duke at openjdk.org> wrote:

>> When using the new xlc17 compiler (based on a recent clang) to build OpenJDk on AIX , we run into various "warnings as errors".
>> Some of those are in shared codebase and could be addressed by small adjustments.
>> A lot of those changes are in hotspot, some might be somewhere else in the OpenJDK C/C++ code.
>
> JoKern65 has updated the pull request incrementally with one additional commit since the last revision:
> 
>   forgotton _

src/hotspot/share/runtime/javaThread.cpp line 115:

> 113: #include <alloca.h>
> 114: #endif
> 115: 

Could these conditionals be included in globalDefinitions_xlc.hpp instead?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14146#discussion_r1210684136


More information about the core-libs-dev mailing list