You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In OffHeaphashMap.expandTable(), the table size is increased by double the current size. There is a check to see if it goes negative, but this is insufficient. The newLimit size calculated here is later increased in allocateTable(), and this can cause the end result size to be negative, resulting in a IllegalArgumentException from ByteBuffer.allocateTable().
Not a big deal, but it would be nice to have the right exception thrown.
The text was updated successfully, but these errors were encountered:
In OffHeaphashMap.expandTable(), the table size is increased by double the current size. There is a check to see if it goes negative, but this is insufficient. The newLimit size calculated here is later increased in allocateTable(), and this can cause the end result size to be negative, resulting in a IllegalArgumentException from ByteBuffer.allocateTable().
Not a big deal, but it would be nice to have the right exception thrown.
The text was updated successfully, but these errors were encountered: