[jdk21u-dev] Integrated: 8353175: Eliminate double iteration of stream in FieldDescriptor reinitialization

Radim Vansa rvansa at openjdk.org
Tue Dec 2 13:41:28 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

This pull request has now been integrated.

Changeset: 39fbe38e
Author:    Radim Vansa <rvansa at openjdk.org>
Committer: Severin Gehwolf <sgehwolf at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/39fbe38e2266712da782c16943f633bc66381713
Stats:     33 lines in 7 files changed: 2 ins; 11 del; 20 mod

8353175: Eliminate double iteration of stream in FieldDescriptor reinitialization

Reviewed-by: shade
Backport-of: f169fc5a99ee2b485e156c043134ab76b7e5ebd9

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

PR: https://git.openjdk.org/jdk21u-dev/pull/2010


More information about the jdk-updates-dev mailing list