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

Daniel D. Daugherty dcubed at openjdk.org
Mon Jun 16 18:21:37 UTC 2025


On Mon, 16 Jun 2025 12:04:12 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.
>
> Kim Barrett has updated the pull request incrementally with one additional commit since the last revision:
> 
>   better terminology, merge separate sections

Marked as reviewed by dcubed (Reviewer).

Thumbs up.

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

PR Review: https://git.openjdk.org/jdk/pull/25812#pullrequestreview-2933073380
PR Comment: https://git.openjdk.org/jdk/pull/25812#issuecomment-2977588023


More information about the hotspot-dev mailing list