On Thu, 11 Sep 2025 08:35:05 GMT, Paul Hübner <[email protected]> wrote:

> Hi all,
> 
> `FilteredJavaFieldStream` purely exists to hide the field `constantPoolOop` 
> in `jdk.internal.reflect.ConstantPool`. This PR:
> 1) refactors `constantPoolOop` to be a hidden VM injected field `vmholder` 
> (name to be consistent with other similar cases),
> 2) removes `FilteredJavaFieldStream` entirely, and
> 3) updates code previously relying on `FilteredJavaFieldStream` to use 
> `JavaFieldStream` instead.
> 
> Testing: Oracle tiers 1-3.

This pull request has now been integrated.

Changeset: b75e35cb
Author:    Paul Hübner <[email protected]>
Committer: Coleen Phillimore <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/b75e35cb94d17a742d88f23dfd1b016c26a5e63c
Stats:     194 lines in 9 files changed: 9 ins; 166 del; 19 mod

8365858: FilteredJavaFieldStream is unnecessary

Reviewed-by: liach, jsjolen, coleenp, amenkov

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

PR: https://git.openjdk.org/jdk/pull/27209

Reply via email to