RFR: 8311163: Parallel: Improve large object handling during evacuation [v2]

Kim Barrett kbarrett at openjdk.org
Fri Aug 30 09:08:55 UTC 2024


On Thu, 29 Aug 2024 11:00:57 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> Kim Barrett has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   remove unused size arg for push_objArray
>
> src/hotspot/share/gc/parallel/psPromotionManager.cpp line 323:
> 
>> 321: }
>> 322: 
>> 323: void PSPromotionManager::push_objArray(oop old_obj, oop new_obj, size_t obj_size) {
> 
> `obj_size` seems unused.

I'd originally intended to compute the array_length from this argument, but that's kind of messy so I went
with the simpler approach of just fetching it from one of the objects.  I've removed the argument.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20720#discussion_r1738259596


More information about the hotspot-gc-dev mailing list