Uploaded image for project: 'IronJacamar'
  1. IronJacamar
  2. JBJCA-1127

Contention fix when returning connections

XMLWordPrintable

      During benchmarking we saw a lot of contention when hibernate is returning connections.
      With this fix below the total contention time (aggregated across all threads) over a 5min period in s/state for that lock in SemaphoreArrayListManagedConnectionPool has gone from 39min 55s to 17s.
      https://github.com/johnaoahra80/ironjacamar/commit/f32885818bc0048522a0865dd89e98719853c74f
      We havent seen any errors with this change in the IJ testsuite or in the benchmark we're running.

              jpederse@redhat.com Jesper Pedersen
              spederse@redhat.com Stale Pedersen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: