[jdk21u-dev] RFR: 8353175: Eliminate double iteration of stream in FieldDescriptor reinitialization
Aleksey Shipilev
shade at openjdk.org
Wed Jul 30 13:53:02 UTC 2025
On Tue, 22 Jul 2025 15:15:13 GMT, Radim Vansa <rvansa at openjdk.org> wrote:
> This backport is a partial fix for a performance regression and prerequisite for backport of https://github.com/openjdk/jdk/pull/24847 (will be done through https://github.com/rvansa/jdk21u-dev/tree/refs/heads/rvansa/backport-8352075)
>
> The backport was not clean; a notable new change is in `reflectionUtils.hpp` (later JDK versions remove the affected class) - I am adding `friend class FieldStream` to `InstanceKlass` to accomodate for this.
>
> Backport-of: f169fc5a99ee2b485e156c043134ab76b7e5ebd9
Marked as reviewed by shade (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk21u-dev/pull/2010#pullrequestreview-3071653588
More information about the jdk-updates-dev
mailing list