RFR: 8357913: Add `@Stable` to BigInteger and BigDecimal [v3]

Chen Liang liach at openjdk.org
Sun Jul 20 03:00:53 UTC 2025


On Wed, 4 Jun 2025 12:08:09 GMT, Per Minborg <pminborg at openjdk.org> wrote:

>> Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   BigInteger::mag remove Stable
>
> The newly marked arrays are indeed only updated once. Can we see any benchmark showing a performance gain?

Re performance gain argument from @minborg: See #26341 for context; sometimes the constant values aren't immediately used by C2, but at least this will cause no regression and unlocks future gains.

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

PR Comment: https://git.openjdk.org/jdk/pull/25437#issuecomment-3092715850


More information about the core-libs-dev mailing list