Uploaded image for project: 'Commons DBCP'
  1. Commons DBCP
  2. DBCP-300

remove synchronize access of createDataSource

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.2, 1.3, 1.4
    • 2.0
    • None
    • RHEL, jdk1.5.0_12, commons-dbcp 1.2.2

    Description

      For JDK1.5 onwards we can make the DataSource volatile and start using "double checked locking" idiom. In my performance testing I have already started seeing wait time on this lock.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nikhilpal Nikhil Singh
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: