Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 15275 invoked from network); 12 Feb 2008 08:04:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2008 08:04:51 -0000 Received: (qmail 49232 invoked by uid 500); 12 Feb 2008 08:04:45 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 49218 invoked by uid 500); 12 Feb 2008 08:04: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 49209 invoked by uid 99); 12 Feb 2008 08:04:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Feb 2008 00:04:45 -0800 X-ASF-Spam-Status: No, hits=-2000.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; Tue, 12 Feb 2008 08:04:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0DB20714044 for ; Tue, 12 Feb 2008 00:04:20 -0800 (PST) Message-ID: <13175142.1202803460052.JavaMail.jira@brutus> Date: Tue, 12 Feb 2008 00:04:20 -0800 (PST) From: "Mikhail Fursov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-4785) [drlvm][jit][opt] EHWA asserts on statprof in server_static mode In-Reply-To: <27112470.1189684952665.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-4785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikhail Fursov updated HARMONY-4785: ------------------------------------ Attachment: i3.diff i3.diff: alternative fix for the problem without any performance affect. Description: create loop-to-dispatch mapping before any dangerous opt and use this mapping after the opt to fix infinite loops with pseudothrow insts. Note: this fix rolls back the previous one. > [drlvm][jit][opt] EHWA asserts on statprof in server_static mode > ---------------------------------------------------------------- > > Key: HARMONY-4785 > URL: https://issues.apache.org/jira/browse/HARMONY-4785 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: x86 debug > Reporter: Alexey Varlamov > Assignee: Mikhail Fursov > Attachments: i3.diff, pseudothrow.diff, static.diff > > > sh build.sh -DBUILD_CFG=debug -Dtest.mode=jit -Dtest.vmargs="-Xem:server_static" ehwa.test > [java] java: /export/users2/avarlamo/working_vm/vm/jitrino/src/shared/ControlFlowGraph.cpp:431: bool Jitrino::ControlFlowGraph::isEdgeProfileConsistent(bool, bool, bool): Assertion `doAssert ? false : true' failed. > [java] SIGABRT in VM code. > [java] Stack trace: > [java] 0: ?? (??:-1) > [java] 1: abort (??:-1) > [java] 2: __assert_fail (??:-1) > [java] 3: Jitrino::ControlFlowGraph::isEdgeProfileConsistent(bool, bool, bool) (/export/users2/avarlamo/working_vm/vm/jitrino/src/shared/ControlFlowGraph.cpp:432) > [java] 4: Jitrino::ControlFlowGraph::smoothEdgeProfile() (/export/users2/avarlamo/working_vm/vm/jitrino/src/shared/ControlFlowGraph.cpp:998) > [java] 5: Jitrino::StaticProfiler::estimateGraph(Jitrino::IRManager&, double, bool) (/export/users2/avarlamo/working_vm/vm/jitrino/src/dynopt/StaticProfiler.cpp:259) > [java] 6: Jitrino::StaticProfilerPass::_run(Jitrino::IRManager&) (/export/users2/avarlamo/working_vm/vm/jitrino/src/dynopt/StaticProfiler.cpp:299) > [java] 7: Jitrino::OptPass::run() (/export/users2/avarlamo/working_vm/vm/jitrino/src/optimizer/optpass.cpp:61) > [java] 8: Jitrino::runPipeline(Jitrino::CompilationContext*) (/export/users2/avarlamo/working_vm/vm/jitrino/src/main/Jitrino.cpp:228) > [java] 9: Jitrino::compileMethod(Jitrino::CompilationContext*) (/export/users2/avarlamo/working_vm/vm/jitrino/src/main/Jitrino.cpp:245) > [java] 10: Jitrino::Jitrino::CompileMethod(Jitrino::CompilationContext*) (/export/users2/avarlamo/working_vm/vm/jitrino/src/main/Jitrino.cpp:262) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.