While going through this article about String pool and its changes over the years, I came across the following statement:
Prior to Java 7u40, the default pool size was 1009 buckets but this value was subject to a few changes in more recent Java versions. To be precise, the default pool size from Java 7u40 until Java 11 was 60013 and now it increased to 65536.
So, what are buckets in String pool? How are these comparable to the number of interned Strings? Is the concept similar to buckets in hashmaps?