Default methods for jdk8: request for code review
vitalyd at gmail.com
Wed Oct 10 16:59:40 PDT 2012
In ResourceHashtable, how did you settle on size 1019? I see it's a prime
so presumably you're worried about collisions? I'd think a power of 2 would
give you some speed up as you can avoid the relatively expensive mod
operation, but just curious what your thinking is here.
Nice job on the "short" :) writeup by the way.
Sent from my phone
On Oct 10, 2012 1:12 PM, "Keith McGuigan" <keith.mcguigan at oracle.com> wrote:
> I'd like any review of the code which implements default methods in the
> JVM. This is destined for jdk8 as part of JSR 335 (Lambdas), and
> tracked by CR 7200776.
> The design and implementation is described in this short document:
> And the code is here:
> Any review (even partial) would be appreciated. Thanks!
> - Keith
More information about the lambda-dev