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

David Holmes dholmes at openjdk.org
Wed Jun 18 04:06:31 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 dholmes (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/25812#pullrequestreview-2937661372


More information about the hotspot-dev mailing list