RFR: 8342692: C2: long counted loop/long range checks: don't create loop-nest for short running loops [v5]

Roland Westrelin roland at openjdk.org
Mon Jan 13 12:44:26 UTC 2025


On Wed, 4 Dec 2024 07:46:08 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> Roland Westrelin has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 21 commits:
>> 
>>  - Merge branch 'master' into JDK-8342692
>>  - whitespaces
>>  - more
>>  - merge
>>  - more
>>  - one more test
>>  - Merge branch 'master' into JDK-8342692
>>  - more
>>  - more
>>  - Merge branch 'master' into JDK-8342692
>>  - ... and 11 more: https://git.openjdk.org/jdk/compare/3b21a298...74c38342
>
> src/hotspot/share/opto/loopnode.cpp line 1190:
> 
>> 1188:       get_template_assertion_predicates(parse_predicate_proj, list);
>> 1189:       clone_assertion_predicates(loop, list, ctrl->in(0)->as_ParsePredicate());
>> 1190:     }
> 
> You may want to talk with @chhagedorn to see if this cannot be done with less code-duplication.
> Also: where are the `Unique_Node_List` allocated from / deallocated?

Done in new commits.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21630#discussion_r1913132596


More information about the hotspot-compiler-dev mailing list