Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 19050 invoked from network); 30 Apr 2008 22:26:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Apr 2008 22:26:37 -0000 Received: (qmail 38251 invoked by uid 500); 30 Apr 2008 22:26:27 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 38186 invoked by uid 500); 30 Apr 2008 22:26:27 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 38168 invoked by uid 99); 30 Apr 2008 22:26:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2008 15:26:27 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ilya.berezhniuk@gmail.com designates 72.14.220.152 as permitted sender) Received: from [72.14.220.152] (HELO fg-out-1718.google.com) (72.14.220.152) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2008 22:25:43 +0000 Received: by fg-out-1718.google.com with SMTP id d23so327521fga.36 for ; Wed, 30 Apr 2008 15:25:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=pz6Mh0e28eb5y9GK0/77HQk0VPQHnXk3RyliuJZcxWk=; b=THHEu4m7QYbm9mHHqjoiTYLEmC9yi0SmlFOrBknlewl1cUgFaESbdk+BFGTjkE8jtu3D1ivhDDTo/c78dtdWy2j0pmSthy+obWfRC+RsljSSD6A+Px8mF9vTOaiqwqmvdmWtTBIRBLi7SvnBmsRIYPBGIs4K6gF7g2y6Dyl0/tM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=IjA+zDW4SBCDF5oliG2gHyul9cr+htWvNtLB1X/v19psSkf5gZBWusHg26F5xshlu5OTDbzZWMwkLtTjO8SenRGRzssT2lwDfZvWowsu5uH1cmnvJM0woXnMTEm5T5Rl0CgZOf9z5CYeP7yDqfxhHfLINTjRJ2Gg/6yP+p0PpeU= Received: by 10.86.99.9 with SMTP id w9mr1646298fgb.53.1209594355812; Wed, 30 Apr 2008 15:25:55 -0700 (PDT) Received: by 10.86.97.13 with HTTP; Wed, 30 Apr 2008 15:25:55 -0700 (PDT) Message-ID: <5ce835490804301525q63c1056flce73307254fc9edb@mail.gmail.com> Date: Thu, 1 May 2008 02:25:55 +0400 From: "Ilya Berezhniuk" To: dev@harmony.apache.org Subject: [drlvm][build] Duplicated Hythread library in DRLVM build MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi all, Recently I've found that DRLVM build contains two copies of DRLVM's Hythread. build.xml contains the task to copy *hythr* from default/ to bin/. AFAIU, this is done to replace Classlib's Hythread, but I can't understand why Hythread is copied, not moved. Why do we need Hythread in default/ ? Does anyone know a reason? Probably some special usecases like plugins need this?.. I experimented a bit. On Windows, hythr.dll from default/ is not used at all when VM is started by launcher; the instance from bin/ is used because it is loaded first. On Linux, when LD_LIBRARY_PATH is not set, the launcher loads libhythr.so from bin/, then after fork() with LD_LIBRARY_PATH set the instance from default/ is loaded. On the other hand, bin/ is also in LD_LIBRARY_PATH, so libhythr.so is successfully loaded from bin/ when deleted from default/. All the DRLVM tests, as well as EHWA, pass with Hythread in bin/ only. I've opened HARMONY-5800 for this issue. If anyone knows the reason for two Hythreads, please speak up - I'll close the issue. Thanks, Ilya.