Currently, the JDBC resources are tracked in a StampedCopyOnWrireArrayList that is a data structure optimized for when reads are much more often that writes.