Benchmark crashes on Java 8 EA

Chris Vest mr.chrisvest at gmail.com
Sun Feb 23 14:40:11 PST 2014


Hi,

I just downloaded the Early Access release of Java 8, to see what it would do to my benchmarks. Turns out it crashes them:

shipilev:object-pool-benchmarks[stormpot-2.2*]$ java -jar target/object-pool-benchmarks.jar ".*ClaimRelease.StormpotBlaze.*" -t 8 -tu ms -bm thrpt -wi 10 -i 10 -f 1
# Run progress: 0.00% complete, ETA 00:00:20
# VM invoker: /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/bin/java
# VM options: <none>
# Fork: 1 of 1
# Warmup: 10 iterations, 1 s each
# Measurement: 10 iterations, 1 s each
# Threads: 8 threads, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: objectpoolbenchmark.suite.ClaimRelease.StormpotBlazePool.cycle
# Warmup Iteration   1: Exception in thread "Thread-3" java.lang.IllegalStateException: java.io.EOFException
	at org.openjdk.jmh.link.BinaryLinkServer$Handler.run(BinaryLinkServer.java:283)
Caused by: java.io.EOFException
	at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2601)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1319)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
	at org.openjdk.jmh.link.BinaryLinkServer$Handler.run(BinaryLinkServer.java:260)
<forked VM failed with exit code 132>

Benchmark   Mode   Samples         Mean   Mean error    Units
shipilev:object-pool-benchmarks[stormpot-2.2*]$ java -version
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b129)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b69, mixed mode)
shipilev:object-pool-benchmarks[stormpot-2.2*]$  uname -a
Darwin shipilev.local 13.0.2 Darwin Kernel Version 13.0.2: Sun Sep 29 19:38:57 PDT 2013; root:xnu-2422.75.4~1/RELEASE_X86_64 x86_64
shipilev:object-pool-benchmarks[stormpot-2.2*]$

This is with JMH 0.4.2.

Cheers,
Chris



More information about the jmh-dev mailing list