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

Justin King jcking at openjdk.org
Mon Mar 27 14:07:58 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.

This pull request has now been integrated.

Changeset: 20830883
Author:    Justin King <jcking at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/20830883dff1fa096cf929d81360953e7f3cfc46
Stats:     166 lines in 27 files changed: 0 ins; 0 del; 166 mod

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

Reviewed-by: dholmes, kvn

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

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


More information about the hotspot-dev mailing list