Reviewers: scottb,

Description:
Emprically, we see a large number (i.e., millions) of NodeContext
objects being created, only a small number (i.e., < 100) of which are
live at any given time.  This patch maintains a small pool, which should
significantly reduce object allocation and GC-ing.  For context,
JProfiler has shown NodeContext.<init> taking over 25% of total time
when compiling AWFE3.

Please review this at http://gwt-code-reviews.appspot.com/34825

Affected files:
   dev/core/src/com/google/gwt/dev/jjs/ast/JModVisitor.java



--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to