0 Replies Latest reply on Jul 22, 2009 8:18 AM by Paul Reilly

    [svn:fx-trunk] 8734: * Attempt to fix performance testsuite OutOfMemory error and fix

    Paul Reilly Level 1

      Revision: 8734

      Author:   preilly@adobe.com

      Date:     2009-07-22 08:18:09 -0700 (Wed, 22 Jul 2009)

       

      Log Message:

      ***********

      • Attempt to fix performance testsuite OutOfMemory error and fix

        CollapseWhiteSpace regression.

       

      tests Passed: checkintests, performance testsuite

       

      Needs QA: YES

       

      Needs DOC: NO

       

      Bug fixes: SDK-22346

       

      API Change: NO

       

      Reviewer: Peter D.

       

      Cycloner: Gaurav (He found the performance testsuite still to be

                running out of memory, but it's working for me.  I'll turn

                off metadata inheritance and reopen SDK-14251 if it still

                runs out of memory.)

       

      Is noteworthy for integration: NO

       

      Code-level description of changes:

       

        abc/AbcCompiler.java

        as3/As3Compiler.java

       

          Removed duplicated AttrTypeTable constant.

       

          Reverted change to analyze4() made in revision 8682.

       

        as3/reflect/Assignable.java

        as3/reflect/TypeTable.java

       

          Added setTypeTable().

       

        as3/reflect/As3Class.java

       

          Modified setTypeTable() to apply the new TypeTable to each

          variable, method, getter, and setter.

       

        SymbolTable.java

       

          Added TYPE_TABLE constant and clean().

       

        mxml/reflect/TypeTable.java

       

          Changed (mdList != null) checks into (!mdList.isEmpty()).

       

          Updated getMetaDataList() javadoc to document that null is never

          returned and an empty list can be returned.

       

        as3/binding/TypeAnalyzer.java

       

          Modified buildClassInfo() to reset the TypeTable's SymbolTable if

          it's null before looking up SkinPart metadata.

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-22346

          http://bugs.adobe.com/jira/browse/SDK-14251

       

      Modified Paths:

      **************

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/SymbolTable.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/AbcCompiler.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/As3Compiler.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/TypeAnalyzer.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/As3Class.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/Assignable.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/TypeTable.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java