From owner-freebsd-java@freebsd.org Sat Jul 18 00:50:54 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 CDB7237418A for ; Sat, 18 Jul 2020 00:50:54 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) (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 4B7qDF67Yvz4mT6 for ; Sat, 18 Jul 2020 00:50:53 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by mail-oi1-x22f.google.com with SMTP id k22so9511924oib.0 for ; Fri, 17 Jul 2020 17:50:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chen-org-nz.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=CwVCqLPWRh+VBL8iOZUah7qEtaJMfJmmUywuO7EMIgs=; b=lr09k66c9p2Z2Bo6Z6Vz6ktoohGe1mwVJ0tpblGt7/tFvMVKeBuNdCu6eFpktf7UXT sv09SBaIhoPKqdZTq/yDTPnpUkVHTEw+c5innaJiBEZGRgmVqZ85Fqr1hln+Q6cLEhRe XaO8zinQfQImZ8kaCjNUwz0s7N1JCzySIo83dzYHt+mHqM7GYT7GE3Z9Yxc4uunZX3KF eNpgYrIygDCgNLJB305YezZCG8sqLI+AI1Ds14iRz3csxBOqGb1p6zrWEmWaNUJE0a4F JUZz2exNJw8FYMyaiOh90T36OFNni/GC3zvY4Sbo3cATtHkonLeAlmzNJLhkOdbEGfy+ ej6Q== 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:content-transfer-encoding; bh=CwVCqLPWRh+VBL8iOZUah7qEtaJMfJmmUywuO7EMIgs=; b=gCw1d2MDbe1tpVX7mGIp1mOdrPv4OuQhLlLH2Yi5n0RXfFhvJnWijzWLr56xt3EPXi SArlJC2eQee5hap3YrDdNJG0bRDYd1TAPZIutEz3KbfBWJ+aTsDH1laU1Gl4tdczIAUw FB6wy8IHZbnsFnJWmxpbX7II+Jl5iZ+VB2aBSghxacjSMd9xWMae5WWSAJYbaNVUvYWX DRs5Jt56mHwYCjb6FyVhNy226zw+8AiZHh8jN6NTTb6+E5QW1r8n6ypuiEHHRPDKMJ7Z YOdufxxW8WCgyF1VKGt6VD9nmsEyVeY6ZP9StfPMo1b2OrUexE2HC2sWi36Zh47UHaXw GXYA== X-Gm-Message-State: AOAM531aT9fHi0q1LpBY8ynnIDKDMyh7g8c9giJlRK4nFa5u0tU4tsih 28qaNmGcW/AxArfT0z7h8EP/eQcSBYCY+NGw2wzKXA== X-Google-Smtp-Source: ABdhPJztnX0ICkM24ZMd4c2VXOpVMbYJZmrYnQe8u+00MjnvRe4zLxB9sJeeRvLcmbjhE7Iam+NLDdwoqwEFX5Y2KAU= X-Received: by 2002:a05:6808:4c8:: with SMTP id a8mr9044775oie.150.1595033452217; Fri, 17 Jul 2020 17:50:52 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Chen Date: Sat, 18 Jul 2020 12:50:36 +1200 Message-ID: Subject: Re: OT: support for multicore javac? To: Aryeh Friedman Cc: freebsd-java@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4B7qDF67Yvz4mT6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=chen-org-nz.20150623.gappssmtp.com header.s=20150623 header.b=lr09k66c; dmarc=none; spf=softfail (mx1.freebsd.org: 2607:f8b0:4864:20::22f is neither permitted nor denied by domain of jonc@chen.org.nz) smtp.mailfrom=jonc@chen.org.nz X-Spamd-Result: default: False [-2.09 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.974]; R_DKIM_ALLOW(-0.20)[chen-org-nz.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.98)[-0.981]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-java@freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[chen.org.nz]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[chen-org-nz.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::22f:from]; NEURAL_HAM_SHORT(-0.83)[-0.833]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[] 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: Sat, 18 Jul 2020 00:50:54 -0000 On Sat, 18 Jul 2020 at 12:31, Aryeh Friedman wro= te: >> 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. > > I don't use eclipse or any IDE and many people other users don't also. = All this is done by eclipse not the command line tools and people who work = with them need good support for them (see the README in sjavac... https://= github.com/weetmuts/sjavac ... as to the reasons for not using an IDE see h= ttps://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D31816+0+current/freebsd-ques= tions > My statement should be re-phrased as: When I'm building the eclipse port from the command line, with maven, each javac invocation spreads the work over multiple cores. You can easily view this with "top -H". Cheers. --=20 Jonathan Chen