Date: Sat, 18 Jul 2020 10:34:09 +1200 From: Jonathan Chen <jonc@chen.org.nz> To: Aryeh Friedman <aryeh.friedman@gmail.com> Cc: freebsd-java@freebsd.org Subject: Re: OT: support for multicore javac? Message-ID: <CAJuc1zMk2bNt=LbLCx1LvvAi=ip3bqRh1EXnsXUom8CpsvKRKw@mail.gmail.com> In-Reply-To: <CAGBxaXkyNBa7RdK5cbSHH2dm5_7vk-Kb=Tf9gB1x8PpUmQD-rA@mail.gmail.com> References: <CAGBxaXkyNBa7RdK5cbSHH2dm5_7vk-Kb=Tf9gB1x8PpUmQD-rA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 17 Jul 2020 at 15:35, Aryeh Friedman <aryeh.friedman@gmail.com> wrote: > > I have a rather large code base that takes several minutes to compile even > when doing javac `find src -name '*.java'`. SInce I do not use ant or any > other Java based build system (I use devel/cook for many reasons most of > which fit the project much better then ant or the Java only build > systems). I was reading about a program called sjavac (smart-javac) as a > possible way to make javac splatter the compile across multiple cores. It > does not seem to be anywhere in the ports collection (independent or in > connection to another port). Any suggestions on how to get/install it > and/or other ways of making javac use multiple cores? I'm building eclipse, and invocations to javac seem to spread across multiple cores when building with multiple threads using openjdk11; at least that's what "top -H" tells me. I don't see what smart-javac brings to the table. Cheers. -- Jonathan Chen <jonc@chen.org.nz>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zMk2bNt=LbLCx1LvvAi=ip3bqRh1EXnsXUom8CpsvKRKw>