----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7122/#review11577 -----------------------------------------------------------
trunk/java/gadgets/src/main/java16/org/apache/shindig/gadgets/rewrite/js/ClosureJsCompiler.java <https://reviews.apache.org/r/7122/#comment24930> Is this what came from the closure code? Can you add some javadoc to make that clear. Maybe also make this protected or have a protected getter so people implementing their own JsCompiler can control the stack size more easily. trunk/java/gadgets/src/main/java16/org/apache/shindig/gadgets/rewrite/js/ClosureJsCompiler.java <https://reviews.apache.org/r/7122/#comment24931> The javadoc for this method states "Disable threads. This is for clients that run on AppEngine and don't have threads." That concerns me, as this is certainly not the case we're in. Is the javadoc incomplete? - Stanton Sievers On Sept. 14, 2012, 11:33 p.m., Henry Saputra wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/7122/ > ----------------------------------------------------------- > > (Updated Sept. 14, 2012, 11:33 p.m.) > > > Review request for shindig, Ryan Baxter and Dan Dumont. > > > Description > ------- > > Disable thread in the closure compiler code since Shindig manage the thread > in the ClosureJSCompiler class via ExecuterService framework. > Otherwise internally the closure compiler create another thread then execute > the compile in that new thread instead > > But we need to create the thread big enough stack to handle the compilation. > Copy the max stack size from the closure compiler code. > > > Diffs > ----- > > > trunk/java/gadgets/src/main/java16/org/apache/shindig/gadgets/rewrite/js/ClosureJsCompiler.java > 1384587 > > Diff: https://reviews.apache.org/r/7122/diff/ > > > Testing > ------- > > Run smoke test with common container with debug sets to false to run the > closure js compiler. > > > Thanks, > > Henry Saputra > >