Monday, June 24, 2013

AstDumper is not giving consistent dumps

  I am using the arrgument -Dgwt.jjs.dumpAst to dump the AST during GWT compile.
  I am trying to understand which of the GWT modules we are using are causing the AST to become larger.
  However, each time I run it with the same list of GWT modules, the dump is different. I tried with running it with "-localWorkers 1" as argument to the compiler so that I get consistent results, but still the ASTs are different.
  For example,  the same class gets printed multiple times
class A extends B{
class A extends B{
final class A extends B{
  Sometimes it gets printed 3 times, sometimes 4 etc., not consistent. I see that the last one is kind of optimized by removing some of the member variables etc.
  How can I make the output consistent so that I can compare the dumps.

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment