db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-6891) Investigate concurrency improvements to DerbyObservable and DerbyObserver
Date Fri, 24 Jun 2016 01:26:16 GMT

     [ https://issues.apache.org/jira/browse/DERBY-6891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rick Hillegas updated DERBY-6891:
---------------------------------
    Attachment: derby-6891-01-aa-synchronizeMethods.diff

Thanks for noticing that, Knut. Attaching derby-6891-01-aa-synchronizeMethods.diff, which
makes several methods synchronized. I will run tests now.

Touches the following files:

M       java/engine/org/apache/derby/iapi/services/monitor/DerbyObservable.java


> Investigate concurrency improvements to DerbyObservable and DerbyObserver
> -------------------------------------------------------------------------
>
>                 Key: DERBY-6891
>                 URL: https://issues.apache.org/jira/browse/DERBY-6891
>             Project: Derby
>          Issue Type: Improvement
>          Components: Store
>            Reporter: Rick Hillegas
>         Attachments: derby-6891-01-aa-synchronizeMethods.diff
>
>
> As part of derby-6856, we introduced a pair of classes which manage callbacks between
classes in the Store layer. The classes are DerbyObservable and DerbyObserver. They replace
the deprecated Observer and Observable classes in the JVM and allow Derby to build without
deprecation warnings. Right now, callbacks are managed by a Vector. It is quite likely that
the concurrency of these classes (and therefore of the Store layer) could be boosted by using
some mechanism from java.util.concurrent.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message