Skip to content

Tomcat Statement Failure

Brett Wooldridge edited this page Jan 29, 2017 · 2 revisions

JMH 1.17.2 (released 54 days ago)

VM version: JDK 1.8.0_111, VM 25.111-b14

VM invoker: /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/bin/java

VM options: -server -XX:-RestrictContended -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -Xms1096m -Xmx1096m

Warmup: 3 iterations, 1 s each

Measurement: 8 iterations, 1 s each

Timeout: 10 min per iteration

Threads: 20 threads, will synchronize iterations

Benchmark mode: Throughput, ops/time

Benchmark: com.zaxxer.hikari.benchmark.StatementBench.cycleStatement

Parameters: (jdbcUrl = jdbc:stub, maxPoolSize = 20, pool = tomcat)

Run progress: 50.00% complete, ETA 00:00:22

Fork: 1 of 2

Warmup Iteration 1: Using driver (jdbc:stub): com.zaxxer.hikari.benchmark.stubs.StubDriver@13882538# Overriding maxPoolSize paramter for StatementBench: maxPoolSize=20

2172.061 ops/ms

Warmup Iteration 2: 1984.649 ops/ms

Warmup Iteration 3: 1902.070 ops/ms

Iteration 1:

java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.concurrent.locks.AbstractQueuedSynchronizer.addWaiter(AbstractQueuedSynchronizer.java:606) at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:982) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1304) at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:231) at org.openjdk.jmh.runner.InfraControl.preTearDown(InfraControl.java:90) at com.zaxxer.hikari.benchmark.generated.StatementBench_cycleStatement_jmhTest.cycleStatement_Throughput(StatementBench_cycleStatement_jmhTest.java:92) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:453) at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:437) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 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)