You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Aleksey Shipilev (JIRA)" <ji...@apache.org> on 2008/04/17 14:07:21 UTC

[jira] Created: (HARMONY-5756) [classlib][luni][performance] ObjectInputStream must use accessors for instantiating objects

[classlib][luni][performance] ObjectInputStream must use accessors for instantiating objects
--------------------------------------------------------------------------------------------

                 Key: HARMONY-5756
                 URL: https://issues.apache.org/jira/browse/HARMONY-5756
             Project: Harmony
          Issue Type: Improvement
          Components: Classlib
            Reporter: Aleksey Shipilev


This is last issue on moving native methods in OIS to accessors.

This issue: 
 1. moves newInstance to accessors
 2. caches the constructor, so provides the boost

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


[jira] Commented: (HARMONY-5756) [classlib][luni][performance] ObjectInputStream must use accessors for instantiating objects

Posted by "Aleksey Shipilev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590016#action_12590016 ] 

Aleksey Shipilev commented on HARMONY-5756:
-------------------------------------------

RC1 patch does not introduce any new failures on JUnit tests.

> [classlib][luni][performance] ObjectInputStream must use accessors for instantiating objects
> --------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5756
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5756
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Aleksey Shipilev
>         Attachments: cl-OIS-accessors-newInstance-rc1.patch
>
>
> This is last issue on moving native methods in OIS to accessors.
> This issue: 
>  1. moves newInstance to accessors
>  2. caches the constructor, so provides the boost

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


[jira] Updated: (HARMONY-5756) [classlib][luni][performance] ObjectInputStream must use accessors for instantiating objects

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

Aleksey Shipilev updated HARMONY-5756:
--------------------------------------

    Attachment: cl-OIS-accessors-newInstance-rc1.patch

cl-OIS-accessors-newInstance-rc1.patch
Working patch for issue.

Gives +7% boost to MT/SerialBench on 2-core Core2Duo.

JUnit tests are due.

> [classlib][luni][performance] ObjectInputStream must use accessors for instantiating objects
> --------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5756
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5756
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Aleksey Shipilev
>         Attachments: cl-OIS-accessors-newInstance-rc1.patch
>
>
> This is last issue on moving native methods in OIS to accessors.
> This issue: 
>  1. moves newInstance to accessors
>  2. caches the constructor, so provides the boost

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


[jira] Updated: (HARMONY-5756) [classlib][luni][performance] ObjectInputStream must use accessors for instantiating objects

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

Aleksey Shipilev updated HARMONY-5756:
--------------------------------------

    Issue Type: Sub-task  (was: Improvement)
        Parent: HARMONY-5632

> [classlib][luni][performance] ObjectInputStream must use accessors for instantiating objects
> --------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5756
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5756
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: Classlib
>            Reporter: Aleksey Shipilev
>         Attachments: cl-OIS-accessors-newInstance-rc1.patch
>
>
> This is last issue on moving native methods in OIS to accessors.
> This issue: 
>  1. moves newInstance to accessors
>  2. caches the constructor, so provides the boost

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


[jira] Closed: (HARMONY-5756) [classlib][luni][performance] ObjectInputStream must use accessors for instantiating objects

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

Aleksey Shipilev closed HARMONY-5756.
-------------------------------------


Thanks, Tony!

> [classlib][luni][performance] ObjectInputStream must use accessors for instantiating objects
> --------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5756
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5756
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: Classlib
>            Reporter: Aleksey Shipilev
>            Assignee: Tony Wu
>             Fix For: 5.0M6
>
>         Attachments: cl-OIS-accessors-newInstance-rc1.patch
>
>
> This is last issue on moving native methods in OIS to accessors.
> This issue: 
>  1. moves newInstance to accessors
>  2. caches the constructor, so provides the boost

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


[jira] Reopened: (HARMONY-5756) [classlib][luni][performance] ObjectInputStream must use accessors for instantiating objects

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

Alexey Varlamov reopened HARMONY-5756:
--------------------------------------


