RFR: 8373800: Remove ScopedValueBindingsResolver

Chen Liang liach at openjdk.org
Tue Dec 16 20:27:48 UTC 2025


On Tue, 16 Dec 2025 14:44:47 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> The `ScopedValueBindingsResolver::ScopedValueBindingsResolver()` constructor is invoked the first time 
> `JVM_FindScopedValueBindings` is invoked, and may cause unexpected behavior if the loading of the `ScopedValue$Carrier` class fails to load (due to OOM, etc).
> 
> With this PR, `ScopedValue$Carrier` is loaded during bootstrap with all other `vmClasses`.

This class was originally in `jdk.incubator` so it had to be resolved this way. Not necessary any more indeed.

https://github.com/openjdk/jdk/pull/10952/files#diff-50437abcc14d6d69f89f6a6566f1ed016f60a8c2173d43cd681727b46a0dd314R1370

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

Marked as reviewed by liach (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/28849#pullrequestreview-3584813027


More information about the hotspot-dev mailing list