You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Robert Hu (JIRA)" <ji...@apache.org> on 2007/06/07 09:04:26 UTC

[jira] Created: (HARMONY-4087) [classlib][luni] Performance improvement of java.util.Observable

[classlib][luni] Performance improvement of java.util.Observable
----------------------------------------------------------------

                 Key: HARMONY-4087
                 URL: https://issues.apache.org/jira/browse/HARMONY-4087
             Project: Harmony
          Issue Type: Improvement
          Components: Classlib
            Reporter: Robert Hu


The performance of Observable can be improved by optimizing the synchronization.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-4087) [classlib][luni] Performance improvement of java.util.Observable

Posted by "Robert Hu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502247 ] 

Robert Hu commented on HARMONY-4087:
------------------------------------

Please try this patch.
Thanks a lot!

> [classlib][luni] Performance improvement of java.util.Observable
> ----------------------------------------------------------------
>
>                 Key: HARMONY-4087
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4087
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Robert Hu
>         Attachments: HARMONY-4087.diff
>
>
> The performance of Observable can be improved by optimizing the synchronization.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-4087) [classlib][luni] Performance improvement of java.util.Observable

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison resolved HARMONY-4087.
----------------------------------

    Resolution: Fixed

Thanks Robert.

Patch applied to LUNI module at repo revision r546201.

Please check it was applied as expected.

(p.s. I also hit format in that file so apologies for the extra noise)

> [classlib][luni] Performance improvement of java.util.Observable
> ----------------------------------------------------------------
>
>                 Key: HARMONY-4087
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4087
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Robert Hu
>            Assignee: Tim Ellison
>         Attachments: HARMONY-4087.diff
>
>
> The performance of Observable can be improved by optimizing the synchronization.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-4087) [classlib][luni] Performance improvement of java.util.Observable

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison reassigned HARMONY-4087:
------------------------------------

    Assignee: Tim Ellison

> [classlib][luni] Performance improvement of java.util.Observable
> ----------------------------------------------------------------
>
>                 Key: HARMONY-4087
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4087
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Robert Hu
>            Assignee: Tim Ellison
>         Attachments: HARMONY-4087.diff
>
>
> The performance of Observable can be improved by optimizing the synchronization.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-4087) [classlib][luni] Performance improvement of java.util.Observable

Posted by "Robert Hu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Hu closed HARMONY-4087.
------------------------------


Wonderful!
Verified, thanks a lot!

> [classlib][luni] Performance improvement of java.util.Observable
> ----------------------------------------------------------------
>
>                 Key: HARMONY-4087
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4087
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Robert Hu
>            Assignee: Tim Ellison
>         Attachments: HARMONY-4087.diff
>
>
> The performance of Observable can be improved by optimizing the synchronization.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-4087) [classlib][luni] Performance improvement of java.util.Observable

Posted by "Robert Hu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Hu updated HARMONY-4087:
-------------------------------

    Attachment: HARMONY-4087.diff

1. Use List instead of Vector as the type of the container of Observers
2. Delete some unnecessary "synchronized"
3. refine "notifyObservers" method

> [classlib][luni] Performance improvement of java.util.Observable
> ----------------------------------------------------------------
>
>                 Key: HARMONY-4087
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4087
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Robert Hu
>         Attachments: HARMONY-4087.diff
>
>
> The performance of Observable can be improved by optimizing the synchronization.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.