Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 18119 invoked from network); 2 Feb 2007 08:08:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Feb 2007 08:08:26 -0000 Received: (qmail 59377 invoked by uid 500); 2 Feb 2007 08:08:31 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 59347 invoked by uid 500); 2 Feb 2007 08:08:30 -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 59338 invoked by uid 99); 2 Feb 2007 08:08:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 00:08:30 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aleksey.ignatenko@gmail.com designates 66.249.82.230 as permitted sender) Received: from [66.249.82.230] (HELO wx-out-0506.google.com) (66.249.82.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 00:08:22 -0800 Received: by wx-out-0506.google.com with SMTP id i26so803819wxd for ; Fri, 02 Feb 2007 00:08:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=rMNo2Z92Zrd1ZwsPA5thNzQSyG4YKdawqRz1DOYXkujGBgUeXA1ZTHFUwmxHUcCwzeZluAExiCNbALXCoOpJFNx/VFDkFG5oCGyNqX4GoYYi1tsoY5u3gbSU3fVv7+kgdfRZZm6NdaK2Ji7RfCtcF5QRrKCrvLYn+APbzOre0fQ= Received: by 10.90.119.15 with SMTP id r15mr4537861agc.1170403681915; Fri, 02 Feb 2007 00:08:01 -0800 (PST) Received: by 10.90.49.9 with HTTP; Fri, 2 Feb 2007 00:08:01 -0800 (PST) Message-ID: <5836de490702020008n3c5535edy3f3b6f2f0fc099cd@mail.gmail.com> Date: Fri, 2 Feb 2007 14:08:01 +0600 From: "Aleksey Ignatenko" To: dev@harmony.apache.org Subject: Re: [DRLVM] 64-bit support with compressed pointer In-Reply-To: <9623c9a50702012330h1d3d58c4o291f18ca993de879@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18795_33159264.1170403681894" References: <9623c9a50702012149w588678f2x5ac5d0d7460625ec@mail.gmail.com> <5836de490702012233u298c2182qa674c9039d26abbe@mail.gmail.com> <9623c9a50702012330h1d3d58c4o291f18ca993de879@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_18795_33159264.1170403681894 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I suppose there is no easy way to do that, but one can scan all places where #ifdef _EM64T_ appears and change appropriate places to something like #ifdef _COMPRESSED_MODE. Plus scan such places like gc_types.h in gc_cc, there is object header: VT32 vt_raw; unsigned info; You need to have VT64 vt_raw; for 64 bit mode. p.s. In some of discussions I read that compressed mode (comparing to uncompressed one) improved performance on about 13% on em64t. On 2/2/07, Xiao-Feng Li wrote: > Yes, that's exactly my question. I couldn't find an easy way to turn > off this compressed-ptr optimization. It's a little bit surprising me. > :-) > > Thanks, > xiaofeng > > On 2/2/07, Aleksey Ignatenko wrote: > > Did you check that it works on 64 bit mode with uncomressed references. > > I remember some time ago there were issues like hard coded compressed > > references used in JIT (or probably somewhere else) in 64bit mode. > > > > Best regards, > > Aleksey. > > > > On 2/2/07, Xiao-Feng Li wrote: > > > > > > Hi, current 64bit support uses compressed reference pointer by > > > default, i.e., a 64bit reference is stored as a 32bit value plus a > > > (global) base address. This can reduce the footprint of working set > > > and at the same time improve cache locality. But this has max heap > > > size limitation. > > > > > > I wonder why not use non-compressed pointer as by default, and the > > > compressed pointer is only an optimization that can be applied when > > > desirable. Comments? > > > > > > Thanks, > > > xiaofeng > > > > > > > > ------=_Part_18795_33159264.1170403681894--