For completeness and internet posterity, this issue produced the following ticket and resolution: http://dev.clojure.org/jira/browse/CLJ-1620
On Thursday, December 18, 2014 9:16:06 AM UTC-6, Alex Miller wrote: > > The problem is in the static initializer (which is gigantic), not the > particular 2-liner, which is being called when the class loads. > > Here's the disassembled bytecode: > https://gist.github.com/puredanger/40dd3ec22fdb5836d1eb > > On a first pass through it's not obvious to me what's causing the bloat > but thought this would be useful if others are looking... > > > On Thursday, December 18, 2014 8:22:11 AM UTC-6, Laurent PETIT wrote: >> >> Hello, >> >> A Counterclockwise user reports that it cannot use the IBM Rational tool >> with Counterclockwise. >> >> The error is that a function, in a counterclockwise namespace, cannot be >> compiled, because one of its method size is too large. >> >> The function is a 2 liner, accessing a java static method via interop. >> >> The resulting class file is indeed quite big, 497kb, and it seems to >> contain a huuuuge static initializer embedding lots of things. >> >> I have tweaked the clojure compiler so the class file is saved on disk >> even though it's not AOT compilation that's involved. >> >> You can find the file at the following URL: >> http://updatesite.ccw-ide.org/bug/eclipse$goto_editor_line.class >> >> I really don't understand what's happening, and why the problem occurs >> only within the IBM environment. >> >> >> -- >> Laurent Petit >> > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
