Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during benchmark of BASE64 #17

Closed
zolyfarkas opened this issue Sep 14, 2016 · 0 comments
Closed

Error during benchmark of BASE64 #17

zolyfarkas opened this issue Sep 14, 2016 · 0 comments

Comments

@zolyfarkas
Copy link
Owner

Potential BUT in base 64, needs to be investigated:

Profilers consume stderr from target VM, use -v EXTRA to copy to console

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

Warmup Iteration 1:

java.lang.Exception: java.lang.reflect.InvocationTargetException
at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:451)
at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:412)
at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1424)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: java.lang.reflect.InvocationTargetException
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:498)
at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:430)
... 6 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 3292
at org.spf4j.base.Base64.decodeBase64(Base64.java:170)
at org.spf4j.base.Base64.decodeBase64(Base64.java:120)
at org.spf4j.base.StringsBenchmark.subStringDecode(StringsBenchmark.java:39)
at org.spf4j.base.generated.StringsBenchmark_subStringDecode_jmhTest.subStringDecode_Throughput(StringsBenchmark_subStringDecode_jmhTest.java:72)
... 11 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant