incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <>
Subject Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )
Date Sun, 30 Dec 2012 05:01:56 GMT

On 12/29/12 8:52 AM, "Michael Schmalle" <> wrote:

> I know when I wrote ASDoc, I was able to resolve everything but I used
> the MXML compiler as a base. I just need to really understand what is
> going on now. I takled the multithreading in FalconJx, but when I
> debug, the multithreading is over after;
>                  final File outputFolder = new File(outputFile.getParent());
>                  List<ICompilationUnit> reachableCompilationUnits = project
>                          .getReachableCompilationUnitsInSWFOrder(ImmutableSet
>                                  .of(mainCU));
> Once this returns I swear it's synced back on 1 thread. After that
> call I loop through all reachable units and produce .js files for each.
Interesting.  I agree by the time you get here we're back on one thread.
But I'm pretty sure the reducers and emitters have been called at least for
some threads by then.

I hadn't noticed that was when you were starting your tree walk for
FalconJx.  I thought you were walking in response to the abcbytes request,
but I'm pretty sure when I'm debugging FalconJS, that happens while many
threads are spinning.

Alex Harui
Flex SDK Team
Adobe Systems, Inc.

View raw message