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

Julian Waters jwaters at openjdk.org
Sun Jan 29 06:40:17 UTC 2023


On Sun, 29 Jan 2023 06:31:14 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:
> 
>   PRAGMA_UTIL

I'll just leave the pragmas to compilerWarnings.hpp then. Out of curiosity, do we have pragmas anywhere else in HotSpot other than for these warnings?

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

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


More information about the hotspot-dev mailing list