Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 17473 invoked from network); 26 Oct 2007 00:42:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2007 00:42:14 -0000 Received: (qmail 64301 invoked by uid 500); 26 Oct 2007 00:42:01 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 64273 invoked by uid 500); 26 Oct 2007 00:42:01 -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 64264 invoked by uid 99); 26 Oct 2007 00:42:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Oct 2007 17:42:01 -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, 26 Oct 2007 00:42:12 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3114F714209 for ; Thu, 25 Oct 2007 17:41:51 -0700 (PDT) Message-ID: <4436650.1193359311181.JavaMail.jira@brutus> Date: Thu, 25 Oct 2007 17:41:51 -0700 (PDT) From: "Ilya Berezhniuk (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-5015) [drlvm][jvmti][x86_64] Functions jvmtiGetLocalObject and jvmtiSetLocalObject have to handle compressed references In-Reply-To: <1754276.1193236251539.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-5015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ilya Berezhniuk updated HARMONY-5015: ------------------------------------- Attachment: H-5015.patch Here is the patch. Gregory, please sheck the results. Looks like this patch actually fixes GetValuesTest, SetValuesTest and ThisObjectTest. Also we probably need an approval from JIT guys for JIT part of this patch. > [drlvm][jvmti][x86_64] Functions jvmtiGetLocalObject and jvmtiSetLocalObject have to handle compressed references > ----------------------------------------------------------------------------------------------------------------- > > Key: HARMONY-5015 > URL: https://issues.apache.org/jira/browse/HARMONY-5015 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Reporter: Gregory Shimansky > Priority: Minor > Attachments: H-5015.patch, test.cpp, Test.exp, Test.java > > > Currently these two functions treat references as void* but this isn't true on x86_64 in compressed references mode (currently default). In this mode comparison with NULL has to be done with managed_null, and references have to be uncompressed when taken from JIT stack, compressed when put into JIT stack. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.