RFR: 8292022: Issues caused by Unary Plus Operator + and Shift Operators priority [v2]
GGGGGHT
duke at openjdk.org
Mon Aug 22 07:47:38 UTC 2022
On Mon, 22 Aug 2022 07:34:30 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> > Maybe so, but I think direct allocation of 1.5x size may reduce the number of allocations in some extreme cases.
>
> On the other hand, it might also waste memory in general case? I think status quo behavior is okay, and we can just change the code to match it.
You are right, I have re-modified this code.
-------------
PR: https://git.openjdk.org/jdk/pull/9698
More information about the compiler-dev
mailing list