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

Igor Veresov iveresov at openjdk.org
Tue Jun 28 16:27:26 UTC 2022


On Sat, 25 Jun 2022 04:35:59 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.

Thanks for the reviews!

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

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


More information about the hotspot-compiler-dev mailing list