RFR: 8296318: use-def assert: special case undetected loops nested in infinite loops [v2]

Emanuel Peter epeter at openjdk.org
Wed Dec 14 05:55:04 UTC 2022


On Tue, 13 Dec 2022 19:32:32 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Emanuel Peter has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   review suggestions
>
> src/hotspot/share/opto/cfgnode.cpp line 399:
> 
>> 397: // Is this region in an infinite subgraph?
>> 398: // (no path to root except through false NeverBranch exit)
>> 399: bool RegionNode::is_in_infinite_subgraph() {
> 
> It is used only in assert(). Should it be under `#ifdef ASSERT` ?

👍

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

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


More information about the hotspot-compiler-dev mailing list