0 Replies Latest reply on Mar 24, 2009 11:47 AM by (Paul_Reilly)

    [svn:fx-i11] 5524: * Implememted a new approach to global SWC cache management.

    Level 1
      Revision: 5524<br />Author:   preilly@adobe.com<br />Date:     2009-03-24 12:47:36 -0700 (Tue, 24 Mar 2009)<br /><br />Log Message:<br />-----------<br />* Implememted a new approach to global SWC cache management.  The new<br />  approach validates each cached CompilationUnit against each of it's<br />  dependencies by checking that the Slot for the dependent type is the<br />  same in both frames.<br /><br />tests Passed: checkintests, performance testsuite,<br />              com.adobe.flexide.project.tests.outputFolder Flex<br />              Builder JUnit with global SWC cache enabled.<br /><br />Needs QA: YES<br /><br />Needs DOC: NO<br /><br />Bug fixes: SDK-20111, SDK-20194<br /><br />API Change: NO<br /><br />Reviewer: Pete F.<br /><br />Code-level description of changes:<br /><br />  compiler_en.properties<br /><br />    Replaced CompilerAPI.DependencyNeedsRecompilation with CompilerAPI.DependencyUpdated.<br /><br />  tools/oem/internal/OEMReport.java<br />  linker/CULinkable.java<br />  linker/ConsoleApplication.java<br />  compiler/Source.java<br />  compiler/asdoc/ASDocExtension.java<br />  compiler/PersistenceStore.java<br />  compiler/abc/AbcCompiler.java<br />  compiler/as3/EmbedEvaluator.java<br />  compiler/as3/EmbedSkinClassEvaluator.java<br />  compiler/as3/managed/ManagedExtension.java<br />  compiler/as3/As3Compiler.java<br />  compiler/as3/StyleEvaluator.java<br />  compiler/as3/HostComponentEvaluator.java<br />  compiler/as3/SyntaxTreeEvaluator.java<br />  compiler/as3/binding/BindableExtension.java<br />  compiler/swc/Swc.java<br />  compiler/mxml/InterfaceCompiler.java<br /><br />    Updated to reflect changes to CompilationUnit's inheritance,<br />    types, namespaces, and expressions.<br /><br />  compiler/CompilationUnit.java<br /><br />    Changed inheritance, types, namespaces, and expressions from<br />    Map<Name, Long> to Set<Name>.<br /><br />  compiler/CompilerSwcContext.java<br /><br />    Moved setting of the SwcScript's cached CompilationUnit from<br />    createSource() to getSource() and modified it to handle multiple<br />    CompilationUnits per SwcScript.<br /><br />  compiler/CompilerAPI.java<br /><br />    Modified validateCompilationUnits() to use<br />    referencesDifferentSlots() instead of comparing last modified<br />    times.<br /><br />    Added referencesDifferentSlots() and removed<br />    updateDependentLastModifiedTimes().<br /><br />  compiler/swc/SwcGroup.java<br /><br />    Updated to handle multiple cached CompilationUnits per SwcScript.<br /><br />  compiler/swc/SwcScript.java<br /><br />    Replaced compilationUnit variable with compilationUnits.<br /><br />    Added clearCompilationUnits(), getCompilationUnit(QName)<br />    getCompilationUnit(String, String), getCompilationUnits(),<br />    putCompilationUnit(QName, CompilationUnit),<br />    putCompilationUnit(String, String, CompilationUnit)<br /><br />Ticket Links:<br />------------<br />    http://bugs.adobe.com/jira/browse/SDK-20111<br />    http://bugs.adobe.com/jira/browse/SDK-20194<br /><br />Modified Paths:<br />--------------<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/compiler/CompilationUnit.java<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/compiler/CompilerAPI.java<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/compiler/CompilerSwcContext.java<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/compiler/PersistenceStore.java<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/compiler/Source.java<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/compiler/abc/AbcCompiler.java<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/compiler/as3/As3Compiler.java<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/compiler/as3/EmbedEvaluator.java<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/compiler/as3/EmbedSkinClassEvaluato r.java<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/compiler/as3/HostComponentEvaluator .java<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/compiler/as3/StyleEvaluator.java<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/compiler/as3/SyntaxTreeEvaluator.ja va<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/compiler/as3/binding/BindableExtens ion.java<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/compiler/as3/managed/ManagedExtensi on.java<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/compiler/asdoc/ASDocExtension.java< br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.jav a<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/compiler/swc/Swc.java<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/compiler/swc/SwcGroup.java<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/compiler/swc/SwcScript.java<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/compiler_en.properties<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/linker/CULinkable.java<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/linker/ConsoleApplication.java<br />    flex/sdk/branches/i11/modules/compiler/src/java/flex2/tools/oem/internal/OEMReport.java