Seams it's not updated since our inclusion of SpecialSensors.. Thus the test execution fails with following error:
# JMH version: 1.19
# VM version: JDK 1.7.0_80, VM 24.80-b11
# VM invoker: /usr/lib/jvm/java-7-oracle/jre/bin/java
# VM options: -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant
# Warmup: 5 iterations, 1 s each
# Measurement: 5 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Average time, time/op
# Benchmark: rocks.inspectit.agent.java.instrumentation.asm.ClassInstrumenterPerfTest.instrument
# Parameters: (clazz = java.lang.Boolean, enhancedExceptionSensor = false, maxMethods = 10, specialMethodInstrumentation = true)
# Run progress: 93.94% complete, ETA 00:00:17
# Fork: 1 of 1
# Warmup Iteration 1: <failure>
java.lang.IllegalArgumentException: SubstitutionDescriptor must not be null when creating the SpecialMethodInstrumenter.
at rocks.inspectit.agent.java.instrumentation.asm.SpecialMethodInstrumenter.<init>(SpecialMethodInstrumenter.java:64)
at rocks.inspectit.agent.java.instrumentation.InstrumenterFactory.getMethodVisitor(InstrumenterFactory.java:61)
at rocks.inspectit.agent.java.instrumentation.asm.ClassInstrumenter.visitMethod(ClassInstrumenter.java:106)
at info.novatec.inspectit.org.objectweb.asm.ClassReader.b(Unknown Source)
at info.novatec.inspectit.org.objectweb.asm.ClassReader.accept(Unknown Source)
at info.novatec.inspectit.org.objectweb.asm.ClassReader.accept(Unknown Source)
at rocks.inspectit.agent.java.instrumentation.asm.ClassInstrumenterPerfTest.instrument(ClassInstrumenterPerfTest.java:96)
at rocks.inspectit.agent.java.instrumentation.asm.generated.ClassInstrumenterPerfTest_instrument_jmhTest.instrument_avgt_jmhStub(ClassInstrumenterPerfTest_instrument_jmhTest.java:188)
at rocks.inspectit.agent.java.instrumentation.asm.generated.ClassInstrumenterPerfTest_instrument_jmhTest.instrument_AverageTime(ClassInstrumenterPerfTest_instrument_jmhTest.java:152)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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:262)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Seams it's not updated since our inclusion of SpecialSensors.. Thus the test execution fails with following error:
# JMH version: 1.19 # VM version: JDK 1.7.0_80, VM 24.80-b11 # VM invoker: /usr/lib/jvm/java-7-oracle/jre/bin/java # VM options: -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant # Warmup: 5 iterations, 1 s each # Measurement: 5 iterations, 1 s each # Timeout: 10 min per iteration # Threads: 1 thread, will synchronize iterations # Benchmark mode: Average time, time/op # Benchmark: rocks.inspectit.agent.java.instrumentation.asm.ClassInstrumenterPerfTest.instrument # Parameters: (clazz = java.lang.Boolean, enhancedExceptionSensor = false, maxMethods = 10, specialMethodInstrumentation = true) # Run progress: 93.94% complete, ETA 00:00:17 # Fork: 1 of 1 # Warmup Iteration 1: <failure> java.lang.IllegalArgumentException: SubstitutionDescriptor must not be null when creating the SpecialMethodInstrumenter. at rocks.inspectit.agent.java.instrumentation.asm.SpecialMethodInstrumenter.<init>(SpecialMethodInstrumenter.java:64) at rocks.inspectit.agent.java.instrumentation.InstrumenterFactory.getMethodVisitor(InstrumenterFactory.java:61) at rocks.inspectit.agent.java.instrumentation.asm.ClassInstrumenter.visitMethod(ClassInstrumenter.java:106) at info.novatec.inspectit.org.objectweb.asm.ClassReader.b(Unknown Source) at info.novatec.inspectit.org.objectweb.asm.ClassReader.accept(Unknown Source) at info.novatec.inspectit.org.objectweb.asm.ClassReader.accept(Unknown Source) at rocks.inspectit.agent.java.instrumentation.asm.ClassInstrumenterPerfTest.instrument(ClassInstrumenterPerfTest.java:96) at rocks.inspectit.agent.java.instrumentation.asm.generated.ClassInstrumenterPerfTest_instrument_jmhTest.instrument_avgt_jmhStub(ClassInstrumenterPerfTest_instrument_jmhTest.java:188) at rocks.inspectit.agent.java.instrumentation.asm.generated.ClassInstrumenterPerfTest_instrument_jmhTest.instrument_AverageTime(ClassInstrumenterPerfTest_instrument_jmhTest.java:152) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 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:262) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)