Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 804 invoked from network); 26 Jul 2007 12:54:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jul 2007 12:54:03 -0000 Received: (qmail 22433 invoked by uid 500); 26 Jul 2007 12:54:03 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 22415 invoked by uid 500); 26 Jul 2007 12:54:03 -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 22337 invoked by uid 99); 26 Jul 2007 12:54:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2007 05:54:03 -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; Thu, 26 Jul 2007 05:54:01 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8298F714163 for ; Thu, 26 Jul 2007 05:53:40 -0700 (PDT) Message-ID: <22361527.1185454420530.JavaMail.jira@brutus> Date: Thu, 26 Jul 2007 05:53:40 -0700 (PDT) From: "Vladimir Strigun (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-4549) [drlvm][jit][opt][perf]throwing/catching exceptions works slowly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [drlvm][jit][opt][perf]throwing/catching exceptions works slowly ---------------------------------------------------------------- Key: HARMONY-4549 URL: https://issues.apache.org/jira/browse/HARMONY-4549 Project: Harmony Issue Type: Bug Components: DRLVM Reporter: Vladimir Strigun The test below shows that exception throwing/catching operations works slower on Harmony in comparison win Sun. Results of test execution: java client: 1200 msec java server: 1000 harmony server: 5700 msec Small test: public class TestExceptions { public static void main(String[] args) { //warmup VM first tryRaiseExceptions(1); long start = System.currentTimeMillis(); tryRaiseExceptions(1000000); long res = System.currentTimeMillis() -start; System.out.println("completed in "+res+" msec"); } public static void tryRaiseExceptions(int n) { for(int i=0; i