Please review this change to the HotSpot Style Guide to add discussion of how we prefer to handle initialization and destruction of non-local variables.
I propose this is an editorial change, as it just documents current practice rather than suggesting a change to current practice. As such, the normal HotSpot PR process applies. The updated .html file was generated using make update-build-docs. ------------- Commit messages: - static variable inits Changes: https://git.openjdk.org/jdk/pull/25812/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25812&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8319242 Stats: 39 lines in 2 files changed: 39 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/25812.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/25812/head:pull/25812 PR: https://git.openjdk.org/jdk/pull/25812