From kato-spec-return-200-apmail-incubator-kato-spec-archive=incubator.apache.org@incubator.apache.org Wed Jul 01 10:15:34 2009 Return-Path: Delivered-To: apmail-incubator-kato-spec-archive@minotaur.apache.org Received: (qmail 73295 invoked from network); 1 Jul 2009 10:15:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Jul 2009 10:15:34 -0000 Received: (qmail 71930 invoked by uid 500); 1 Jul 2009 10:15:44 -0000 Delivered-To: apmail-incubator-kato-spec-archive@incubator.apache.org Received: (qmail 71895 invoked by uid 500); 1 Jul 2009 10:15:44 -0000 Mailing-List: contact kato-spec-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: kato-spec@incubator.apache.org Delivered-To: mailing list kato-spec@incubator.apache.org Received: (qmail 71884 invoked by uid 99); 1 Jul 2009 10:15:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 10:15:44 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.18.98.31] (HELO brmea-mail-1.sun.com) (192.18.98.31) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 10:15:34 +0000 Received: from fe-amer-09.sun.com ([192.18.109.79]) by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n61AFDFO024576 for ; Wed, 1 Jul 2009 10:15:13 GMT MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) id <0KM300700LS94Y00@mail-amer.sun.com> for kato-spec@incubator.apache.org; Wed, 01 Jul 2009 04:15:13 -0600 (MDT) Received: from [129.150.0.231] ([unknown] [129.150.0.231]) by mail-amer.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) with ESMTPSA id <0KM300E94LTCIM60@mail-amer.sun.com> for kato-spec@incubator.apache.org; Wed, 01 Jul 2009 04:15:13 -0600 (MDT) Date: Wed, 01 Jul 2009 05:15:13 -0500 From: Nicholas Sterling Subject: Re: JavaStackFrame/JavaLocation local variable support In-reply-to: Sender: Nicholas.Sterling@Sun.COM To: kato-spec@incubator.apache.org Message-id: <4A4B3731.8040601@Sun.COM> References: <4A0AC1A2.8070307@stoo.me.uk> <4A119119.7000200@stoo.me.uk> <4A44A5EE.5090008@stoo.me.uk> <4A44E192.60000@stoo.me.uk> <4A4B1EA6.6010900@Sun.COM> User-Agent: Thunderbird 2.0.0.22 (X11/20090608) X-Virus-Checked: Checked by ClamAV on apache.org Bobrovsky, Konstantin S wrote: > Hi Nicholas, > > C2 compiler annotates each safepoint with so-called DebugInfo (serialized together with method's executable image), which records an entire in-lining hierarchy for this particular safepoint, Ah, I'm with you now -- thanks! :^) You're right, something like this is needed for de-optimization. So in general we would be between safepoints, and most call sites are safepoints. If the first safepoint has backtrace a -> b -> c -> d -> e and the second has a -> b -> c -> g -> h -> i we know that they were in a -> b -> c somewhere, but we wouldn't know whether they were still in d or e. Is that right? Nicholas