RFR: 8292022: Issues caused by Unary Plus Operator + and Shift Operators priority

Aleksey Shipilev shade at openjdk.org
Mon Aug 22 07:38:27 UTC 2022


On Sat, 20 Aug 2022 07:14:49 GMT, GGGGGHT <duke 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.

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

PR: https://git.openjdk.org/jdk/pull/9698


More information about the compiler-dev mailing list