Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 92746 invoked from network); 22 Oct 2007 18:16:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Oct 2007 18:16:11 -0000 Received: (qmail 51853 invoked by uid 500); 22 Oct 2007 18:15:59 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 51838 invoked by uid 500); 22 Oct 2007 18:15:59 -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 51829 invoked by uid 99); 22 Oct 2007 18:15:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2007 11:15:59 -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; Mon, 22 Oct 2007 18:16:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9ADAF714187 for ; Mon, 22 Oct 2007 11:15:50 -0700 (PDT) Message-ID: <28367675.1193076950615.JavaMail.jira@brutus> Date: Mon, 22 Oct 2007 11:15:50 -0700 (PDT) From: "Pavel Afremov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-4991) [drlvm][jit][opt] Fix compressed references support for heaps up to 4Gb In-Reply-To: <13714577.1193051330585.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-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536780 ] Pavel Afremov commented on HARMONY-4991: ---------------------------------------- Oh no. Strange crash in default mixed mode. I am evaluate it tomorow. > [drlvm][jit][opt] Fix compressed references support for heaps up to 4Gb > ----------------------------------------------------------------------- > > Key: HARMONY-4991 > URL: https://issues.apache.org/jira/browse/HARMONY-4991 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: Linux x86-64 & Windows x86-64 > Reporter: Pavel Afremov > Assignee: Alexey Varlamov > Priority: Critical > Attachments: H4991.diff, HeapTest.java > > > I tried to run DRL VM in OPT mode with patch from HARMONY-4982 . The result is sigsegv in jited code. > at java.lang.AbstractStringBuilder.append0() > (Ln 168, ...\classlib\modules\luni\src\main\java\java\lang\AbstractStringBuilder.java " if (newSize > value.length) {") > at HeapTest.func() > (Ln 15, .\HeapTest.java " System.out.println("iteration " + i);") > at HeapTest.main() > (Ln 6, .\HeapTest.java " test.func();") > The source of it is incorrect signed extension of 32 bit value to 64 bit register (see attached assembly code 0000000005967D4A ). > 0000000005967D47 mov eax,dword ptr [rbx+8] > 0000000005967D4A movsxd rax,eax > 0000000005967D4D mov rsi,7FFF0000h > 0000000005967D57 mov r12,rax > 0000000005967D5A add r12,rsi > 0000000005967D5D mov qword ptr [rsp],r12 > 0000000005967D61 mov rax,7FFF0000h > 0000000005967D6B cmp r12,rax > 0000000005967D6E je 0000000005967E05 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.