RFR: 8373495: C2: Aggressively fold loads from objects that have not escaped [v10]
Roberto Castañeda Lozano
rcastanedalo at openjdk.org
Tue Dec 23 14:35:01 UTC 2025
On Mon, 22 Dec 2025 13:01:13 GMT, Roberto Castañeda Lozano <rcastanedalo at openjdk.org> wrote:
>> I have added a section describing some future work based on this PR that I have come up with.
>
> @merykitty would it be possible to guard the logic added by this patch with a new diagnostic flag, to facilitate reviewing and experimenting?
> @robcasloz Done, is it good for you?
Thanks! Besides disabling load folding, it would be great if `DoLocalEscapeAnalysis` could also prevent any additional work introduced by this changeset (data structure allocation etc.), so that we can use it to evaluate its impact on compilation speed. I'll continue looking at the patch when I'm back from vacation.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28812#issuecomment-3686857617
More information about the hotspot-compiler-dev
mailing list