RFR: 8301244: Replace legacy pragma implementations in HotSpot's compilerWarnings.hpp [v7]

Julian Waters jwaters at openjdk.org
Sun Jan 29 06:45:15 UTC 2023


On Sun, 29 Jan 2023 06:38:19 GMT, Julian Waters <jwaters at openjdk.org> wrote:

>> HotSpot has a few legacy implementations of pragmas in some of its macros in compilerWarnings.hpp, they should be cleaned up and use a more modern approach. Rename PRAGMA macro in compilerWarnings_gcc.hpp as well since it can be used for more than just compiler warnings
>
> Julian Waters has updated the pull request incrementally with one additional commit since the last revision:
> 
>   compilerWarnings_gcc.hpp

Never mind, I just checked and we always use the #pragma directive whenever declaring a pragma directly, so this isn't relevant to general pragma usage in HotSpot. Sorry!

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

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


More information about the hotspot-dev mailing list