Refactor of multithreading compiler.  This splits the logic out into new classes to get it out of the main GWTCompiler class.  It also uses java.util.concurrency instead of primitive locks, so it should be a bit easier to determine what's going on.

Lex's reservations / TODO items:
- The OOM memory handling is still pretty complicated, it feels like there must be a more clear way to organize this to be sure we're hitting all the cases correctly.
- The heuristic really needs more work to better estimate actual memory usage.

Review by: spoon (see notes)


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@3349 8db76d5a-ed1c-0410-87a9-c151d255dfc7
5 files changed