@HotSpotIntrinsicCandidate public static intbitCount (int i)
Returns the number of one-bits in the two's complement binary
representation of the specified int value. This function is
sometimes referred to as the population count.
Parameters:
i
the value whose bits are to be counted
Returns: the number of one-bits in the two's complement binary
representation of the specified int value.