Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 40392 invoked from network); 13 Apr 2007 16:35:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Apr 2007 16:35:36 -0000 Received: (qmail 30180 invoked by uid 500); 13 Apr 2007 16:35:42 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 30160 invoked by uid 500); 13 Apr 2007 16:35:42 -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 30151 invoked by uid 99); 13 Apr 2007 16:35:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 09:35:42 -0700 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; Fri, 13 Apr 2007 09:35:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 95E74714080 for ; Fri, 13 Apr 2007 09:35:15 -0700 (PDT) Message-ID: <12349539.1176482115611.JavaMail.jira@brutus> Date: Fri, 13 Apr 2007 09:35:15 -0700 (PDT) From: "Rana Dasgupta (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-3626) [drlvm][jit][opt][em64t] Managed<->Unmanaged data conversion check fails on double->int convertion helper In-Reply-To: <7193319.1176301592401.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-3626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488710 ] Rana Dasgupta commented on HARMONY-3626: ---------------------------------------- Thanks Mikhail. This patch is ready for commit. > [drlvm][jit][opt][em64t] Managed<->Unmanaged data conversion check fails on double->int convertion helper > --------------------------------------------------------------------------------------------------------- > > Key: HARMONY-3626 > URL: https://issues.apache.org/jira/browse/HARMONY-3626 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Reporter: Mikhail Fursov > Attachments: complete_diff_1.patch, vm_jit_interface.patch, vm_jit_interface2.patch > > > GCMap in Jitirno.OPT uses special algorithm to check that managed object does not cross suspension point (call site) as unmanaged opnd. > Algorithm description: if some value is represented as unmanaged pointer and crosses suspension point it must never be assigned to/from managed pointer. > The problem: > Jitrino.OPT doesn't know if vm-helper is a suspension point or not. HLO optimizations can move some ops that are treated as vm-helper-calls in CG and put vm-helper call into managed<->unmanaged conversion sensitive area (example: allocation helper which is inlined in server mode). > Actually these helper calls are not suspension points and HLO does nothing wrong, but CG does not know which vm-helper is suspension point and which is not. > Today I've got 'jess' benchmark crashed in server mode because of d2i conversion helper moved by 'gcm' into the middle of the inlined object allocation helper. > Proposal: add JIT<->VM interface to request if vmhelper is gcpoint or not. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.