RFR: 8374782: Parallel: Remove specialized objArray iteration code
Ivan Walulya
iwalulya at openjdk.org
Wed Feb 4 09:51:28 UTC 2026
On Wed, 4 Feb 2026 08:40:07 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
>> Hi,
>>
>> Please review this change removes specialized local methods used to iterate over array slices in `PSPromotionManager`. Any performance differences between these methods and `objArrayOopDesc::oop_iterate_elements_range` are attributable to differences in inlining behavior. For this reason, `ALWAYSINLINE` is applied. Further investigation is ongoing to improve inlining of calls through `objArrayOopDesc::oop_iterate_elements_range`.
>>
>> Testing: Tier 1-3, perf testing with SPECjvm2008-XML.validation.
>
> I suggest renaming the title now that the investigation is complete; maybe just `Parallel: Remove specialized ...`.
Thanks @albertnetymk and @tschatzl for the reviews!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29486#issuecomment-3846410781
More information about the hotspot-gc-dev
mailing list