Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 77909 invoked from network); 23 Jan 2008 16:19:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jan 2008 16:19:55 -0000 Received: (qmail 42166 invoked by uid 500); 23 Jan 2008 16:19:45 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 42066 invoked by uid 500); 23 Jan 2008 16:19:45 -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 42057 invoked by uid 99); 23 Jan 2008 16:19:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2008 08:19:45 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Wed, 23 Jan 2008 16:19:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8CCB671420E for ; Wed, 23 Jan 2008 08:19:34 -0800 (PST) Message-ID: <2364326.1201105174574.JavaMail.jira@brutus> Date: Wed, 23 Jan 2008 08:19:34 -0800 (PST) From: "Pavel Afremov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-5084) [drlvm][jit][opt] LightJNI In-Reply-To: <5635276.1194452750664.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-5084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Afremov updated HARMONY-5084: ----------------------------------- Attachment: lightJNI.patch Build on Linux x86-32 was fixed in attached patch. But sometimes VM assert on the following stack: 0: ?? (??:-1) 1: abort (??:-1) 2: __assert_fail (??:-1) 3: vm_get_ip_from_regs(VM_thread*) (thread_manager.cpp:201) 4: general_signal_handler (signals_common.cpp:540) addr2line: '[vdso]': No such file 5: ?? (??:-1) > [drlvm][jit][opt] LightJNI > -------------------------- > > Key: HARMONY-5084 > URL: https://issues.apache.org/jira/browse/HARMONY-5084 > Project: Harmony > Issue Type: New Feature > Components: DRLVM > Environment: Tested on Win32 IA32 platform. I think on IA32 Linux it will be also o.k. > Reporter: Yuri Kashnikoff > Assignee: Mikhail Fursov > Attachments: light_jni.zip, lightJNI.patch > > > This patch adds new pass called "light_jni". This pass eliminates stub calling for some methods which do not need stubbing (they do not use JNIEnv for example). This patch contain some hardcoded names of such methods (all java/lang/Math methods and java/lang/VMThreadManager::currentThread). You can add functions in list using command line param: > -XX:jit.arg.codegen.light_jni.light_jni_methods=ClassName::MethodName,ClassName::MethodName,... > Patch was tested on some microbenchmarks and Dacapo::jython (with n=4). The results for Dacapo::jython look good: > mode on off > server 6700 7800 > client 7200 8000 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.