RFR: 8295486: Inconsistent constant field values observed during compilation [v7]
Tobias Hartmann
thartmann at openjdk.org
Fri Jan 27 06:14:15 UTC 2023
On Thu, 26 Jan 2023 19:23:27 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
> But why do you need GrowableArray in such case? That confused me because I first thought you cache all values.
Because there's only a very limited number of constant fields per compilation, so I thought a simple array is good enough. Do you prefer a hash map (`Dict` or something) instead?
-------------
PR: https://git.openjdk.org/jdk/pull/11861
More information about the hotspot-compiler-dev
mailing list