[ https://issues.apache.org/jira/browse/HARMONY-5672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sian January resolved HARMONY-5672.
-----------------------------------
Resolution: Fixed
Fix Version/s: 5.0M6
Thanks Andrew - that's a really noticable improvement. Applied a slightly modified patch
at r643321. I've removed some commented out code from the original patch - hope that's ok.
> [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
> Assignee: Sian January
> Fix For: 5.0M6
>
> Attachments: main.patch
>
>
> 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.
|