RFR: Cleanups, TODOs, asserts (part 1) [v5]

Y. Srinivas Ramakrishna ysr at openjdk.org
Mon Apr 10 23:20:25 UTC 2023


On Mon, 10 Apr 2023 18:10:52 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> I have been reading the `openjdk/shenandoah` vs `openjdk/jdk` diff and these are the simple code massages we can do to improve and bullet-proof the code, hopefully without changing the semantics. This would continue with more parts later.
>> 
>> Additional testing:
>>  - [x] macos-aarch64-server-fastdebug (some pre-existing failures)
>
> Aleksey Shipilev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 15 commits:
> 
>  - Merge branch 'master' into upstream-cleanup-1
>  - Refine TODO
>  - Remove unnecessary comment
>  - Fix a little indentation error
>  - New assert fires, but instead of fixing it, remove useless live_memory completely
>  - Reverse bad fix
>  - More fixes
>  - More work
>  - More improvements
>  - More touchups
>  - ... and 5 more: https://git.openjdk.org/shenandoah/compare/461f0831...c0af0d7e

src/hotspot/share/gc/shenandoah/c2/shenandoahBarrierSetC2.cpp line 1020:

> 1018:     Node* addp = shift->unique_out();
> 1019:     for (DUIterator_Last jmin, j = addp->last_outs(jmin); j >= jmin; --j) {
> 1020:       Node *mem = addp->last_out(j);

`Node* mem`

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

PR Review Comment: https://git.openjdk.org/shenandoah/pull/245#discussion_r1162160702


More information about the shenandoah-dev mailing list