> [classlib][luni][performance] ObjectInputStream must use accessors for instantiating objects
> --------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5756
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5756
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: Classlib
>            Reporter: Aleksey Shipilev
>            Assignee: Tony Wu
>             Fix For: 5.0M6
>
>         Attachments: cl-OIS-accessors-newInstance-rc1.patch
>
>
> This is last issue on moving native methods in OIS to accessors.
> This issue: 
>  1. moves newInstance to accessors
>  2. caches the constructor, so provides the boost

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


[jira] Resolved: (HARMONY-5756) [classlib][luni][performance] ObjectInputStream must use accessors for instantiating objects

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

Tony Wu resolved HARMONY-5756.
------------------------------

    Resolution: Fixed

Reverted at r650024.

> [classlib][luni][performance] ObjectInputStream must use accessors for instantiating objects
> --------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5756
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5756
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: Classlib
>            Reporter: Aleksey Shipilev
>            Assignee: Tony Wu
>             Fix For: 5.0M6
>
>         Attachments: cl-OIS-accessors-newInstance-rc1.patch
>
>
> This is last issue on moving native methods in OIS to accessors.
> This issue: 
>  1. moves newInstance to accessors
>  2. caches the constructor, so provides the boost

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


[jira] Assigned: (HARMONY-5756) [classlib][luni][performance] ObjectInputStream must use accessors for instantiating objects

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

Tony Wu reassigned HARMONY-5756:
--------------------------------

    Assignee: Tony Wu

> [classlib][luni][performance] ObjectInputStream must use accessors for instantiating objects
> --------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5756
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5756
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: Classlib
>            Reporter: Aleksey Shipilev
>            Assignee: Tony Wu
>         Attachments: cl-OIS-accessors-newInstance-rc1.patch
>
>
> This is last issue on moving native methods in OIS to accessors.
> This issue: 
>  1. moves newInstance to accessors
>  2. caches the constructor, so provides the boost

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


[jira] Resolved: (HARMONY-5756) [classlib][luni][performance] ObjectInputStream must use accessors for instantiating objects

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

Tony Wu resolved HARMONY-5756.
------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0M6

it has been integrated at r649457 and r649459. I failed to commit in
one run because of a "RA layer request failed".

> [classlib][luni][performance] ObjectInputStream must use accessors for instantiating objects
> --------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5756
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5756
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: Classlib
>            Reporter: Aleksey Shipilev
>            Assignee: Tony Wu
>             Fix For: 5.0M6
>
>         Attachments: cl-OIS-accessors-newInstance-rc1.patch
>
>
> This is last issue on moving native methods in OIS to accessors.
> This issue: 
>  1. moves newInstance to accessors
>  2. caches the constructor, so provides the boost

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


[jira] Commented: (HARMONY-5756) [classlib][luni][performance] ObjectInputStream must use accessors for instantiating objects

Posted by "Aleksey Shipilev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590386#action_12590386 ] 

Aleksey Shipilev commented on HARMONY-5756:
-------------------------------------------

Tony, there is some unimportant garbage in my patch...
This one: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/ObjectAccessor.java?p2=%2Fharmony%2Fenhanced%2Fclasslib%2Ftrunk%2Fmodules%2Fmisc%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fharmony%2Fmisc%2Faccessors%2FObjectAccessor.java&p1=%2Fharmony%2Fenhanced%2Fclasslib%2Ftrunk%2Fmodules%2Fmisc%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fharmony%2Fmisc%2Faccessors%2FObjectAccessor.java&r1=649459&r2=649458&view=diff&pathrev=649459

...should be reverted.

> [classlib][luni][performance] ObjectInputStream must use accessors for instantiating objects
> --------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5756
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5756
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: Classlib
>            Reporter: Aleksey Shipilev
>            Assignee: Tony Wu
>             Fix For: 5.0M6
>
>         Attachments: cl-OIS-accessors-newInstance-rc1.patch
>
>
> This is last issue on moving native methods in OIS to accessors.
> This issue: 
>  1. moves newInstance to accessors
>  2. caches the constructor, so provides the boost

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