https://bz.apache.org/bugzilla/show_bug.cgi?id=60645

Christopher Schultz <ch...@christopherschultz.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable

--- Comment #5 from Christopher Schultz <ch...@christopherschultz.net> ---
(In reply to baier from comment #4)
> But why would you want to keep both the original StatementFinalizer class
> and the thread-safe StatementFinalizer class?

Synchronization is not necessary for most users, so they don't need to pay the
penalty. Yes, uncontested locks are fairly inexpensive, but when they aren't
needed at all, they can be completely eliminated.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to