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

fix fast statement list overflow inconsistency #35

Closed
wants to merge 1 commit into from
Closed

fix fast statement list overflow inconsistency #35

wants to merge 1 commit into from

Conversation

fwbrasil
Copy link
Contributor

The fast statement list returns nulls during iteration when there was a overflow. The effect is a NPE when closing a connection with more open statements than the fast list initial capacity.

@brettwooldridge
Copy link
Owner

Merged into dev.

@fwbrasil
Copy link
Contributor Author

@brettwooldridge Could you let me know when a release is available with this fix? I want to release a new version of http://activate-framework.org using HikariCP instead of BoneCP.
Thanks!

brettwooldridge added a commit that referenced this pull request Feb 16, 2014
brettwooldridge added a commit that referenced this pull request Feb 18, 2014
* dev: (22 commits)
  Javadoc, renaming, and cleanup.
  Fix FastStatementList unit test failure.
  Slightly cleaner fix for issue #35
  javadoc.
  Change default size from 16 to 32, and change growth factor from 4x to 2x.
  Add a pool state log at timeout failure.
  Synchronization fixes.
  Minor cleanup and javadoc.
  Refactored SpecializedConcurrentBag for efficiency, moved to util.
  Initialize the concurrent bag with an initial size.
  Cache the hashCode.
  Merged changed from fwbrasil
  Add license header and class-level javadoc.
  Even more detailed log for broken connections
  New concurrent connection container (moved away from LinkedBlockingQueue and LinkedTransferQueue).
  Adjust version number in the benchmark script.
  fix fast statement list overflow inconsistency
  Start of experimental implementation of a concurrent bag.
  Readability improvement.
  Added logging for broken connections.
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants