Re: Add `@Stable` to BigInteger and BigDecimal

2025-05-27 Thread Jaikiran Pai
Is this a duplicate of what's already being discussed here https://mail.openjdk.org/pipermail/core-libs-dev/2025-May/146692.html? -Jaikiran On 27/05/25 2:24 pm, wenshao wrote: Some final arrays of BigInteger and BigDecimal are stable and immutable. We should add `@Stable` to give the optimizer

Re: Add @Stable to BigInteger and BigDecimal

2025-05-26 Thread Raffaello Giulietti
Depending on which static final arrays, this might be fine. On 2025-05-26 01:57, wenshao 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