harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Cornwall (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5672) [classlib][pack200] Performance improvements for pack200
Date Mon, 31 Mar 2008 22:32:24 GMT
[classlib][pack200] Performance improvements for pack200

                 Key: HARMONY-5672
                 URL: https://issues.apache.org/jira/browse/HARMONY-5672
             Project: Harmony
          Issue Type: Improvement
          Components: Classlib
         Environment: All Pack200
            Reporter: Andrew Cornwall

This patch does three things:
 - improves ClassConstantPool by caching some objects for O(1) rather than O(n) retrieval
 - caches a String generated by CPNameAndType instead of regenerating it each time
 - short-circuits more CPRef equals() calls

This reduces runtime by about 40%.

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

View raw message