RFR: 8374782: Parallel: Investigate removal of specialized objArray iteration code

Albert Mingkun Yang ayang at openjdk.org
Wed Feb 4 08:43:16 UTC 2026


On Thu, 29 Jan 2026 12:58:01 GMT, Ivan Walulya <iwalulya 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 ...`.

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

Marked as reviewed by ayang (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29486#pullrequestreview-3749698825


More information about the hotspot-gc-dev mailing list