db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2150) Reduce use of synchronized collections in GenericLanguageConnectionContext
Date Thu, 11 Jan 2007 13:59:27 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463895
] 

Knut Anders Hatlen commented on DERBY-2150:
-------------------------------------------

Attached another patch (2a) which removes the rest of the synchronized containers (two Hashtables)
in GenericLCC. Also touched a couple of other files because the signature of copyHashtableToAIHT()
was changed. Please review!

> Reduce use of synchronized collections in GenericLanguageConnectionContext
> --------------------------------------------------------------------------
>
>                 Key: DERBY-2150
>                 URL: https://issues.apache.org/jira/browse/DERBY-2150
>             Project: Derby
>          Issue Type: Improvement
>          Components: Performance, SQL
>    Affects Versions: 10.3.0.0
>            Reporter: Knut Anders Hatlen
>         Assigned To: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: derby-2150-1a.diff, derby-2150-1b.diff, derby-2150-2a.diff, derby-2150-2a.stat
>
>
> In org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext, it is probably safe
to replace some of the synchronized collections with unsynchronized ones. This should be investigated,
and the unnecessary synchronization should be removed. See discussion here: http://www.nabble.com/Use-of-synchronized-containers-in-engine-code-tf2754469.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message