gwt /
gwt /
351e5832e16feddd33d900ce1d30f5d275b400cc Implements "-XshardPrecompile" for sharding the precompilation.
When enabled, Precompile merely counts the number of permutations, and all the real work happens during CompilePerms. This net result is more work is done, but if enough processors can run perms in parallel, a compile can finish faster in wall time.
Traditionally, peak memory use (and therefore OutOfMemoryError) tends occur while Precompiling many permutations; enabling precompile sharding will greatly reduce peak memory requirements.
Patch by: spoon
Review by: me
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@6501 8db76d5a-ed1c-0410-87a9-c151d255dfc7
13 files changed