RFR: 8361497: Scoped Values: orElse and orElseThrow do not access the cache
Andrew Haley
aph at openjdk.org
Tue Jul 8 09:15:43 UTC 2025
On Mon, 7 Jul 2025 16:33:22 GMT, Chen Liang <liach at openjdk.org> wrote:
> Can `get` and `slowGet` be refactored to use this `findBinding` too?
Not really, no. Inlining is critical here, and `get()` is written in this way for efficiency of generated code.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26164#issuecomment-3048039047
More information about the core-libs-dev
mailing list