Commit Graph

1286 Commits (c717cf61b76320aad0ac0570384f9d27be3c812a)
 

Author SHA1 Message Date
Brett Wooldridge d47d5a7b0e Fix Make PoolUtilities stateful, because using statics causes issues when two pools with different drivers and different capabilities exist in the same JVM. Pull out non-pooly things into a separate utility class.
Brett Wooldridge 7e7d124a93 Bump revision number due to large internal refactor.
Brett Wooldridge f0b735cb02 Issue Use a discard policy rather than an abort policy for the housekeeping thread, the abort policy causes unnecessary looping in addConnection() during shutdown() due to the housekeeping thread being used as the executor for the setNetworkTImeout() call. We could create another executor just for that, but it doesn't really make sense or matter.
Brett Wooldridge 87be723621 Issue suppress noisy exceptions in "quiteSleep()" method.
Brett Wooldridge 5a90be9199 Make non-overridden methods final. Gets back to pre-refactor performance.
Brett Wooldridge a6152f58a9 Merge more common code. Benchmarks are showing no negative impact so far.
Brett Wooldridge 688d1911e2 Merge more common code. HikariConfig is not a critical class, but we need to be careful about what we merge due to performance implications of inheritance and virtual dispatch that cannot be optimized by the JIT.
Brett Wooldridge ce6d72dd00 Remove some redundant code and inaccurate comment.
Brett Wooldridge 9d486abbfa Massive structure refactor. Make IDE setup hell, but greatly improves maintainability.
Brett Wooldridge 82f98fc57e Project restructuring experiment
Brett Wooldridge d304c511b3 Be careful coding while drinking.
Brett Wooldridge b84727e4c9 Use execute() instead of submit() for the addConnectionExecutor.
Brett Wooldridge 527c8ce59c Issue Throw an exception if the bag is closed, this will cause addConnection() to cleanly close the opened connection and correctly decrement the pool count.
Brett Wooldridge 396ecf4008 Somewhere along the way we lost our override of isClosed()...
Brett Wooldridge ce515ac3b8 Scrub, scrub. A little cleaner.
Brett Wooldridge 855dbafb86 Cleanup pool suspend/resume semaphore use, add unit test.
Brett Wooldridge 560f6e402a Minor cleanup. Make isUseJdbc4Validation final.
Brett Wooldridge e78d68e65f Cleaner still, rolls back totalConnection() increment, and sets last connection failure.
Brett Wooldridge 949bff3997 Even cleaner connection test check.
Brett Wooldridge 66118ff4c4 Minor cleanup. Listener is never null.
Brett Wooldridge 501db5ab6e Cognitive load shift.
Brett Wooldridge 26d6f254db Fix unregister metrics at shutdown.
Brett Wooldridge 03542eb579 Fix rework of the fix
Brett Wooldridge 3b1ae79d7d Minor cleanup.
Brett Wooldridge d625ed66ec Fix fix leak detection bug introduced by refactor
Brett Wooldridge cf99c59519 Remove redundant checks.
Brett Wooldridge c78fc35c27 Fix handle pull shutdown synchronisation issues
Brett Wooldridge da4ffe6d18 Fix a fast-spin loop when the pool is suspended and and connections are attempted to be added.
Brett Wooldridge 9f3c5ed2ca Merge Java 8 changes into Java 6/7 project.
Brett Wooldridge 6717ffd7f2 Cleaner, more performant way to handle close connections.
Brett Wooldridge cc42027a92 Mmake HikariPool.getConnection() a little tighter (and more readable).
Brett Wooldridge 0b8779ed26 Small LeakTask refactor just to make HikariPool.getConnection() a little tighter (and more readable).
Brett Wooldridge 24750fef94 Update README.md
Brett Wooldridge 0182489c7b Improve pool accounting under "adverse" conditions such as aborted connections.
Brett Wooldridge 0999b831d5 Revert double-check locking for cleaner memory-fence based code.
Brett Wooldridge 54d293ef11 Update README.md
Brett Wooldridge 7fd58eb04c Update changes log.
Brett Wooldridge 01221526f8 Forget about accounting sanity checks when the pool is going down (who cares?). Prevent connections from being added when the pool is suspended. Remove eviction from from abortActiveConnections() as it is already done in softEvictConnections(). "break" in abort method should have been continue.
Brett Wooldridge ad3f9eaa55 Go ahead and implement double-checked locking, this is a low traffic method.
Brett Wooldridge d71db82715 Fix improve shutdown handling with respect to asynchronous close() calls that might be occurring.
Brett Wooldridge d097828d9d Fix back out original optimisation as it masks application errors.
Brett Wooldridge 7485e2dd8b Fix fix possible race, while avoiding heavy weight synchronisation
Brett Wooldridge 5c46f62411 Update changes log.
Brett Wooldridge dda85af7d6 Make isClosed volatile for cross-thread visibility.
Brett Wooldridge 6febf0604b Update README.md
Brett Wooldridge a9ea4fc476 Merge branch '2.2.5-rc1' into dev
* 2.2.5-rc1:
  [maven-release-plugin] prepare for next development iteration
  [maven-release-plugin] prepare release HikariCP-2.2.5
  Update changes log.
  Prepare release.
Brett Wooldridge aa7aa20544 [maven-release-plugin] prepare for next development iteration
Brett Wooldridge d5bf3e5f96 [maven-release-plugin] prepare release HikariCP-2.2.5
Brett Wooldridge 4e5c8cefc8 Update changes log.
Brett Wooldridge a243a13469 Prepare release.