RFR: 8308097: Generational ZGC: Update constructor syntax

Erik Österlund eosterlund at openjdk.org
Mon May 15 13:43:54 UTC 2023


On Mon, 15 May 2023 13:11:42 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

> ZGC's current constructor syntax works well with some editors, but not all. There is a wish to move over from the current syntax:
> 
> 
> ZClass:ZClass() :
>     ZSuper(),
>     _member0,
>     _member1 {
>   // Code
>   doit();
> }
> 
> 
> to the following syntax:
> 
> ZClass:ZClass()
>   : ZSuper(),
>     _member0,
>     _member1 {
>   // Code
>   doit();
> }
> 
> 
> I propose that make this change.

Looks great!

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

Marked as reviewed by eosterlund (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13987#pullrequestreview-1426595791


More information about the hotspot-dev mailing list