RFR: Cleanups, TODOs, asserts (part 1) [v5]
Y. Srinivas Ramakrishna
ysr at openjdk.org
Mon Apr 10 21:35:21 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/shenandoahConcurrentMark.cpp line 181:
> 179: ShenandoahConcurrentWorkerSession worker_session(worker_id);
> 180: ShenandoahObjToScanQueue* q = _queue_set->queue(worker_id);
> 181: ShenandoahObjToScanQueue* old = (_old_queue_set == nullptr) ?
call this `old_q` too like you did above at line 121?
-------------
PR Review Comment: https://git.openjdk.org/shenandoah/pull/245#discussion_r1162105888
More information about the shenandoah-dev
mailing list