Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 27755 invoked from network); 31 Oct 2007 02:51:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Oct 2007 02:51:14 -0000 Received: (qmail 65888 invoked by uid 500); 31 Oct 2007 02:51:00 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 65865 invoked by uid 500); 31 Oct 2007 02:51:00 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 65852 invoked by uid 99); 31 Oct 2007 02:50:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2007 19:50: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; Wed, 31 Oct 2007 02:51:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 457DF7141FE for ; Tue, 30 Oct 2007 19:50:51 -0700 (PDT) Message-ID: <15585931.1193799051281.JavaMail.jira@brutus> Date: Tue, 30 Oct 2007 19:50:51 -0700 (PDT) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-921) Support 32bit branch offsets for conditional logic in generated code. In-Reply-To: <2127721550.1138997613255.JavaMail.jira@ajax.apache.org> 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/DERBY-921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden updated DERBY-921: --------------------------------- Fix Version/s: 10.1.3.2 > Support 32bit branch offsets for conditional logic in generated code. > --------------------------------------------------------------------- > > Key: DERBY-921 > URL: https://issues.apache.org/jira/browse/DERBY-921 > Project: Derby > Issue Type: Sub-task > Components: Services, SQL > Reporter: Daniel John Debrunner > Assignee: Daniel John Debrunner > Priority: Minor > Fix For: 10.1.3.2, 10.2.1.6 > > > Conditionals in generated code (MethodBuilder.conditionalIf and conditionalIfNull) generate code that only supports 16 bit jump offsets for the branch opcode (e.g. IFNONNULL) or the GOTO opcode. Earlier code now detects the offset being larger than 32767. > The JVM supports a 32bit jump offset instruction, GOTO_W, this can be used to support jump offsets that are bigger than 16bits (32767) for both the branch opcode > and the GOTO instruction. > This allow increasing the number of logical operators as seen in the query in the largeCodeGen test. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.