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

Kim Barrett kbarrett at openjdk.org
Thu Jun 19 10:24:17 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

Thanks all for reviews.

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

PR Comment: https://git.openjdk.org/jdk/pull/25812#issuecomment-2987548127


More information about the hotspot-dev mailing list