RFR: 8356126: Duplication handling and optimization of CaptureCallState [v5]

Chen Liang liach at openjdk.org
Tue May 6 15:51:55 UTC 2025


On Tue, 6 May 2025 12:07:46 GMT, Chen Liang <liach at openjdk.org> wrote:

>> src/java.base/share/classes/jdk/internal/util/OperatingSystem.java line 88:
>> 
>>> 86: 
>>> 87:     // The current OperatingSystem
>>> 88:     private static @Stable OperatingSystem CURRENT_OS;
>> 
>> Could this be a `StableValue.supplier()`?
>
> I would rather optimize MethodHandleAccessorFactory than defining a new class for this...

Rolled back per @jaikiran.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25025#discussion_r2075767396


More information about the core-libs-dev mailing list