-
Notifications
You must be signed in to change notification settings - Fork 58
8289069: Very slow C1 arraycopy jcstress tests after JDK-8279886 #72
Conversation
👋 Welcome back iveresov! A progress list of the required criteria for merging this PR into |
Webrevs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable.
@@ -406,7 +410,9 @@ void BlockListBuilder::mark_loops() { | |||
// a node with some loop bit set that would then propagate back and be never cleared because we would | |||
// never go back through the original loop header. Therefore if there are any irreducible loops the bits in the states | |||
// for these loops are going to propagate back to the root. | |||
BitMap& loop_state = mark_loops(_bci2block->at(0), false); | |||
BlockBegin* start = _bci2block->at(0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a typo in line 408, that you might want to fix as well irriducible
-> irreducible
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed. Thanks!
@veresov This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 21 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good.
Thanks for the reviews! |
Going to push as commit 9b7805e.
Your commit was automatically rebased without conflicts. |
I used
BlockBegin::number_of_blocks()
to size the bitmaps, however that is a total number of blocks. Sincemark_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.Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk19 pull/72/head:pull/72
$ git checkout pull/72
Update a local copy of the PR:
$ git checkout pull/72
$ git pull https://git.openjdk.org/jdk19 pull/72/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 72
View PR using the GUI difftool:
$ git pr show -t 72
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk19/pull/72.diff