RFR: 8360288: Shenandoah crash at size_given_klass in op_degenerated [v2]
Xiaolong Peng
xpeng at openjdk.org
Tue Jul 15 20:49:38 UTC 2025
On Tue, 15 Jul 2025 07:40:52 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> There is another instance of `ShenandoahHeapRegion::required_regions(obj->size() * HeapWordSize);` in `ShenandoahGenerationalHeuristics::choose_collection_set` -- is it affected by the same issue?
I came across the same code recently when I update the choose_collection_set to support CAS for mutator allocation. I was searching and reviewing where ShenandoahHeapRegion::required_regions are used yesterday. There are 9 places where it is been used, out of which only the one in allocation is indeed needed. I was about to create a JBS bug for the improvement.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26256#issuecomment-3075559659
More information about the hotspot-gc-dev
mailing list