I was reading source code of HashMap.java, and was confused by the default value of loadFactor. As the authors of this class mentioned
Ideally, under random hashCodes, the frequency of nodes in bins follows a Poisson distribution with a parameter of 0.5 on average for the default resizing threshold of 0.75f ...
What I didn't understand is the relationship between the resizing threshold of 0.75f and the frequency that calculated by Poisson distribution.
If there is some kind of relation between the two, what exactly is it?
And if there isn't, where did the default threshold of 0.75f come from?