RFR: 8184765: Dynamically resize SystemDictionary

John Rose john.r.rose at oracle.com
Tue Oct 31 03:23:41 UTC 2017


On Oct 30, 2017, at 8:52 AM, Gerard Ziemski <gerard.ziemski at oracle.com> wrote:
> 
> Right, need something a bit more clever here. A precomputed prime table might be good enough, but let me see how complex (a correct) function has to be.

I suggest a precomputed prime table and an inefficient-but-simple
validation that runs only in the debug build, via assert(is_prime(tab[i])).



More information about the hotspot-runtime-dev mailing list