JDK 9 RFR of JDK-8035279: Clean up internal deprecations in BigInteger
Alan Eliasen
eliasen at mindspring.com
Thu Feb 27 07:43:20 UTC 2014
> On Feb 26, 2014, at 8:55 PM, Brian Burkhalter
> <brian.burkhalter at oracle.com> wrote:
>> If it looks worth doing, I'll file another issue to track the idea.
>> I already have it on my list anyway to follow up on Alan Eliasen's
>> comment in the BigInteger code:
>>
>> * This could be changed to a more complicated caching method using
>> * {@code Future}. */
>> private static BigInteger getRadixConversionCache(int radix, int
exponent) {
On 02/26/2014 02:53 PM, Paul Sandoz wrote:
> Not quite sure what that would entail.
>
> Paul.
See, for example, p. 108 of "Java Concurrency in Practice," if one of
the guys there has a copy. ;)
I started writing a version of that cache using Future but it got
looking a bit hairy. I submitted the very-simple version I did (which
is not the one that was in the final release) because I thought
anything more complex would hold up review too much.
--
Alan Eliasen
eliasen at mindspring.com
http://futureboy.us/
More information about the core-libs-dev
mailing list