From owner-freebsd-java@freebsd.org Fri Jul 17 19:04:21 2020 Return-Path: Delivered-To: freebsd-java@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4E84636C340 for ; Fri, 17 Jul 2020 19:04:21 +0000 (UTC) (envelope-from bdysonsmith@gmail.com) Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B7gXM1j4gz4PJW for ; Fri, 17 Jul 2020 19:04:18 +0000 (UTC) (envelope-from bdysonsmith@gmail.com) Received: by mail-io1-xd30.google.com with SMTP id l1so11501990ioh.5 for ; Fri, 17 Jul 2020 12:04:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZavlYmM98xz3hvzSqcnJNCuNPxKoePRLJ6ixPRJ9W+A=; b=fgiOdHn7t5w92BYg7zfo1GFPQ1kR8CUfXJX9ktjwx9cF19Xxp1DdPLlS0cL4NDxsQw QOiBUtW7XTxzt7QDgsAXJQTYxsrLk+K4S/4TZ3giL77ZCBletfu0GnUK5mlgRUAm3al9 GnfyEMFRc/NK/6xrtpnwxeef2RIMf6OHpWpI6uEiCS5CbTxVQrJXHcM7V1SZzp5cPy93 TeqqmWfq2w79l0BLSfzqT3NrKE8qEwAKp4XbwBD9GYHIM6Mmq6SeIvS3FYhSzLzbEhR5 2QYU3cEPVF1LaTD6PIJpEckeIl8ujUvR3DKqsZzjP6/tXWUaORrbv4sLdQ3M6Q6f97uw WV+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZavlYmM98xz3hvzSqcnJNCuNPxKoePRLJ6ixPRJ9W+A=; b=o4P+YdWoTAQ3MSI51hZQe9Ndg+O6MRc3W6pdn84bo6iv43NIkyGRHM86OCZOrsZgOt 5Zq0XwHNlShXIyqbxNIZqQAuDYdLaq2feOrnYUR8bsp25tIfaY94Z4UefoRcx3zcVOCS Mx4k1KaKrmb6nde8joY/v/vV4fUxHnKe0yXZEI3WZs5hbquS1T71B1fG9tjFN3nR+SN9 rLetFyDyn6I+v3/TIehkcIXo6kYRS4U9+zj4J3gT15zd5i6xMb/7Nj91USBbgW2Arpm+ 2AAckE2o2H3eHWCE9hCI9xpgxOeQCvXDl8wjBclS/fyIiRYO00LgEKDrydi/r5kxunyC RLjw== X-Gm-Message-State: AOAM533pZVJz/MaxcLJe32dRIK68U1tkShRiIg6p/ZUqDOtEWou/Q71Q jvyeZ9Q6n2/DkLVlN/i3eOGQ+9/4UtxKYut8rns= X-Google-Smtp-Source: ABdhPJzTQhvJ043IJ4WVTIXuHAb5qX7imqOxFLGZlOr/FGVxvIA8WQxo0UxkwDY2Uw1F2apck/tlDKeyGlxpLAhWGME= X-Received: by 2002:a6b:7f42:: with SMTP id m2mr10972689ioq.181.1595012657970; Fri, 17 Jul 2020 12:04:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bridger Dyson-Smith Date: Fri, 17 Jul 2020 15:06:35 -0400 Message-ID: Subject: Re: OT: support for multicore javac? To: Aryeh Friedman Cc: freebsd-java@freebsd.org X-Rspamd-Queue-Id: 4B7gXM1j4gz4PJW X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=fgiOdHn7; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of bdysonsmith@gmail.com designates 2607:f8b0:4864:20::d30 as permitted sender) smtp.mailfrom=bdysonsmith@gmail.com X-Spamd-Result: default: False [-2.61 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.60)[-0.596]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.04)[-1.044]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.97)[-0.966]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-java@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d30:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2020 19:04:21 -0000 Hi Aryeh - On Thu, Jul 16, 2020 at 11:35 PM Aryeh Friedman 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 can't pretend to be anything other than an amateurish dabbler in the JVM, but is there any reason you can't simply clone the repository at https://github.com/weetmuts/sjavac and run it? There would probably be some orchestration required, in terms of PATHs, etc, but the repository seems to be relatively straightforward. I hope this is helpful, and apologize if it isn't. > -- > Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org > Best wishes, Bridger > _______________________________________________ > freebsd-java@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" >