Skip to content

Instantly share code, notes, and snippets.

@marshallpierce
Last active August 29, 2015 14:12
Show Gist options
  • Save marshallpierce/9e22df2be9c9f42ab875 to your computer and use it in GitHub Desktop.
Save marshallpierce/9e22df2be9c9f42ab875 to your computer and use it in GitHub Desktop.
HdrHistogramReservoir concurrent write IndexOutOfBoundsException
Reproducible with https://bitbucket.org/marshallpierce/hdrhistogram-metrics-reservoir @ 1b9d9bc with './gradlew jmh'
# VM invoker: /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/bin/java
# VM options: -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant
# Warmup: 20 iterations, 1 s each
# Measurement: 20 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 3 threads, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: org.mpierce.metrics.reservoir.hdrhistogram.HdrHistogramReservoirJmh.readWhileRecording
# Run progress: 0.00% complete, ETA 00:06:40
# Fork: 1 of 10
# Warmup Iteration 1: <failure>
java.lang.IndexOutOfBoundsException: index 2176
at java.util.concurrent.atomic.AtomicLongArray.checkedByteOffset(AtomicLongArray.java:65)
at java.util.concurrent.atomic.AtomicLongArray.lazySet(AtomicLongArray.java:137)
at org.HdrHistogram.ConcurrentHistogram.resize(ConcurrentHistogram.java:260)
at org.HdrHistogram.AbstractHistogram.handleRecordException(AbstractHistogram.java:422)
at org.HdrHistogram.AbstractHistogram.recordSingleValue(AbstractHistogram.java:412)
at org.HdrHistogram.AbstractHistogram.recordValue(AbstractHistogram.java:325)
at org.HdrHistogram.Recorder.recordValue(Recorder.java:98)
at org.mpierce.metrics.reservoir.hdrhistogram.HdrHistogramReservoir.update(HdrHistogramReservoir.java:58)
at org.mpierce.metrics.reservoir.hdrhistogram.HdrHistogramReservoirJmh.recordMeasurements(HdrHistogramReservoirJmh.java:28)
at org.mpierce.metrics.reservoir.hdrhistogram.generated.HdrHistogramReservoirJmh_readWhileRecording.recordMeasurements_thrpt_jmhStub(HdrHistogramReservoirJmh_readWhileRecording.java:167)
at org.mpierce.metrics.reservoir.hdrhistogram.generated.HdrHistogramReservoirJmh_readWhileRecording.readWhileRecording_Throughput(HdrHistogramReservoirJmh_readWhileRecording.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.openjdk.jmh.runner.LoopBenchmarkHandler$BenchmarkTask.call(LoopBenchmarkHandler.java:198)
at org.openjdk.jmh.runner.LoopBenchmarkHandler$BenchmarkTask.call(LoopBenchmarkHandler.java:180)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
# Run progress: 10.00% complete, ETA 00:00:13
# Fork: 2 of 10
# Warmup Iteration 1: <failure>
java.lang.IndexOutOfBoundsException: index 2944
at java.util.concurrent.atomic.AtomicLongArray.checkedByteOffset(AtomicLongArray.java:65)
at java.util.concurrent.atomic.AtomicLongArray.lazySet(AtomicLongArray.java:137)
at org.HdrHistogram.ConcurrentHistogram.resize(ConcurrentHistogram.java:260)
at org.HdrHistogram.AbstractHistogram.handleRecordException(AbstractHistogram.java:422)
at org.HdrHistogram.AbstractHistogram.recordSingleValue(AbstractHistogram.java:412)
at org.HdrHistogram.AbstractHistogram.recordValue(AbstractHistogram.java:325)
at org.HdrHistogram.Recorder.recordValue(Recorder.java:98)
at org.mpierce.metrics.reservoir.hdrhistogram.HdrHistogramReservoir.update(HdrHistogramReservoir.java:58)
at org.mpierce.metrics.reservoir.hdrhistogram.HdrHistogramReservoirJmh.recordMeasurements(HdrHistogramReservoirJmh.java:28)
at org.mpierce.metrics.reservoir.hdrhistogram.generated.HdrHistogramReservoirJmh_readWhileRecording.recordMeasurements_thrpt_jmhStub(HdrHistogramReservoirJmh_readWhileRecording.java:167)
at org.mpierce.metrics.reservoir.hdrhistogram.generated.HdrHistogramReservoirJmh_readWhileRecording.readWhileRecording_Throughput(HdrHistogramReservoirJmh_readWhileRecording.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.openjdk.jmh.runner.LoopBenchmarkHandler$BenchmarkTask.call(LoopBenchmarkHandler.java:198)
at org.openjdk.jmh.runner.LoopBenchmarkHandler$BenchmarkTask.call(LoopBenchmarkHandler.java:180)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
# Run progress: 20.00% complete, ETA 00:00:11
# Fork: 3 of 10
# Warmup Iteration 1: <failure>
java.lang.IndexOutOfBoundsException: index 2688
at java.util.concurrent.atomic.AtomicLongArray.checkedByteOffset(AtomicLongArray.java:65)
at java.util.concurrent.atomic.AtomicLongArray.lazySet(AtomicLongArray.java:137)
at org.HdrHistogram.ConcurrentHistogram.resize(ConcurrentHistogram.java:260)
at org.HdrHistogram.AbstractHistogram.handleRecordException(AbstractHistogram.java:422)
at org.HdrHistogram.AbstractHistogram.recordSingleValue(AbstractHistogram.java:412)
at org.HdrHistogram.AbstractHistogram.recordValue(AbstractHistogram.java:325)
at org.HdrHistogram.Recorder.recordValue(Recorder.java:98)
at org.mpierce.metrics.reservoir.hdrhistogram.HdrHistogramReservoir.update(HdrHistogramReservoir.java:58)
at org.mpierce.metrics.reservoir.hdrhistogram.HdrHistogramReservoirJmh.recordMeasurements(HdrHistogramReservoirJmh.java:28)
at org.mpierce.metrics.reservoir.hdrhistogram.generated.HdrHistogramReservoirJmh_readWhileRecording.recordMeasurements_thrpt_jmhStub(HdrHistogramReservoirJmh_readWhileRecording.java:167)
at org.mpierce.metrics.reservoir.hdrhistogram.generated.HdrHistogramReservoirJmh_readWhileRecording.readWhileRecording_Throughput(HdrHistogramReservoirJmh_readWhileRecording.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.openjdk.jmh.runner.LoopBenchmarkHandler$BenchmarkTask.call(LoopBenchmarkHandler.java:198)
at org.openjdk.jmh.runner.LoopBenchmarkHandler$BenchmarkTask.call(LoopBenchmarkHandler.java:180)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
# Run progress: 30.00% complete, ETA 00:00:10
# Fork: 4 of 10
# Warmup Iteration 1: <failure>
java.lang.IndexOutOfBoundsException: index 2688
at java.util.concurrent.atomic.AtomicLongArray.checkedByteOffset(AtomicLongArray.java:65)
at java.util.concurrent.atomic.AtomicLongArray.lazySet(AtomicLongArray.java:137)
at org.HdrHistogram.ConcurrentHistogram.resize(ConcurrentHistogram.java:260)
at org.HdrHistogram.AbstractHistogram.handleRecordException(AbstractHistogram.java:422)
at org.HdrHistogram.AbstractHistogram.recordSingleValue(AbstractHistogram.java:412)
at org.HdrHistogram.AbstractHistogram.recordValue(AbstractHistogram.java:325)
at org.HdrHistogram.Recorder.recordValue(Recorder.java:98)
at org.mpierce.metrics.reservoir.hdrhistogram.HdrHistogramReservoir.update(HdrHistogramReservoir.java:58)
at org.mpierce.metrics.reservoir.hdrhistogram.HdrHistogramReservoirJmh.recordMeasurements(HdrHistogramReservoirJmh.java:28)
at org.mpierce.metrics.reservoir.hdrhistogram.generated.HdrHistogramReservoirJmh_readWhileRecording.recordMeasurements_thrpt_jmhStub(HdrHistogramReservoirJmh_readWhileRecording.java:167)
at org.mpierce.metrics.reservoir.hdrhistogram.generated.HdrHistogramReservoirJmh_readWhileRecording.readWhileRecording_Throughput(HdrHistogramReservoirJmh_readWhileRecording.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.openjdk.jmh.runner.LoopBenchmarkHandler$BenchmarkTask.call(LoopBenchmarkHandler.java:198)
at org.openjdk.jmh.runner.LoopBenchmarkHandler$BenchmarkTask.call(LoopBenchmarkHandler.java:180)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
# Run progress: 40.00% complete, ETA 00:00:08
# Fork: 5 of 10
# Warmup Iteration 1: <failure>
java.lang.IndexOutOfBoundsException: index 2432
at java.util.concurrent.atomic.AtomicLongArray.checkedByteOffset(AtomicLongArray.java:65)
at java.util.concurrent.atomic.AtomicLongArray.lazySet(AtomicLongArray.java:137)
at org.HdrHistogram.ConcurrentHistogram.resize(ConcurrentHistogram.java:260)
at org.HdrHistogram.AbstractHistogram.handleRecordException(AbstractHistogram.java:422)
at org.HdrHistogram.AbstractHistogram.recordSingleValue(AbstractHistogram.java:412)
at org.HdrHistogram.AbstractHistogram.recordValue(AbstractHistogram.java:325)
at org.HdrHistogram.Recorder.recordValue(Recorder.java:98)
at org.mpierce.metrics.reservoir.hdrhistogram.HdrHistogramReservoir.update(HdrHistogramReservoir.java:58)
at org.mpierce.metrics.reservoir.hdrhistogram.HdrHistogramReservoirJmh.recordMeasurements(HdrHistogramReservoirJmh.java:28)
at org.mpierce.metrics.reservoir.hdrhistogram.generated.HdrHistogramReservoirJmh_readWhileRecording.recordMeasurements_thrpt_jmhStub(HdrHistogramReservoirJmh_readWhileRecording.java:167)
at org.mpierce.metrics.reservoir.hdrhistogram.generated.HdrHistogramReservoirJmh_readWhileRecording.readWhileRecording_Throughput(HdrHistogramReservoirJmh_readWhileRecording.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.openjdk.jmh.runner.LoopBenchmarkHandler$BenchmarkTask.call(LoopBenchmarkHandler.java:198)
at org.openjdk.jmh.runner.LoopBenchmarkHandler$BenchmarkTask.call(LoopBenchmarkHandler.java:180)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
# Run progress: 50.00% complete, ETA 00:00:07
# Fork: 6 of 10
# Warmup Iteration 1: 8034193.105 ops/s
# Warmup Iteration 2: 8120469.879 ops/s
# Warmup Iteration 3: 8163105.982 ops/s
# Warmup Iteration 4: 8085102.773 ops/s
# Warmup Iteration 5: 7932154.634 ops/s
# Warmup Iteration 6: 8084640.679 ops/s
# Warmup Iteration 7: 8151839.463 ops/s
# Warmup Iteration 8: 7978774.697 ops/s
# Warmup Iteration 9: 7973750.821 ops/s
# Warmup Iteration 10: 7937000.513 ops/s
# Warmup Iteration 11: 7816236.137 ops/s
# Warmup Iteration 12: 8168682.687 ops/s
# Warmup Iteration 13: 8023321.383 ops/s
# Warmup Iteration 14: 8113948.990 ops/s
# Warmup Iteration 15: 8002540.201 ops/s
# Warmup Iteration 16: 7891310.771 ops/s
# Warmup Iteration 17: 7930439.821 ops/s
# Warmup Iteration 18: 7881879.973 ops/s
# Warmup Iteration 19: 8034102.836 ops/s
# Warmup Iteration 20: 8016232.121 ops/s
Iteration 1: 8062088.091 ops/s
readSnapshots: 9.646 ops/s
recordMeasurements: 8062078.445 ops/s
Iteration 2: 7987680.150 ops/s
readSnapshots: 9.701 ops/s
recordMeasurements: 7987670.448 ops/s
Iteration 3: 7894606.822 ops/s
readSnapshots: 9.655 ops/s
recordMeasurements: 7894597.167 ops/s
Iteration 4: 7800837.624 ops/s
readSnapshots: 9.686 ops/s
recordMeasurements: 7800827.937 ops/s
Iteration 5: 7824330.381 ops/s
readSnapshots: 9.622 ops/s
recordMeasurements: 7824320.759 ops/s
Iteration 6: 7832404.728 ops/s
readSnapshots: 9.630 ops/s
recordMeasurements: 7832395.098 ops/s
Iteration 7: 8114178.820 ops/s
readSnapshots: 9.641 ops/s
recordMeasurements: 8114169.179 ops/s
Iteration 8: 8040907.984 ops/s
readSnapshots: 9.714 ops/s
recordMeasurements: 8040898.270 ops/s
Iteration 9: 7758550.401 ops/s
readSnapshots: 9.684 ops/s
recordMeasurements: 7758540.717 ops/s
Iteration 10: 7811397.045 ops/s
readSnapshots: 9.675 ops/s
recordMeasurements: 7811387.371 ops/s
Iteration 11: 7892779.242 ops/s
readSnapshots: 9.739 ops/s
recordMeasurements: 7892769.504 ops/s
Iteration 12: 7792825.629 ops/s
readSnapshots: 9.621 ops/s
recordMeasurements: 7792816.008 ops/s
Iteration 13: 7868078.066 ops/s
readSnapshots: 9.652 ops/s
recordMeasurements: 7868068.413 ops/s
Iteration 14: 7825979.737 ops/s
readSnapshots: 9.692 ops/s
recordMeasurements: 7825970.045 ops/s
Iteration 15: 7761538.725 ops/s
readSnapshots: 9.644 ops/s
recordMeasurements: 7761529.081 ops/s
Iteration 16: 8020363.690 ops/s
readSnapshots: 9.545 ops/s
recordMeasurements: 8020354.145 ops/s
Iteration 17: 7697052.786 ops/s
readSnapshots: 9.527 ops/s
recordMeasurements: 7697043.259 ops/s
Iteration 18: 7737375.847 ops/s
readSnapshots: 9.591 ops/s
recordMeasurements: 7737366.257 ops/s
Iteration 19: 8169917.221 ops/s
readSnapshots: 9.584 ops/s
recordMeasurements: 8169907.636 ops/s
Iteration 20: 7697844.303 ops/s
readSnapshots: 9.658 ops/s
recordMeasurements: 7697834.645 ops/s
# Run progress: 60.00% complete, ETA 00:00:37
# Fork: 7 of 10
# Warmup Iteration 1: <failure>
java.lang.IndexOutOfBoundsException: index 2944
at java.util.concurrent.atomic.AtomicLongArray.checkedByteOffset(AtomicLongArray.java:65)
at java.util.concurrent.atomic.AtomicLongArray.lazySet(AtomicLongArray.java:137)
at org.HdrHistogram.ConcurrentHistogram.resize(ConcurrentHistogram.java:260)
at org.HdrHistogram.AbstractHistogram.handleRecordException(AbstractHistogram.java:422)
at org.HdrHistogram.AbstractHistogram.recordSingleValue(AbstractHistogram.java:412)
at org.HdrHistogram.AbstractHistogram.recordValue(AbstractHistogram.java:325)
at org.HdrHistogram.Recorder.recordValue(Recorder.java:98)
at org.mpierce.metrics.reservoir.hdrhistogram.HdrHistogramReservoir.update(HdrHistogramReservoir.java:58)
at org.mpierce.metrics.reservoir.hdrhistogram.HdrHistogramReservoirJmh.recordMeasurements(HdrHistogramReservoirJmh.java:28)
at org.mpierce.metrics.reservoir.hdrhistogram.generated.HdrHistogramReservoirJmh_readWhileRecording.recordMeasurements_thrpt_jmhStub(HdrHistogramReservoirJmh_readWhileRecording.java:167)
at org.mpierce.metrics.reservoir.hdrhistogram.generated.HdrHistogramReservoirJmh_readWhileRecording.readWhileRecording_Throughput(HdrHistogramReservoirJmh_readWhileRecording.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.openjdk.jmh.runner.LoopBenchmarkHandler$BenchmarkTask.call(LoopBenchmarkHandler.java:198)
at org.openjdk.jmh.runner.LoopBenchmarkHandler$BenchmarkTask.call(LoopBenchmarkHandler.java:180)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
# Run progress: 70.00% complete, ETA 00:00:24
# Fork: 8 of 10
# Warmup Iteration 1: <failure>
java.lang.IndexOutOfBoundsException: index 2944
at java.util.concurrent.atomic.AtomicLongArray.checkedByteOffset(AtomicLongArray.java:65)
at java.util.concurrent.atomic.AtomicLongArray.lazySet(AtomicLongArray.java:137)
at org.HdrHistogram.ConcurrentHistogram.resize(ConcurrentHistogram.java:260)
at org.HdrHistogram.AbstractHistogram.handleRecordException(AbstractHistogram.java:422)
at org.HdrHistogram.AbstractHistogram.recordSingleValue(AbstractHistogram.java:412)
at org.HdrHistogram.AbstractHistogram.recordValue(AbstractHistogram.java:325)
at org.HdrHistogram.Recorder.recordValue(Recorder.java:98)
at org.mpierce.metrics.reservoir.hdrhistogram.HdrHistogramReservoir.update(HdrHistogramReservoir.java:58)
at org.mpierce.metrics.reservoir.hdrhistogram.HdrHistogramReservoirJmh.recordMeasurements(HdrHistogramReservoirJmh.java:28)
at org.mpierce.metrics.reservoir.hdrhistogram.generated.HdrHistogramReservoirJmh_readWhileRecording.recordMeasurements_thrpt_jmhStub(HdrHistogramReservoirJmh_readWhileRecording.java:167)
at org.mpierce.metrics.reservoir.hdrhistogram.generated.HdrHistogramReservoirJmh_readWhileRecording.readWhileRecording_Throughput(HdrHistogramReservoirJmh_readWhileRecording.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.openjdk.jmh.runner.LoopBenchmarkHandler$BenchmarkTask.call(LoopBenchmarkHandler.java:198)
at org.openjdk.jmh.runner.LoopBenchmarkHandler$BenchmarkTask.call(LoopBenchmarkHandler.java:180)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
# Run progress: 80.00% complete, ETA 00:00:14
# Fork: 9 of 10
# Warmup Iteration 1: <failure>
java.lang.IndexOutOfBoundsException: index 2944
at java.util.concurrent.atomic.AtomicLongArray.checkedByteOffset(AtomicLongArray.java:65)
at java.util.concurrent.atomic.AtomicLongArray.lazySet(AtomicLongArray.java:137)
at org.HdrHistogram.ConcurrentHistogram.resize(ConcurrentHistogram.java:260)
at org.HdrHistogram.AbstractHistogram.handleRecordException(AbstractHistogram.java:422)
at org.HdrHistogram.AbstractHistogram.recordSingleValue(AbstractHistogram.java:412)
at org.HdrHistogram.AbstractHistogram.recordValue(AbstractHistogram.java:325)
at org.HdrHistogram.Recorder.recordValue(Recorder.java:98)
at org.mpierce.metrics.reservoir.hdrhistogram.HdrHistogramReservoir.update(HdrHistogramReservoir.java:58)
at org.mpierce.metrics.reservoir.hdrhistogram.HdrHistogramReservoirJmh.recordMeasurements(HdrHistogramReservoirJmh.java:28)
at org.mpierce.metrics.reservoir.hdrhistogram.generated.HdrHistogramReservoirJmh_readWhileRecording.recordMeasurements_thrpt_jmhStub(HdrHistogramReservoirJmh_readWhileRecording.java:167)
at org.mpierce.metrics.reservoir.hdrhistogram.generated.HdrHistogramReservoirJmh_readWhileRecording.readWhileRecording_Throughput(HdrHistogramReservoirJmh_readWhileRecording.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.openjdk.jmh.runner.LoopBenchmarkHandler$BenchmarkTask.call(LoopBenchmarkHandler.java:198)
at org.openjdk.jmh.runner.LoopBenchmarkHandler$BenchmarkTask.call(LoopBenchmarkHandler.java:180)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
# Run progress: 90.00% complete, ETA 00:00:06
# Fork: 10 of 10
# Warmup Iteration 1: 7627646.609 ops/s
# Warmup Iteration 2: 8013440.761 ops/s
# Warmup Iteration 3: 7464446.898 ops/s
# Warmup Iteration 4: 7713936.205 ops/s
# Warmup Iteration 5: 7887731.839 ops/s
# Warmup Iteration 6: 8027578.940 ops/s
# Warmup Iteration 7: 7909258.535 ops/s
# Warmup Iteration 8: 7701309.230 ops/s
# Warmup Iteration 9: 7910139.436 ops/s
# Warmup Iteration 10: 7944160.393 ops/s
# Warmup Iteration 11: 7814604.025 ops/s
# Warmup Iteration 12: 7504065.682 ops/s
# Warmup Iteration 13: 7646731.450 ops/s
# Warmup Iteration 14: 7811630.437 ops/s
# Warmup Iteration 15: 7537733.320 ops/s
# Warmup Iteration 16: 7527254.105 ops/s
# Warmup Iteration 17: 7571218.154 ops/s
# Warmup Iteration 18: 7701236.319 ops/s
# Warmup Iteration 19: 7771499.591 ops/s
# Warmup Iteration 20: 7378823.706 ops/s
Iteration 1: 7251400.134 ops/s
readSnapshots: 9.661 ops/s
recordMeasurements: 7251390.473 ops/s
Iteration 2: 7451958.456 ops/s
readSnapshots: 9.693 ops/s
recordMeasurements: 7451948.763 ops/s
Iteration 3: 7628330.916 ops/s
readSnapshots: 9.714 ops/s
recordMeasurements: 7628321.201 ops/s
Iteration 4: 7707696.471 ops/s
readSnapshots: 9.724 ops/s
recordMeasurements: 7707686.747 ops/s
Iteration 5: 7343823.094 ops/s
readSnapshots: 9.607 ops/s
recordMeasurements: 7343813.487 ops/s
Iteration 6: 7489297.453 ops/s
readSnapshots: 9.585 ops/s
recordMeasurements: 7489287.869 ops/s
Iteration 7: 7673007.913 ops/s
readSnapshots: 9.694 ops/s
recordMeasurements: 7672998.220 ops/s
Iteration 8: 8044826.200 ops/s
readSnapshots: 9.622 ops/s
recordMeasurements: 8044816.578 ops/s
Iteration 9: 7851940.015 ops/s
readSnapshots: 9.759 ops/s
recordMeasurements: 7851930.256 ops/s
Iteration 10: 7673760.236 ops/s
readSnapshots: 9.627 ops/s
recordMeasurements: 7673750.609 ops/s
Iteration 11: 7762164.846 ops/s
readSnapshots: 9.673 ops/s
recordMeasurements: 7762155.173 ops/s
Iteration 12: 7898096.496 ops/s
readSnapshots: 9.682 ops/s
recordMeasurements: 7898086.814 ops/s
Iteration 13: 7507823.246 ops/s
readSnapshots: 9.778 ops/s
recordMeasurements: 7507813.468 ops/s
Iteration 14: 7487650.574 ops/s
readSnapshots: 9.657 ops/s
recordMeasurements: 7487640.917 ops/s
Iteration 15: 7704379.813 ops/s
readSnapshots: 9.562 ops/s
recordMeasurements: 7704370.251 ops/s
Iteration 16: 7825029.420 ops/s
readSnapshots: 9.567 ops/s
recordMeasurements: 7825019.853 ops/s
Iteration 17: 7807893.301 ops/s
readSnapshots: 9.617 ops/s
recordMeasurements: 7807883.684 ops/s
Iteration 18: 7865936.584 ops/s
readSnapshots: 9.533 ops/s
recordMeasurements: 7865927.051 ops/s
Iteration 19: 7437388.148 ops/s
readSnapshots: 9.551 ops/s
recordMeasurements: 7437378.598 ops/s
Iteration 20: 7406186.155 ops/s
readSnapshots: 9.527 ops/s
recordMeasurements: 7406176.629 ops/s
Result: 7760233.169 ±(99.9%) 120520.622 ops/s [Average]
Statistics: (min, avg, max) = (7251400.134, 7760233.169, 8169917.221), stdev = 214225.299
Confidence interval (99.9%): [7639712.547, 7880753.791]
Result "readSnapshots": 9.644 ±(99.9%) 0.036 ops/s [Average]
Statistics: (min, avg, max) = (9.527, 9.644, 9.778), stdev = 0.064
Confidence interval (99.9%): [9.608, 9.679]
Result "recordMeasurements": 7760223.526 ±(99.9%) 120520.620 ops/s [Average]
Statistics: (min, avg, max) = (7251390.473, 7760223.526, 8169907.636), stdev = 214225.296
Confidence interval (99.9%): [7639702.906, 7880744.145]
# Run complete. Total time: 00:01:48
Benchmark Mode Samples Score Error Units
o.m.m.r.h.HdrHistogramReservoirJmh.readWhileRecording thrpt 40 7760233.169 ± 120520.622 ops/s
o.m.m.r.h.HdrHistogramReservoirJmh.readWhileRecording:readSnapshots thrpt 40 9.644 ± 0.036 ops/s
o.m.m.r.h.HdrHistogramReservoirJmh.readWhileRecording:recordMeasurements thrpt 40 7760223.526 ± 120520.620 ops/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment