View gist:3433f9f99cf11a0a3298d72758c78ee5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log4j:ERROR setFile(null,true) call failed. | |
java.io.FileNotFoundException: /home/zlandes/asn/log/scraper.log (No such file or directory) | |
at java.base/java.io.FileOutputStream.open0(Native Method) | |
at java.base/java.io.FileOutputStream.open(FileOutputStream.java:291) | |
at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:234) | |
at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:155) | |
at org.apache.log4j.FileAppender.setFile(FileAppender.java:294) | |
at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207) | |
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165) | |
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307) |
View TestJdk12Regression.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TestJdk12Regression { | |
@FunctionalInterface | |
interface HandleCallback<T, X extends Exception> { | |
T withHandle(Handle handle) throws X; | |
} | |
@FunctionalInterface | |
interface HandleConsumer<X extends Exception> { | |
void useHandle(Handle handle) throws X; | |
} |
View gist:807d0e331aaf569b03450d97a3eb602b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] Compiling 124 source files to /home/travis/build/jdbi/jdbi/core/target/test-classes | |
An exception has occurred in the compiler (12). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you. | |
java.lang.NullPointerException | |
at jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitApply(Flow.java:1304) | |
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1709) | |
at jdk.compiler/com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) | |
at jdk.compiler/com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:394) | |
at jdk.compiler/com.sun.tools.javac.tree.TreeScanner.visitSelect(TreeScanner.java:308) | |
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2189) | |
at jdk.compiler/com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) |
View gist:38a9cf0a15988d7058d377fee558a831
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# JMH version: 1.21 | |
# VM version: JDK 12, OpenJDK 64-Bit Server VM, 12+33 | |
# VM invoker: /usr/lib/jvm/java-12-openjdk-12.0.0.33-1.ea.1.rolling.fc29.x86_64/bin/java | |
# VM options: <none> | |
# Warmup: <none> | |
# Measurement: 1 iterations, 120 s each | |
# Timeout: 10 min per iteration | |
# Threads: 1 thread, will synchronize iterations | |
# Benchmark mode: Throughput, ops/time | |
# Benchmark: com.fasterxml.jackson.module.blackbird.Afterburner.beanArrayDeser |
View gist:c1ec1e4bd3346c5811cbc74f5bd6e995
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Benchmark Mode Cnt Score Error Units | |
Afterburner.beanArrayDeser ss 10 26.001 ± 5.210 ms/op | |
Blackbird.beanArrayDeser ss 10 26.777 ± 4.589 ms/op | |
Vanilla.beanArrayDeser ss 10 31.012 ± 5.982 ms/op | |
Afterburner.beanArraySer ss 10 3.301 ± 1.122 ms/op | |
Blackbird.beanArraySer ss 10 3.956 ± 1.089 ms/op | |
Vanilla.beanArraySer ss 10 3.625 ± 1.376 ms/op | |
Afterburner.classicBeanItemDeser ss 10 5.510 ± 1.597 ms/op |
View gist:b7769735ce3205f017f2ae5cf398f933
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# JMH version: 1.21 | |
# VM version: JDK 11.0.1, OpenJDK 64-Bit Server VM, 11.0.1+13 | |
# VM invoker: /usr/lib/jvm/java-11-openjdk-11.0.1.13-10.fc29.x86_64/bin/java | |
# VM options: <none> | |
# Warmup: 5 iterations, 2 s each | |
# Measurement: 5 iterations, 5 s each | |
# Timeout: 10 min per iteration | |
# Threads: 1 thread, will synchronize iterations | |
# Benchmark mode: Throughput, ops/time | |
# Benchmark: org.jdbi.v3.core.qualifier.EnumBenchmark.mapEnumCaseInsensitive |
View gist:c9baae77be3775868a88474074e04999
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WARNING: An illegal reflective access operation has occurred | |
WARNING: Illegal reflective access by org.openjdk.jmh.util.Utils (file:/home/steven/ot-code/jdbi3/benchmark/target/benchmarks.jar) to field java.io.Console.cs | |
WARNING: Please consider reporting this to the maintainers of org.openjdk.jmh.util.Utils | |
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations | |
WARNING: All illegal access operations will be denied in a future release | |
# JMH version: 1.21 | |
# VM version: JDK 11.0.1, OpenJDK 64-Bit Server VM, 11.0.1+13 | |
# VM invoker: /usr/lib/jvm/java-11-openjdk-11.0.1.13-10.fc29.x86_64/bin/java | |
# VM options: <none> | |
# Warmup: 5 iterations, 2 s each |
View gist:afc65d80f895fa1000f6e383d16cc2bc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WARNING: An illegal reflective access operation has occurred | |
WARNING: Illegal reflective access by org.openjdk.jmh.util.Utils (file:/home/steven/ot-code/jdbi3/benchmark/target/benchmarks.jar) to field java.io.Console.cs | |
WARNING: Please consider reporting this to the maintainers of org.openjdk.jmh.util.Utils | |
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations | |
WARNING: All illegal access operations will be denied in a future release | |
# JMH version: 1.21 | |
# VM version: JDK 11.0.1, OpenJDK 64-Bit Server VM, 11.0.1+13 | |
# VM invoker: /usr/lib/jvm/java-11-openjdk-11.0.1.13-10.fc29.x86_64/bin/java | |
# VM options: <none> | |
# Warmup: 5 iterations, 2 s each |
View gist:9e293f89e47ebce9d4ba7f6e3e641ac7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TP tp = new KeepaliveTCP(); | |
tp.setBindAddress(bindHost != null ? InetAddress.getByName(bindHost) : InetAddress.getLocalHost()); | |
tp.setBindPort(port); | |
tp.bundler("no-bundler"); | |
// Discover peers by connecting over TCP. AWS doesn't do multicast UDP. | |
// Also our network is suspect so TCP will give us better diagnostics for lost packets | |
TCPPING tcpping = new TCPPING(); | |
tcpping.setPortRange(0); |
View gist:dce25ec500fd251f3fea71f5c499a580
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/common/src/main/java/com/opentable/service/agassoc/common/db/AssocWriteDao.java b/common/src/main/java/c | |
om/opentable/service/agassoc/common/db/AssocWriteDao.java | |
index 39e5c42..364fd5f 100644 | |
--- a/common/src/main/java/com/opentable/service/agassoc/common/db/AssocWriteDao.java | |
+++ b/common/src/main/java/com/opentable/service/agassoc/common/db/AssocWriteDao.java | |
@@ -11,9 +11,9 @@ import com.opentable.service.agassoc.common.Assoc; | |
public interface AssocWriteDao { | |
@SqlBatch("insert into assocs_v1 (anonid, gpid, count, created, last_modified) " + | |
- "values (:assoc.anonid, :assoc.gpid, :count, :stamp, :stamp) " + |
NewerOlder