Re: RFR: 8290074: Remove implicit arguments for RegisterMap constructor [v2]

2022-07-27 Thread Thomas Schatzl
On Wed, 27 Jul 2022 09:45:25 GMT, Axel Boldt-Christmas wrote: >> Currently the `RegisterMap` constructor uses implicit boolean arguments to >> configure its function. Implicit boolean arguments makes code harder to >> understand and reason about at the call site. Using explicit scoped enums >>

Re: RFR: 8290074: Remove implicit arguments for RegisterMap constructor [v2]

2022-07-27 Thread Axel Boldt-Christmas
> Currently the `RegisterMap` constructor uses implicit boolean arguments to > configure its function. Implicit boolean arguments makes code harder to > understand and reason about at the call site. Using explicit scoped enums > instead makes it both clear what is being configured and the type s

Re: RFR: 8290074: Remove implicit arguments for RegisterMap constructor

2022-07-27 Thread Axel Boldt-Christmas
On Tue, 26 Jul 2022 16:25:04 GMT, Thomas Schatzl wrote: >> Currently the `RegisterMap` constructor uses implicit boolean arguments to >> configure its function. Implicit boolean arguments makes code harder to >> understand and reason about at the call site. Using explicit scoped enums >> inste

Re: RFR: 8290074: Remove implicit arguments for RegisterMap constructor

2022-07-26 Thread Thomas Schatzl
On Mon, 11 Jul 2022 14:58:07 GMT, Axel Boldt-Christmas wrote: > Currently the `RegisterMap` constructor uses implicit boolean arguments to > configure its function. Implicit boolean arguments makes code harder to > understand and reason about at the call site. Using explicit scoped enums > ins

Re: RFR: 8290074: Remove implicit arguments for RegisterMap constructor

2022-07-25 Thread Erik Ă–sterlund
On Mon, 11 Jul 2022 14:58:07 GMT, Axel Boldt-Christmas wrote: > 8290074: Remove implicit arguments for RegisterMap constructor Looks good except for a spurious semicolon. Don't need another review for that. src/hotspot/share/runtime/frame.cpp line 85: > 83: RegisterMap::RegisterMap(oop continu

RFR: 8290074: Remove implicit arguments for RegisterMap constructor

2022-07-25 Thread Axel Boldt-Christmas
8290074: Remove implicit arguments for RegisterMap constructor - Commit messages: - Fix spurious semicolon - Change to scoped enum - 8290074: Remove implicit arguments for RegisterMap constructor - 8290074: Remove implicit arguments for RegisterMap constructor - 8290074: Remove i