Brett Wooldridge
|
352a269ad8
|
Replace bound check with try..catch it is faster in the nominal case.
|
11 years ago |
Brett Wooldridge
|
8b440dd79c
|
Track current transaction isolation level so that we can reset it only when necessary (as it often requires a round trip to the server).
|
11 years ago |
Brett Wooldridge
|
430dd730e7
|
Demote error log to warn.
|
11 years ago |
Brett Wooldridge
|
395035b5f5
|
Conditionally reset the transaction isolation level based on whether the user has altered it or not. Turns out it is expensive for some databases.
|
11 years ago |
Brett Wooldridge
|
c6b8d488a4
|
Conditionally reset the transaction isolation level based on whether the user has altered it or not. Turns out it is expensive for some databases.
|
11 years ago |
Brett Wooldridge
|
04aa65a6d8
|
Replace ConnectionProxy’s ArrayList<Statement> with a custom class (FastStatementList), replace the singleton generated JavassistProxyFactory with a class that has static methods (so we get invokestatic rather than invokeinterface) in bytecode.
|
11 years ago |
Brett Wooldridge
|
4a6eb29043
|
Use our own list implementation which does not do bounds checking, among other optimizations.
|
11 years ago |
Brett Wooldridge
|
a754c87c8a
|
Micro optimization, avoids unnecessary assignment.
|
11 years ago |
Brett Wooldridge
|
93fd7d7330
|
Fixed #27 set the isClosed flag earlier in the close() method, it was meant to short-circuit the unregisterStatement() call, but was moved later, which broke that behavior.
|
11 years ago |
Brett Wooldridge
|
7235091496
|
Comment #25 added additional warning if both dataSource and dataSourceClassName are specified.
|
11 years ago |
Brett Wooldridge
|
3861c17b40
|
Increate timing window to avoid time-sensitive failures in unit tests on slow machines (travis-ci)
|
11 years ago |
Brett Wooldridge
|
1ed2153ab1
|
Increate timing window to avoid time-sensitive failures in unit tests on slow machines.
|
11 years ago |
Brett Wooldridge
|
ccc2989c72
|
Remove unused import.
|
11 years ago |
Brett Wooldridge
|
970e3a5092
|
Increate timing window to avoid time-sensitive failures in unit tests on slow machines.
|
11 years ago |
Brett Wooldridge
|
e35c939ed2
|
Allow setting the dataSource directly on the HikariConfig.
|
11 years ago |
Brett Wooldridge
|
137c76e589
|
Restructured pom after removal of instrumentation.
|
11 years ago |
Brett Wooldridge
|
add7af4915
|
Split HikariCP into two modules: core and agent.
|
11 years ago |
Brett Wooldridge
|
b5101d5e18
|
Start of rework of instrumentation to support shading.
|
11 years ago |
Brett Wooldridge
|
a326b66457
|
Set Thread context class loader, fixes issue with Bukkit plugin class loader (and probably other application server class loaders).
|
11 years ago |
Brett Wooldridge
|
9e74d4c7a3
|
Try to use our own classloader (the one that loaded the proxy factory itself) in the class pool.
|
11 years ago |
Brett Wooldridge
|
292aee2efb
|
Compose the package and class names to support jar shading.
|
11 years ago |
Brett Wooldridge
|
e88cfcddfe
|
documentation and code simplification.
|
11 years ago |
Brett Wooldridge
|
d6d2bc8eac
|
JavaDoc
|
11 years ago |
Brett Wooldridge
|
89a475af14
|
documentation and dead code removal
|
11 years ago |
Brett Wooldridge
|
84c1474e4d
|
JavaDoc
|
11 years ago |
Brett Wooldridge
|
fbb3e88788
|
Improve statement tracking.
|
11 years ago |
Brett Wooldridge
|
7e17dc3d9e
|
Added HSQLDB to instrumentation codex.
|
11 years ago |
Brett Wooldridge
|
33093708e0
|
Derby net client added to codex. Also commented out Java 8 classes until we
figure out how to annotate the codex for java version-specifics.
|
11 years ago |
Brett Wooldridge
|
e1abe3bbf7
|
Set instrumentation flag in benchmark … mostly just so it’s easy to set and unset during testing.
|
11 years ago |
Brett Wooldridge
|
7c8d8d071e
|
Make sure to wrap/inject all ResultSets and set the parent _statement otherwise we get an
NPE in _checkException() which needs to bubble-up to the Statement level.
|
11 years ago |
Brett Wooldridge
|
7d066aa63e
|
Add missing ResultSet classes to codex for PostgreSQL.
|
11 years ago |
Brett Wooldridge
|
e12d84ed82
|
Use flag to avoid recursive close() calls (encountered in MariaDB).
|
11 years ago |
Brett Wooldridge
|
e621a55d4a
|
Don’t add try..catch to static methods
|
11 years ago |
Brett Wooldridge
|
51fce05ffc
|
Add MariaDB to codex.
|
11 years ago |
Brett Wooldridge
|
66a6e8052f
|
Simplify classes by creating an inheritance hierarchy of the JDBC classes.
|
11 years ago |
Brett Wooldridge
|
dea09c0654
|
Add option to disable instrumentation.
|
11 years ago |
Brett Wooldridge
|
cc9ce4f874
|
Additional JDBC drivers added to codex.
|
11 years ago |
Brett Wooldridge
|
560f6d4fd0
|
Merge branch 'dev' of https://github.com/Brizth/HikariCP into Brizth-dev
|
11 years ago |
Brett Wooldridge
|
83fcef54f9
|
Reenable
|
11 years ago |
Brett Wooldridge
|
39f74267ac
|
Mildly more realistic stubs.
|
11 years ago |
Brett Wooldridge
|
60601d4b61
|
Reduce casting and unnecessary delegation.
|
11 years ago |
Brett Wooldridge
|
28cbc5048f
|
More work on codex based instrumentation.
|
11 years ago |
Antti Lampinen
|
63d67dfa19
|
Fixed an invalid timeout in java.sql.Connection.isValid call
|
11 years ago |
Brett Wooldridge
|
28993fd439
|
Change to instrumentation classes specified in a codex file. Trying to deduce which
classes to instrument via reflection is futile given the bizarre class hierarchies of some
drivers.
|
11 years ago |
Brett Wooldridge
|
8b651d8b78
|
Refactor experiment.
|
11 years ago |
Brett Wooldridge
|
2bf2269606
|
Start development on new instrumentation.
|
11 years ago |
Brett Wooldridge
|
81e4e8ffb3
|
Temporarily disable test.
|
11 years ago |
Brett Wooldridge
|
b905393bb7
|
Handle inheritance hierarchies better.
|
11 years ago |
Brett Wooldridge
|
315d09d62f
|
More tests
|
11 years ago |
Brett Wooldridge
|
a2485dfa26
|
Add more connection pools for testing.
|
11 years ago |
Brett Wooldridge
|
831c1b8f5d
|
command line parameters.
|
11 years ago |
Brett Wooldridge
|
5e4cf64909
|
Change checkClosed() method from private to protected for access by Javassist proxies.
|
11 years ago |
Brett Wooldridge
|
2db908d177
|
Remove unused class.
|
11 years ago |
Brett Wooldridge
|
7560ee2308
|
Remove unnecessary delegation.
|
11 years ago |
Brett Wooldridge
|
fc08920d6f
|
Add checkClosed() call to generated Connection proxy methods.
|
11 years ago |
Brett Wooldridge
|
a70c02b2f4
|
More JIT warmup.
|
11 years ago |
Brett Wooldridge
|
5326e543e7
|
Correctness
|
11 years ago |
Brett Wooldridge
|
abadd6723a
|
Fixup null check
|
12 years ago |
Brett Wooldridge
|
8fcbc29ce9
|
Remove experimental code.
|
12 years ago |
Brett Wooldridge
|
615a74aace
|
change variable name for clarity
|
12 years ago |
Brett Wooldridge
|
524cea67a0
|
remove inheritance
|
12 years ago |
Brett Wooldridge
|
a1871abb14
|
make final
|
12 years ago |
Brett Wooldridge
|
f0f1f1409e
|
Change factory/constructor signature
|
12 years ago |
Brett Wooldridge
|
52dec2f2f5
|
Method shrinkage to try to get below inline threshold.
|
12 years ago |
Brett Wooldridge
|
a2eee447b2
|
More performance tweaks.
|
12 years ago |
Brett Wooldridge
|
69a6ff2fb5
|
Inject try catch
|
12 years ago |
Brett Wooldridge
|
7233f21a1c
|
Remove connection url, it is a DataSource property
|
12 years ago |
Brett Wooldridge
|
d20695c2da
|
Minor tweaks
|
12 years ago |
Brett Wooldridge
|
53376d601e
|
Eliminate some unneeded casts.
|
12 years ago |
Brett Wooldridge
|
c69e18265e
|
Fix datasource path after package change.
|
12 years ago |
Brett Wooldridge
|
1f013c3f09
|
Refactor to allow injection of proxy code into JDBC classes from the user's driver.
|
12 years ago |
Brett Wooldridge
|
0b58689069
|
Package refactor.
|
12 years ago |
Brett Wooldridge
|
99a3416bd3
|
Temporarily disable instrumentation during development.
|
12 years ago |
Brett Wooldridge
|
1f5ab6c149
|
Fleshing out the instrumentation agent.
|
12 years ago |
Brett Wooldridge
|
8a3643d634
|
More work on class transformer
|
12 years ago |
Brett Wooldridge
|
640321b9ac
|
Use stub data sour e
|
12 years ago |
Brett Wooldridge
|
648bef1bbe
|
Moved stubs to mock package
|
12 years ago |
Brett Wooldridge
|
cf1f1286b0
|
Class transformer
|
12 years ago |
Brett Wooldridge
|
76c9f95573
|
Remove unused import
|
12 years ago |
Brett Wooldridge
|
c2e939f345
|
Add a benchmark using hsqldb
|
12 years ago |
Brett Wooldridge
|
805e65b969
|
Streamline inheritance and proxy generation.
|
12 years ago |
Brett Wooldridge
|
a6b27ef2a3
|
Add auto commit setting, and population of driver properties.
|
12 years ago |
Brett Wooldridge
|
9ddc7dbc16
|
Add test
|
12 years ago |
Brett Wooldridge
|
4abc12452b
|
Rename benchmark
|
12 years ago |
Brett Wooldridge
|
76ca46a90f
|
Fixed javadoc
|
12 years ago |
Brett Wooldridge
|
cd66ddf269
|
Fix pool fill error when acquire increment is greater than min pool size.
|
12 years ago |
Brett Wooldridge
|
6e72f1e426
|
Detect broken connection via SQLException
|
12 years ago |
Brett Wooldridge
|
87f8b663a6
|
Code comments
|
12 years ago |
Brett Wooldridge
|
ece25c4c83
|
Code comments
|
12 years ago |
Brett Wooldridge
|
93e88d758b
|
more proxy cleanup
|
12 years ago |
Brett Wooldridge
|
494ea84b86
|
Move to ClassLoaderUtils to new package
|
12 years ago |
Brett Wooldridge
|
47b3556c4f
|
Move to ClassLoaderUtils to new package
|
12 years ago |
Brett Wooldridge
|
6855b82c8a
|
Move to new package
|
12 years ago |
Brett Wooldridge
|
c22d680224
|
Remove unused code from proxies since cglib and java.lang.Proxy support was removed.
|
12 years ago |
Brett Wooldridge
|
328017bb43
|
Repackaging
|
12 years ago |
Brett Wooldridge
|
c967f3778d
|
API renames.
|
12 years ago |
Brett Wooldridge
|
0fecb47354
|
Fix idle timeout bug.
|
12 years ago |
Brett Wooldridge
|
8b0911baab
|
Add MBean support.
|
12 years ago |
Brett Wooldridge
|
169bba9a58
|
Set the minimum pool size to the max / 2
|
12 years ago |
Brett Wooldridge
|
cd2c769303
|
Remove java proxy factory ... only support javassist.
|
12 years ago |
Brett Wooldridge
|
2eb52b06b0
|
Switch from add() method to put() method.
|
12 years ago |
Brett Wooldridge
|
96578be6fd
|
Remove cglib
|
12 years ago |
Brett Wooldridge
|
c965656643
|
Switch from HashSet to ArrayList for tracking statements.
|
12 years ago |
Brett Wooldridge
|
1ab5c8fde7
|
Uncomment benchmarks.
|
12 years ago |
Brett Wooldridge
|
7f76e3b833
|
Clear the tracking statements before we do anything that might throw an exception.
|
12 years ago |
Brett Wooldridge
|
72d3d38af6
|
Add code to trap SQLExceptions and call a checkException() method.
|
12 years ago |
Brett Wooldridge
|
03a44b7ab5
|
During getConnection() only try to fill the pool when it is empty.
|
12 years ago |
Brett Wooldridge
|
4dd5d75bac
|
Default jdbc4 isValid() connection validation method to true.
|
12 years ago |
Brett Wooldridge
|
f50c652329
|
Delete unused class.
|
12 years ago |
Brett Wooldridge
|
3c264938c6
|
Use nanoTime() it is more accurate on some platforms.
|
12 years ago |
Brett Wooldridge
|
b81c8ba8bc
|
Start of work to allow loading from a Properties file.
|
12 years ago |
Brett Wooldridge
|
92bea1ddaa
|
Add idle time-out handling, max lifetime handling, and connection leak detection.
|
12 years ago |
Brett Wooldridge
|
04199ba9f4
|
Fixed the average execution time calculation.
|
12 years ago |
Brett Wooldridge
|
6a46daa7c9
|
Change named of some getter/setters
|
12 years ago |
Brett Wooldridge
|
403ca5f916
|
Add one more warm up run.
|
12 years ago |
Brett Wooldridge
|
7b123e7e52
|
Enhance benchmark
|
12 years ago |
Brett Wooldridge
|
65c27de32d
|
Restore wrapped ResultSets
|
12 years ago |
Brett Wooldridge
|
a3196b1a03
|
Benchmark and tuning.
|
12 years ago |
Brett Wooldridge
|
47268a5213
|
Benchmark and tuning.
|
12 years ago |
Brett Wooldridge
|
95905042b5
|
Start of a benchmark
|
12 years ago |
Brett Wooldridge
|
21fe1b4439
|
Fix up the mock datasource
|
12 years ago |
Brett Wooldridge
|
44f986a972
|
Fix statement tracking
|
12 years ago |
Brett Wooldridge
|
052446ca53
|
Use Thread.currentThread().getStackTrace() instead of creating a Throwable.
|
12 years ago |
Brett Wooldridge
|
fdbdc025a0
|
initial commit
|
12 years ago |