Integrated: 8319242: HotSpot Style Guide should discourage non-local variables with non-trivial initialization or destruction

Kim Barrett kbarrett at openjdk.org
Thu Jun 19 10:24:18 UTC 2025


On Sun, 15 Jun 2025 05:15:11 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 01d4b772
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/01d4b772dee8470188793676ce983d6203c7fefb
Stats:     69 lines in 2 files changed: 56 ins; 13 del; 0 mod

8319242: HotSpot Style Guide should discourage non-local variables with non-trivial initialization or destruction

Reviewed-by: stefank, dcubed, dholmes

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

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


More information about the hotspot-dev mailing list