RFR: JDK-8304828: Lots of constant static data not declared static const in cpu/x86

Vladimir Kozlov kvn at openjdk.org
Fri Mar 24 19:47:30 UTC 2023


On Thu, 23 Mar 2023 17:31:26 GMT, Justin King <jcking at openjdk.org> wrote:

> Simple refactor that updates declarations and definitions for data that is effectively static and constant to be `static` and/or `const`. Helps make sure we do not break the one definition rule and helps the compiler/linker to place the data in read-only sections of the executable.

My testing passed.

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

Marked as reviewed by kvn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13163#pullrequestreview-1357332846


More information about the hotspot-dev mailing list