RFR: 8295486: Inconsistent constant field values observed during compilation

Tobias Hartmann thartmann at openjdk.org
Wed Jan 25 19:05:46 UTC 2023


On Mon, 9 Jan 2023 19:58:13 GMT, Vladimir Kozlov <kvn 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.
>
>> 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).

Thanks Vladimir. @vnkozlov, @chhagedorn, @jatin-bhateja are you okay with the latest version as well?

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

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


More information about the hotspot-compiler-dev mailing list