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/08/04 16:58:44 UTC

[jira] Created: (HARMONY-5931) [classlib][pack200][performance] Some ClassConstantPool content may not be needed

[classlib][pack200][performance] Some ClassConstantPool content may not be needed
---------------------------------------------------------------------------------

                 Key: HARMONY-5931
                 URL: https://issues.apache.org/jira/browse/HARMONY-5931
             Project: Harmony
          Issue Type: Improvement
         Environment: Latest pack200
            Reporter: Aleksey Shipilev


ClassConstantPool is one peformance-important component of pack200. This issue reviews the data patterns in ClassConstantPool.

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


[jira] Resolved: (HARMONY-5931) [classlib][pack200][performance] Some ClassConstantPool content may not be needed

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

Sian January resolved HARMONY-5931.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0M8

Applied bytecode patch at r689427.  Please check that it was applied as you expected.

> [classlib][pack200][performance] Some ClassConstantPool content may not be needed
> ---------------------------------------------------------------------------------
>
>                 Key: HARMONY-5931
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5931
>             Project: Harmony
>          Issue Type: Improvement
>         Environment: Latest pack200
>            Reporter: Aleksey Shipilev
>            Assignee: Sian January
>             Fix For: 5.0M8
>
>         Attachments: pack200-ccp-bytecode-v1.patch, pack200-ccp-profiler.patch
>
>
> ClassConstantPool is one peformance-important component of pack200. This issue reviews the data patterns in ClassConstantPool.

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


[jira] Updated: (HARMONY-5931) [classlib][pack200][performance] Some ClassConstantPool content may not be needed

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

Aleksey Shipilev updated HARMONY-5931:
--------------------------------------

    Attachment: pack200-ccp-profiler.patch

pack200-ccp-profiler.patch
The profiler.

On 5x7 JDT unpacking scenario the output is following:
====================================================
16690694 org.apache.harmony.unpack200.bytecode.ByteCode
12761804 org.apache.harmony.unpack200.bytecode.CPUTF8
3568564 org.apache.harmony.unpack200.bytecode.CPNameAndType
2565464 org.apache.harmony.unpack200.bytecode.CPMethodRef
1932419 org.apache.harmony.unpack200.bytecode.CPClass
1075584 org.apache.harmony.unpack200.bytecode.CPMethod
1049894 org.apache.harmony.unpack200.bytecode.CodeAttribute
1049894 org.apache.harmony.unpack200.bytecode.LineNumberTableAttribute
1049894 org.apache.harmony.unpack200.bytecode.LocalVariableTableAttribute
706964 org.apache.harmony.unpack200.bytecode.CPFieldRef
692859 org.apache.harmony.unpack200.bytecode.CPField
674274 org.apache.harmony.unpack200.bytecode.CPInterfaceMethodRef
348319 org.apache.harmony.unpack200.bytecode.CPString
143569 org.apache.harmony.unpack200.bytecode.SourceFileAttribute
115534 org.apache.harmony.unpack200.bytecode.ConstantValueAttribute
100904 org.apache.harmony.unpack200.bytecode.InnerClassesAttribute
77734 org.apache.harmony.unpack200.bytecode.NewAttribute
40844 org.apache.harmony.unpack200.bytecode.ExceptionsAttribute
38499 org.apache.harmony.unpack200.bytecode.CPInteger
19109 org.apache.harmony.unpack200.bytecode.CPLong
7279 org.apache.harmony.unpack200.bytecode.DeprecatedAttribute
769 org.apache.harmony.unpack200.bytecode.CPDouble
629 org.apache.harmony.unpack200.bytecode.CPFloat

> [classlib][pack200][performance] Some ClassConstantPool content may not be needed
> ---------------------------------------------------------------------------------
>
>                 Key: HARMONY-5931
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5931
>             Project: Harmony
>          Issue Type: Improvement
>         Environment: Latest pack200
>            Reporter: Aleksey Shipilev
>         Attachments: pack200-ccp-profiler.patch
>
>
> ClassConstantPool is one peformance-important component of pack200. This issue reviews the data patterns in ClassConstantPool.

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


[jira] Updated: (HARMONY-5931) [classlib][pack200][performance] Some ClassConstantPool content may not be needed

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

Aleksey Shipilev updated HARMONY-5931:
--------------------------------------

    Attachment: pack200-ccp-bytecode-v1.patch

pack200-ccp-bytecode-v1.patch
Omitting ByteCode from ClassConstantPool. This change is to be discussed on dev@.

Does not break JUnit tests for pack200.
Gives +40% (!) boost on unpacking scenario.



> [classlib][pack200][performance] Some ClassConstantPool content may not be needed
> ---------------------------------------------------------------------------------
>
>                 Key: HARMONY-5931
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5931
>             Project: Harmony
>          Issue Type: Improvement
>         Environment: Latest pack200
>            Reporter: Aleksey Shipilev
>         Attachments: pack200-ccp-bytecode-v1.patch, pack200-ccp-profiler.patch
>
>
> ClassConstantPool is one peformance-important component of pack200. This issue reviews the data patterns in ClassConstantPool.

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


[jira] Assigned: (HARMONY-5931) [classlib][pack200][performance] Some ClassConstantPool content may not be needed

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

Sian January reassigned HARMONY-5931:
-------------------------------------

    Assignee: Sian January

> [classlib][pack200][performance] Some ClassConstantPool content may not be needed
> ---------------------------------------------------------------------------------
>
>                 Key: HARMONY-5931
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5931
>             Project: Harmony
>          Issue Type: Improvement
>         Environment: Latest pack200
>            Reporter: Aleksey Shipilev
>            Assignee: Sian January
>         Attachments: pack200-ccp-bytecode-v1.patch, pack200-ccp-profiler.patch
>
>
> ClassConstantPool is one peformance-important component of pack200. This issue reviews the data patterns in ClassConstantPool.

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


[jira] Closed: (HARMONY-5931) [classlib][pack200][performance] Some ClassConstantPool content may not be needed

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

Aleksey Shipilev closed HARMONY-5931.
-------------------------------------


Thanks, Sian!
Applied as expected.

> [classlib][pack200][performance] Some ClassConstantPool content may not be needed
> ---------------------------------------------------------------------------------
>
>                 Key: HARMONY-5931
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5931
>             Project: Harmony
>          Issue Type: Improvement
>         Environment: Latest pack200
>            Reporter: Aleksey Shipilev
>            Assignee: Sian January
>             Fix For: 5.0M8
>
>         Attachments: pack200-ccp-bytecode-v1.patch, pack200-ccp-profiler.patch
>
>
> ClassConstantPool is one peformance-important component of pack200. This issue reviews the data patterns in ClassConstantPool.

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