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

Shaojin Wen swen at openjdk.org
Mon Jul 21 06:57:43 UTC 2025


On Wed, 4 Jun 2025 13:12:33 GMT, Shaojin Wen <swen at openjdk.org> wrote:

>> Some static final arrays of BigInteger and BigDecimal are stable and immutable. We should add `@Stable` to give the optimizer more information
>
> Shaojin Wen has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
> 
>  - Merge remote-tracking branch 'upstream/master' into math_stable_202505
>  - BigInteger::mag remove Stable
>  - bug fix, from @minborg
>  - BigInteger::mag add `@Stable`
>  - add stable

I will integrate it in 24 hours, @minberg do you have any other questions?

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

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


More information about the core-libs-dev mailing list