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
at org.HdrHistogram.AbstractHistogram.getBucketsNeededToCoverValue(AbstractHistogram.java:1440)
at org.HdrHistogram.AbstractHistogram.init(AbstractHistogram.java:189)
at org.HdrHistogram.AbstractHistogram.<init>(AbstractHistogram.java:152)
at org.HdrHistogram.Histogram.<init>(Histogram.java:139)
At line 1440, it sets trackableValue to (subBucketCount - 1) << unitMagnitude which is (262144 - 1) << 24, which overflows to -16777216. As a result the loop condition never returns true, because trackableValue eventually shifts down to 0.
The text was updated successfully, but these errors were encountered:
The test case also demonstrates the percentile roll-over point due to rounding (3 total values in histogram 83.33% will round down to 2nd value, 83.34% will round up to 3rd value).
The following code never returns:
It hangs here:
At line 1440, it sets
trackableValue
to(subBucketCount - 1) << unitMagnitude
which is(262144 - 1) << 24
, which overflows to-16777216
. As a result the loop condition never returns true, becausetrackableValue
eventually shifts down to0
.The text was updated successfully, but these errors were encountered: