[jdk19] RFR: 8289069: Very slow C1 arraycopy jcstress tests after JDK-8279886 [v2]

Vladimir Kozlov kvn at openjdk.org
Tue Jun 28 16:27:25 UTC 2022


On Tue, 28 Jun 2022 16:23:55 GMT, Igor Veresov <iveresov at openjdk.org> wrote:

>> I used `BlockBegin::number_of_blocks()` to size the bitmaps, however that is a total number of blocks. Since `mark_loops()` is called after every inlining (for every inlinee - no need to reanalyze the whole method), the bitmaps get progressively larger, and have to be zeroed. That makes the complexity quadratic. The solution is to appropriately size the bitmaps and keep the whole thing linear. Tests look good.
>
> Igor Veresov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix a typo

Good.

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

Marked as reviewed by kvn (Reviewer).

PR: https://git.openjdk.org/jdk19/pull/72


More information about the hotspot-compiler-dev mailing list