Hi,
I have some big projects (with about 500 views) which their web-mode compilation was working with GWT 2.7 and their compilation were completed in about 3 minutes.
After upgrading GWT to 2.8-RC2, their web-mode compilation were not completed after more than 60 minutes and it seems that created an infinite loop.
I traced methods calls in compilation and I think there was a loop in calling JsInliner class.
After adding '-optimize 8' in compiler options (previously there was no -optmize parameter and so it was set to '-optmize 9'), all projects where compiled successfully.
Note that compiler with no -optimize parameter works well in some projects, but do not complete in some big projects.
I compared output JS size in optimization level 8 & 9 and optimization level 8 output JS size was smaller. So I applied '-optimize 8' to all projects.
My question is whats difference between optimization level 8 & 9 and what situations may produce an infinite loop?
Thanks.