RFR: 8295486: Inconsistent constant field values observed during compilation
Vladimir Kozlov
kvn at openjdk.org
Mon Jan 9 20:00:57 UTC 2023
On Mon, 9 Jan 2023 18:17:58 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:
> IMO we should focus solely on C2 where aforementioned inconsistencies trigger assertion failures and (rarely) break compilation replay. (The rest is classified as user errors according to `@Stable` contract.) Caching a single value (either null or non-null) for the duration of the compilation addresses both problems.
+1
C2 generated code is "final" (C1 code and Interpreter are executed only at initial stage with exception of deoptimization).
-------------
PR: https://git.openjdk.org/jdk/pull/11861
More information about the hotspot-compiler-dev
mailing list