flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Wiart (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-33902) ResourceManager#getInstance should not allocate unneeded memory
Date Wed, 13 Nov 2013 21:23:22 GMT
Benoit Wiart created FLEX-33902:
-----------------------------------

             Summary: ResourceManager#getInstance should not allocate unneeded memory
                 Key: FLEX-33902
                 URL: https://issues.apache.org/jira/browse/FLEX-33902
             Project: Apache Flex
          Issue Type: Improvement
          Components: Performance: Framework
    Affects Versions: Apache Flex 4.11.0
         Environment: all
            Reporter: Benoit Wiart
            Priority: Minor


ResourceManager#getInstance allocates unneeded memory each time it's called.
it's a tiny allocation but with a lot of calls

it comes from the closure in the catch, the compiler is not smart enought ; the closure is
created even if this part of the code is not executed



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message