RFR: 8348411: C2: Remove the control input of LoadKlassNode and LoadNKlassNode [v4]
Emanuel Peter
epeter at openjdk.org
Wed Feb 5 09:35:18 UTC 2025
On Tue, 4 Feb 2025 18:54:21 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:
>> src/hotspot/share/opto/parseHelper.cpp line 193:
>>
>>> 191: // See issue JDK-8057622 for details.
>>> 192:
>>> 193: always_see_exact_class = true;
>>
>> Why is it ok to remove this?
>> If this branch is not taken, it used to be `false`, and would lead to something different below...
>
> The only use of this is to decide if we need to attach a control input to the `LoadKlass`. As the control input is not needed, this can be removed.
Got it, thanks!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23274#discussion_r1942528816
More information about the hotspot-compiler-dev
mailing list