Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 64645 invoked from network); 4 Dec 2006 15:24:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Dec 2006 15:24:45 -0000 Received: (qmail 91529 invoked by uid 500); 4 Dec 2006 15:24:53 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 91505 invoked by uid 500); 4 Dec 2006 15:24:53 -0000 Mailing-List: contact commits-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 commits@harmony.apache.org Received: (qmail 91496 invoked by uid 99); 4 Dec 2006 15:24:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Dec 2006 07:24:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Dec 2006 07:24:44 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8801E7141E4 for ; Mon, 4 Dec 2006 07:24:24 -0800 (PST) Message-ID: <12275765.1165245864554.JavaMail.jira@brutus> Date: Mon, 4 Dec 2006 07:24:24 -0800 (PST) From: "Eugene S. Ostrovsky (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-2145) [drlvm][jvmti] Compiled Method Load event - inlined method support MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/HARMONY-2145?page=comments#action_12455326 ] Eugene S. Ostrovsky commented on HARMONY-2145: ---------------------------------------------- I've got the point. But "sum of method's instruction sizes" is a kind of information useless for VM. VM needs to know what code. addresses are occupied by the method. E.g. all addresses from codetAddr to codetAddr + codeSizze -1. It is ok for VM if further inlined methods' code is also inside this region. Is it possible for JIT to report codeSize in this sense? > [drlvm][jvmti] Compiled Method Load event - inlined method support > ------------------------------------------------------------------ > > Key: HARMONY-2145 > URL: http://issues.apache.org/jira/browse/HARMONY-2145 > Project: Harmony > Issue Type: New Feature > Components: DRLVM > Reporter: Eugene S. Ostrovsky > Assigned To: Gregory Shimansky > Attachments: CompiledMethodLoadEvent_size_fixed.diff, exe_notify_compile_method_load_added.diff, H-2145-Check-inline-regions-consistency.patch, H-2145-JIT-side.patch, H-2145-sendCompiledMethodLoadEvent-tracing.patch, H-2145-VM-Callback-interface.patch, H-2145-VM-support-for-compiled-method-load-events-for-inlined-methods.patch, H-2145_sizes.log, inline_test.zip > > > Current VM doesn't report Compiled Method Load event for methods that are inlined by JIT. > Though spec requires it to be sent for every compiled method: > http://java.sun.com/j2se/1.5.0/docs/guide/jvmti/jvmti.html#CompiledMethodLoad > We need to add some function to interface between VM and JIT in order to let VM know about inlined methods. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira