From commitsrobertsjustin@example.org Sat Mar 01 10:47:53 2008 Return-Path: <commitsrobertsjustin@example.org> Delivered-To: robertsjustin@example.org Received: (qmail 92708 invoked from network); 1 Mar 2008 10:47:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Mar 2008 10:47:53 -0000 Received: (qmail 2051 invoked by uid 500); 1 Mar 2008 10:47:48 -0000 Delivered-To: robertsjustin@example.org Received: (qmail 2017 invoked by uid 500); 1 Mar 2008 10:47:48 -0000 Mailing-List: contact robertsjustin@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:robertsjustin@example.org> List-Unsubscribe: <mailto:robertsjustin@example.org> List-Post: <mailto:robertsjustin@example.org> List-Id: <commits.harmony.apache.org> Reply-To: robertsjustin@example.org Delivered-To: mailing list robertsjustin@example.org Received: (qmail 2000 invoked by uid 99); 1 Mar 2008 10:47:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Mar 2008 02:47:47 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Mar 2008 10:47:21 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 5C0B4234C077 for <robertsjustin@example.org>; Sat, 1 Mar 2008 02:46:51 -0800 (PST) Message-ID: <2021419393.1204368411375.JavaMail.jira@brutus> Date: Sat, 1 Mar 2008 02:46:51 -0800 (PST) From: "Egor Pasko (JIRA)" <robertsjustin@example.org> To: robertsjustin@example.org Subject: [jira] Updated: (HARMONY-5356) [drlvm][startup][performance] Delayed recompilation implementation In-Reply-To: <29040872.1198841263037.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-5356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Egor Pasko updated HARMONY-5356: -------------------------------- Description: Now, client JIT chains look like this: chains=chain1,chain2 chain1.jits=JET_CLINIT chain2.jits=JET_DPGO,CD_OPT chain1.filter=+888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4<clinit> chain1.filter=- JET_CLINIT.file=jitrino JET_DPGO.file=jitrino CD_OPT.file=jitrino JET_DPGO.genProfile=EB_PROF EB_PROF.profilerType=EB_PROFILER CD_OPT.useProfile=EB_PROF So, all methods (class initializers) are passing through JET_DPGO with EB_PROF attached and then will be recompiled by CD_OPT. One should note that this will cause concurrency between on-going _recompilation_ and first-time JET compilation. So, if first-time JET compilation speed is important for startup, then we should separate these two processes in time. That is, let's compile all in the bunch with JET and only then start to recompile with OPT. That is, we can either: a. Set the thresholds for EB_PROF such as recompilation would held later b. Introduce new step (e.g. JET_QUICK) which would compile really fast (even without profile) and wait before inducing recompilation. Current architecture of Jitrino requires some profiler to do the notification for traversing the JITs chain, so attached patch introduces dummy DELAY_PROFILER which simply waits desired time. So, we will have: chains=chain1,chain2 chain1.jits=JET_CLINIT chain2.jits=JET_QUICK,JET_DPGO,CD_OPT chain1.filter=+888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4<clinit> chain1.filter=- JET_CLINIT.file=jitrino JET_QUICK.file=jitrino JET_DPGO.file=jitrino CD_OPT.file=jitrino JET_DPGO.genProfile=EB_PROF EB_PROF.profilerType=EB_PROFILER CD_OPT.useProfile=EB_PROF JET_QUICK.genProfile=DL_PROF DL_PROF.profilerType=DL_PROFILER DL_PROF.initialTimeout=0 DL_PROF.delayTimeout=100 was: Now, client JIT chains look like this: chains=chain1,chain2 chain1.jits=JET_CLINIT chain2.jits=JET_DPGO,CD_OPT chain1.filter=+888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4<clinit> chain1.filter=- JET_CLINIT.file=jitrino JET_DPGO.file=jitrino CD_OPT.file=jitrino JET_DPGO.genProfile=EB_PROF EB_PROF.profilerType=EB_PROFILER CD_OPT.useProfile=EB_PROF So, all methods (except constructors) are passing through JET_DPGO with EB_PROF attached and then will be recompiled by CD_OPT. One should note that this will cause concurrency between on-going _recompilation_ and first-time JET compilation. So, if first-time JET compilation speed is important for startup, then we should separate these two processes in time. That is, let's compile all in the bunch with JET and only then start to recompile with OPT. That is, we can either: a. Set the thresholds for EB_PROF such as recompilation would held later b. Introduce new step (e.g. JET_QUICK) which would compile really fast (even without profile) and wait before inducing recompilation. Current architecture of Jitrino requires some profiler to do the notification for traversing the JITs chain, so attached patch introduces dummy DELAY_PROFILER which simply waits desired time. So, we will have: chains=chain1,chain2 chain1.jits=JET_CLINIT chain2.jits=JET_QUICK,JET_DPGO,CD_OPT chain1.filter=+888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4<clinit> chain1.filter=- JET_CLINIT.file=jitrino JET_QUICK.file=jitrino JET_DPGO.file=jitrino CD_OPT.file=jitrino JET_DPGO.genProfile=EB_PROF EB_PROF.profilerType=EB_PROFILER CD_OPT.useProfile=EB_PROF JET_QUICK.genProfile=DL_PROF DL_PROF.profilerType=DL_PROFILER DL_PROF.initialTimeout=0 DL_PROF.delayTimeout=100 > [drlvm][startup][performance] Delayed recompilation implementation > ------------------------------------------------------------------ > > Key: HARMONY-5356 > URL: https://issues.apache.org/jira/browse/HARMONY-5356 > Project: Harmony > Issue Type: Sub-task > Reporter: Aleksey Shipilev > Attachments: vm-delayprofiler-1.patch > > > Now, client JIT chains look like this: > chains=chain1,chain2 > chain1.jits=JET_CLINIT > chain2.jits=JET_DPGO,CD_OPT > chain1.filter=+888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4<clinit> > chain1.filter=- > JET_CLINIT.file=jitrino > JET_DPGO.file=jitrino > CD_OPT.file=jitrino > JET_DPGO.genProfile=EB_PROF > EB_PROF.profilerType=EB_PROFILER > CD_OPT.useProfile=EB_PROF > So, all methods (class initializers) are passing through JET_DPGO with EB_PROF attached and then will be recompiled by CD_OPT. One should note that this will cause concurrency between on-going _recompilation_ and first-time JET compilation. So, if first-time JET compilation speed is important for startup, then we should separate these two processes in time. That is, let's compile all in the bunch with JET and only then start to recompile with OPT. > That is, we can either: > a. Set the thresholds for EB_PROF such as recompilation would held later > b. Introduce new step (e.g. JET_QUICK) which would compile really fast (even without profile) and wait before inducing recompilation. > Current architecture of Jitrino requires some profiler to do the notification for traversing the JITs chain, so attached patch introduces dummy DELAY_PROFILER which simply waits desired time. > So, we will have: > chains=chain1,chain2 > chain1.jits=JET_CLINIT > chain2.jits=JET_QUICK,JET_DPGO,CD_OPT > chain1.filter=+888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4<clinit> > chain1.filter=- > JET_CLINIT.file=jitrino > JET_QUICK.file=jitrino > JET_DPGO.file=jitrino > CD_OPT.file=jitrino > JET_DPGO.genProfile=EB_PROF > EB_PROF.profilerType=EB_PROFILER > CD_OPT.useProfile=EB_PROF > JET_QUICK.genProfile=DL_PROF > DL_PROF.profilerType=DL_PROFILER > DL_PROF.initialTimeout=0 > DL_PROF.delayTimeout=100 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From commitsrobertsjustin@example.org Sat Mar 01 10:47:53 2008 Return-Path: <commitsrobertsjustin@example.org> Delivered-To: robertsjustin@example.org Received: (qmail 92709 invoked from network); 1 Mar 2008 10:47:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Mar 2008 10:47:53 -0000 Received: (qmail 2054 invoked by uid 500); 1 Mar 2008 10:47:48 -0000 Delivered-To: robertsjustin@example.org Received: (qmail 2019 invoked by uid 500); 1 Mar 2008 10:47:48 -0000 Mailing-List: contact robertsjustin@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:robertsjustin@example.org> List-Unsubscribe: <mailto:robertsjustin@example.org> List-Post: <mailto:robertsjustin@example.org> List-Id: <commits.harmony.apache.org> Reply-To: robertsjustin@example.org Delivered-To: mailing list robertsjustin@example.org Received: (qmail 1999 invoked by uid 99); 1 Mar 2008 10:47:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Mar 2008 02:47:47 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Mar 2008 10:47:21 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 61135234C07B for <robertsjustin@example.org>; Sat, 1 Mar 2008 02:46:51 -0800 (PST) Message-ID: <1114763681.1204368411396.JavaMail.jira@brutus> Date: Sat, 1 Mar 2008 02:46:51 -0800 (PST) From: "Egor Pasko (JIRA)" <robertsjustin@example.org> To: robertsjustin@example.org Subject: [jira] Updated: (HARMONY-5356) [drlvm][startup][performance] Delayed recompilation implementation In-Reply-To: <29040872.1198841263037.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-5356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Egor Pasko updated HARMONY-5356: -------------------------------- Description: Now, client JIT chains look like this: chains=chain1,chain2 chain1.jits=JET_CLINIT chain2.jits=JET_DPGO,CD_OPT chain1.filter=+888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4<clinit> chain1.filter=- JET_CLINIT.file=jitrino JET_DPGO.file=jitrino CD_OPT.file=jitrino JET_DPGO.genProfile=EB_PROF EB_PROF.profilerType=EB_PROFILER CD_OPT.useProfile=EB_PROF So, all methods (except class initializers) are passing through JET_DPGO with EB_PROF attached and then will be recompiled by CD_OPT. One should note that this will cause concurrency between on-going _recompilation_ and first-time JET compilation. So, if first-time JET compilation speed is important for startup, then we should separate these two processes in time. That is, let's compile all in the bunch with JET and only then start to recompile with OPT. That is, we can either: a. Set the thresholds for EB_PROF such as recompilation would held later b. Introduce new step (e.g. JET_QUICK) which would compile really fast (even without profile) and wait before inducing recompilation. Current architecture of Jitrino requires some profiler to do the notification for traversing the JITs chain, so attached patch introduces dummy DELAY_PROFILER which simply waits desired time. So, we will have: chains=chain1,chain2 chain1.jits=JET_CLINIT chain2.jits=JET_QUICK,JET_DPGO,CD_OPT chain1.filter=+888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4<clinit> chain1.filter=- JET_CLINIT.file=jitrino JET_QUICK.file=jitrino JET_DPGO.file=jitrino CD_OPT.file=jitrino JET_DPGO.genProfile=EB_PROF EB_PROF.profilerType=EB_PROFILER CD_OPT.useProfile=EB_PROF JET_QUICK.genProfile=DL_PROF DL_PROF.profilerType=DL_PROFILER DL_PROF.initialTimeout=0 DL_PROF.delayTimeout=100 was: Now, client JIT chains look like this: chains=chain1,chain2 chain1.jits=JET_CLINIT chain2.jits=JET_DPGO,CD_OPT chain1.filter=+888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4<clinit> chain1.filter=- JET_CLINIT.file=jitrino JET_DPGO.file=jitrino CD_OPT.file=jitrino JET_DPGO.genProfile=EB_PROF EB_PROF.profilerType=EB_PROFILER CD_OPT.useProfile=EB_PROF So, all methods (class initializers) are passing through JET_DPGO with EB_PROF attached and then will be recompiled by CD_OPT. One should note that this will cause concurrency between on-going _recompilation_ and first-time JET compilation. So, if first-time JET compilation speed is important for startup, then we should separate these two processes in time. That is, let's compile all in the bunch with JET and only then start to recompile with OPT. That is, we can either: a. Set the thresholds for EB_PROF such as recompilation would held later b. Introduce new step (e.g. JET_QUICK) which would compile really fast (even without profile) and wait before inducing recompilation. Current architecture of Jitrino requires some profiler to do the notification for traversing the JITs chain, so attached patch introduces dummy DELAY_PROFILER which simply waits desired time. So, we will have: chains=chain1,chain2 chain1.jits=JET_CLINIT chain2.jits=JET_QUICK,JET_DPGO,CD_OPT chain1.filter=+888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4<clinit> chain1.filter=- JET_CLINIT.file=jitrino JET_QUICK.file=jitrino JET_DPGO.file=jitrino CD_OPT.file=jitrino JET_DPGO.genProfile=EB_PROF EB_PROF.profilerType=EB_PROFILER CD_OPT.useProfile=EB_PROF JET_QUICK.genProfile=DL_PROF DL_PROF.profilerType=DL_PROFILER DL_PROF.initialTimeout=0 DL_PROF.delayTimeout=100 > [drlvm][startup][performance] Delayed recompilation implementation > ------------------------------------------------------------------ > > Key: HARMONY-5356 > URL: https://issues.apache.org/jira/browse/HARMONY-5356 > Project: Harmony > Issue Type: Sub-task > Reporter: Aleksey Shipilev > Attachments: vm-delayprofiler-1.patch > > > Now, client JIT chains look like this: > chains=chain1,chain2 > chain1.jits=JET_CLINIT > chain2.jits=JET_DPGO,CD_OPT > chain1.filter=+888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4<clinit> > chain1.filter=- > JET_CLINIT.file=jitrino > JET_DPGO.file=jitrino > CD_OPT.file=jitrino > JET_DPGO.genProfile=EB_PROF > EB_PROF.profilerType=EB_PROFILER > CD_OPT.useProfile=EB_PROF > So, all methods (except class initializers) are passing through JET_DPGO with EB_PROF attached and then will be recompiled by CD_OPT. One should note that this will cause concurrency between on-going _recompilation_ and first-time JET compilation. So, if first-time JET compilation speed is important for startup, then we should separate these two processes in time. That is, let's compile all in the bunch with JET and only then start to recompile with OPT. > That is, we can either: > a. Set the thresholds for EB_PROF such as recompilation would held later > b. Introduce new step (e.g. JET_QUICK) which would compile really fast (even without profile) and wait before inducing recompilation. > Current architecture of Jitrino requires some profiler to do the notification for traversing the JITs chain, so attached patch introduces dummy DELAY_PROFILER which simply waits desired time. > So, we will have: > chains=chain1,chain2 > chain1.jits=JET_CLINIT > chain2.jits=JET_QUICK,JET_DPGO,CD_OPT > chain1.filter=+888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4<clinit> > chain1.filter=- > JET_CLINIT.file=jitrino > JET_QUICK.file=jitrino > JET_DPGO.file=jitrino > CD_OPT.file=jitrino > JET_DPGO.genProfile=EB_PROF > EB_PROF.profilerType=EB_PROFILER > CD_OPT.useProfile=EB_PROF > JET_QUICK.genProfile=DL_PROF > DL_PROF.profilerType=DL_PROFILER > DL_PROF.initialTimeout=0 > DL_PROF.delayTimeout=100 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From commitsrobertsjustin@example.org Sat Mar 01 12:05:52 2008 Return-Path: <commitsrobertsjustin@example.org> Delivered-To: robertsjustin@example.org Received: (qmail 5305 invoked from network); 1 Mar 2008 12:05:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Mar 2008 12:05:52 -0000 Received: (qmail 48595 invoked by uid 500); 1 Mar 2008 12:05:47 -0000 Delivered-To: robertsjustin@example.org Received: (qmail 48569 invoked by uid 500); 1 Mar 2008 12:05:47 -0000 Mailing-List: contact robertsjustin@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:robertsjustin@example.org> List-Unsubscribe: <mailto:robertsjustin@example.org> List-Post: <mailto:robertsjustin@example.org> List-Id: <commits.harmony.apache.org> Reply-To: robertsjustin@example.org Delivered-To: mailing list robertsjustin@example.org Received: (qmail 48560 invoked by uid 99); 1 Mar 2008 12:05:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Mar 2008 04:05:47 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Mar 2008 12:05:21 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 14076234C07A for <robertsjustin@example.org>; Sat, 1 Mar 2008 04:04:51 -0800 (PST) Message-ID: <142105195.1204373091081.JavaMail.jira@brutus> Date: Sat, 1 Mar 2008 04:04:51 -0800 (PST) From: "Mikhail Fursov (JIRA)" <robertsjustin@example.org> To: robertsjustin@example.org Subject: [jira] Updated: (HARMONY-4620) [drlvm][jit] Long return path for floating point values in calling convension In-Reply-To: <27393488.1186924183223.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-4620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikhail Fursov updated HARMONY-4620: ------------------------------------ Attachment: return_xmm_2.patch Evgueni, the patch runs OK on X86 platforms but fails on X86_64 on reg.tests I attached the updated version of the patch with a fixed LIL sources location > [drlvm][jit] Long return path for floating point values in calling convension > ----------------------------------------------------------------------------- > > Key: HARMONY-4620 > URL: https://issues.apache.org/jira/browse/HARMONY-4620 > Project: Harmony > Issue Type: Improvement > Components: DRLVM > Environment: appropriate for for Intel architecture > Reporter: Naumova Natalya > Assignee: Mikhail Fursov > Attachments: return_xmm.patch, return_xmm_2.patch > > > DRLVM has too long return path when the return value is floatin point. The reason is FPU usage together with SSE instructions in calling convention: we have "SSE -> mem -> FPU -> (return) mem -> SSE"; return (double) value first is calculated on xmm* registers, then copied to mem, then is put on FPU stack, then extracted from this stack (in calling proc) to memory again, then again calculation is happened in xmm* registers (SSE instructions). This issue overrides the improvement with loop unrolling, overhead from the parameters passing with this calling convention overrides the loop body doubling speed-up. When you increase "arg.optimizer.unroll.medium_loop_unroll_count" option in method where return value is double and it is in loop, then you'll have degradation (example - MonteCarlo benchmark in SciMark). > Can we avoid using FPU with SSE in this case? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From commitsrobertsjustin@example.org Sun Mar 02 09:19:08 2008 Return-Path: <commitsrobertsjustin@example.org> Delivered-To: robertsjustin@example.org Received: (qmail 47707 invoked from network); 2 Mar 2008 09:19:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Mar 2008 09:19:08 -0000 Received: (qmail 93370 invoked by uid 500); 2 Mar 2008 09:19:04 -0000 Delivered-To: robertsjustin@example.org Received: (qmail 93351 invoked by uid 500); 2 Mar 2008 09:19:03 -0000 Mailing-List: contact robertsjustin@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:robertsjustin@example.org> List-Unsubscribe: <mailto:robertsjustin@example.org> List-Post: <mailto:robertsjustin@example.org> List-Id: <commits.harmony.apache.org> Reply-To: robertsjustin@example.org Delivered-To: mailing list robertsjustin@example.org Received: (qmail 93342 invoked by uid 99); 2 Mar 2008 09:19:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2008 01:19:03 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eos.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2008 09:18:25 +0000 Received: from eos.apache.org (localhost [83.161.120.155]) by eos.apache.org (Postfix) with ESMTP id 58DACD646 for <robertsjustin@example.org>; Sun, 2 Mar 2008 09:18:45 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <robertsjustin@example.org> To: robertsjustin@example.org Date: Sun, 02 Mar 2008 09:18:44 -0000 Message-ID: <robertsjustin@example.org> Subject: [Harmony Wiki] Update of "FrontPage" by XiaoFeng Li X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification. The following page has been changed by XiaoFeng Li: http://wiki.apache.org/harmony/FrontPage ------------------------------------------------------------------------------ == Sandbox/Whiteboard == * WhiteBoards * ["Harmony Q2 Milestone"] + * ["Google Summer Of Code 2008 Projects Proposals"] * ["Summer Of Code 2007 Projects Proposal"] ---- From commitsrobertsjustin@example.org Sun Mar 02 09:42:23 2008 Return-Path: <commitsrobertsjustin@example.org> Delivered-To: robertsjustin@example.org Received: (qmail 51544 invoked from network); 2 Mar 2008 09:42:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Mar 2008 09:42:23 -0000 Received: (qmail 2817 invoked by uid 500); 2 Mar 2008 09:42:19 -0000 Delivered-To: robertsjustin@example.org Received: (qmail 2797 invoked by uid 500); 2 Mar 2008 09:42:19 -0000 Mailing-List: contact robertsjustin@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:robertsjustin@example.org> List-Unsubscribe: <mailto:robertsjustin@example.org> List-Post: <mailto:robertsjustin@example.org> List-Id: <commits.harmony.apache.org> Reply-To: robertsjustin@example.org Delivered-To: mailing list robertsjustin@example.org Received: (qmail 2788 invoked by uid 99); 2 Mar 2008 09:42:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2008 01:42:18 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eos.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2008 09:41:52 +0000 Received: from eos.apache.org (localhost [83.161.120.155]) by eos.apache.org (Postfix) with ESMTP id AB464D2ED for <robertsjustin@example.org>; Sun, 2 Mar 2008 09:42:02 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <robertsjustin@example.org> To: robertsjustin@example.org Date: Sun, 02 Mar 2008 09:42:02 -0000 Message-ID: <robertsjustin@example.org> Subject: [Harmony Wiki] Update of "Google Summer Of Code 2008 Projects Proposals" by XiaoFeng Li X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification. The following page has been changed by XiaoFeng Li: http://wiki.apache.org/harmony/Google_Summer_Of_Code_2008_Projects_Proposals New page: #format wiki #language en (Please add your proposals in the list) == Google Summer Of Code 2008 Projects Proposals == 1. '''Implement the "Compressor" GC proposed by Kermany and Petrank'''.[[BR]] The Compressor garbage collector [1] is a compacting GC that leverages virtual memory support in underlying OS. It compacts the heap in two passes. [[BR]] [1] Haim Kermany, Erez Petrank: ''The Compressor: concurrent, incremental, and parallel compaction''. PLDI 2006. 2. '''Implement the "Mapping Collector" proposed by Wegiel and Krintz'''.[[BR]] The Mapping Collector [2] utilizes the virtual memory support in a novel way so that it can compact the heap without moving the objects or fixing the references.[[BR]] [2] Michal Wegiel and Chandra Krintz, ''The Mapping Collector: Virtual Memory Support for Generational, Parallel, and Concurrent Compaction'', ASPLOS 2008. 3. '''Write a graphic font-end for Harmony memory management'''.[[BR]] Harmony runtime needs a graphic front-end visualizing the memory management activities and the runtime status. It can be standalone or better an Eclipse plugin. It can be online display of the runtime execution, or offline processing of the log. 4. '''Unify the native memory management of Harmony DRLVM'''.[[BR]] DRLVM uses inconsistent APIs for native memory management, such as APR or malloc or mmap. It is desirable to have a unified API for native memory management. Hopefully the runtime native memory usage can be managed with a global view and then optimized. This layer could be extended to provide the API for Java heap native management as well. From commitsrobertsjustin@example.org Sun Mar 02 10:44:05 2008 Return-Path: <commitsrobertsjustin@example.org> Delivered-To: robertsjustin@example.org Received: (qmail 59543 invoked from network); 2 Mar 2008 10:44:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Mar 2008 10:44:05 -0000 Received: (qmail 21443 invoked by uid 500); 2 Mar 2008 10:44:00 -0000 Delivered-To: robertsjustin@example.org Received: (qmail 21347 invoked by uid 500); 2 Mar 2008 10:44:00 -0000 Mailing-List: contact robertsjustin@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:robertsjustin@example.org> List-Unsubscribe: <mailto:robertsjustin@example.org> List-Post: <mailto:robertsjustin@example.org> List-Id: <commits.harmony.apache.org> Reply-To: robertsjustin@example.org Delivered-To: mailing list robertsjustin@example.org Received: (qmail 21338 invoked by uid 99); 2 Mar 2008 10:44:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2008 02:44:00 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2008 10:43:13 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 73B57234C083 for <robertsjustin@example.org>; Sun, 2 Mar 2008 02:42:50 -0800 (PST) Message-ID: <523041939.1204454570472.JavaMail.jira@brutus> Date: Sun, 2 Mar 2008 02:42:50 -0800 (PST) From: "Francis ANDRE (JIRA)" <robertsjustin@example.org> To: robertsjustin@example.org Subject: [jira] Created: (HARMONY-5560) build.xml & I18N: svn-prop relies on an English text for computing the revision. This does not work for non english countries. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org build.xml & I18N: svn-prop relies on an English text for computing the revi= sion. This does not work for non english countries. ---------------------------------------------------------------------------= --------------------------------------------------- Key: HARMONY-5560 URL: https://issues.apache.org/jira/browse/HARMONY-5560 Project: Harmony Issue Type: Bug Components: build - test - ci Environment: WXP SP2? JDK 1.5=20 Reporter: Francis ANDRE Priority: Minor Hi With a French localization, buil.xml produces the following error: >>> svn-prop: >>> [exec] Current OS is Windows XP >>> [exec] Output redirected to property: svn.revision.tmp >>> [exec] Executing 'svn' with arguments: >>> [exec] 'info' >>> [exec] 'build.xml' >>> [exec] >>> [exec] The ' characters around the executable and arguments are >>> [exec] not part of the command. >>> Override ignored for property "svn.revision" >>> [exec] Current OS is Windows XP >>> [exec] Output redirected to property: svn.root.tmp >>> [exec] Executing 'svn' with arguments: >>> [exec] 'info' >>> [exec] >>> [exec] The ' characters around the executable and arguments are >>> [exec] not part of the command. >>> Override ignored for property "svn.rc" >>> Override ignored for property "svn.info" >>> >>> init: >>> Override ignored for property "harmony.os" >>> Override ignored for property "harmony.bits" >>> Override ignored for property "harmony.arch" >>> Property "hy.javac.compiler" has not been set >>> >>> show-props: >>> [echo] >>> [echo] Apache Harmony Federated Build >>> [echo] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >>> [echo] svn rev : >>> [echo] operating system : windows >>> [echo] architecture : x86-32 >>> [echo] ant os name/arch : Windows XP/x86 >>> [echo] hosting Java : 1.5.0_09 (Sun Microsystems >>> Inc.) >>> [echo] build mode : release >>> [echo] output location : target >>> [echo] SVN root : >>> http://svn.apache.org/repos/asf >>> [echo] >>> >>> setup: >>> [delete] Deleting directory Z:\DEV\Harmony\target >>> [delete] Deleting directory Z:\DEV\Harmony\target >>> [mkdir] Created dir: Z:\DEV\Harmony\target >>> >>> switch-svn-vm: >>> [exec] Current OS is Windows XP >>> [exec] Executing 'svn' with arguments: >>> [exec] '-r' >>> [exec] 'switch' >>> [exec] >>> 'http://svn.apache.org/repos/asf/harmony/enhanced/drlvm/trunk' >>> [exec] >>> [exec] The ' characters around the executable and arguments are >>> [exec] not part of the command. >>> [exec] svn: Erreur de syntaxe =C3=A0 l'argument de r=C3=A9vision '= switch' >>> >>> BUILD FAILED >>> Z:\DEV\Harmony\build.xml:509: exec returned: 1 >>> at >>> org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:636) >>> at >>> org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:662) >>> at >>> org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:487) >>> at >>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) >>> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso= rImpl.java:25) >>> >>> at java.lang.reflect.Method.invoke(Method.java:585) >>> at >>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:= 105) >>> >>> at org.apache.tools.ant.Task.perform(Task.java:348) >>> at org.apache.tools.ant.Target.execute(Target.java:357) >>> at org.apache.tools.ant.Target.performTasks(Target.java:385) >>> at >>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) >>> at org.apache.tools.ant.Project.executeTarget(Project.java:1298= ) >>> at >>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecu= tor.java:41) >>> >>> at org.apache.tools.ant.Project.executeTargets(Project.java:118= 1) >>> at org.apache.tools.ant.Main.runBuild(Main.java:698) >>> at org.apache.tools.ant.Main.startAnt(Main.java:199) >>> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) >>> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) >>> >>> Total time: 3 seconds >>> >> This is due to the French localization of svn! Z:\DEV\Harmony\trunk>svn --version svn, version 1.4.6 (r28521) compil=C3=A9 Dec 20 2007, 16:33:06 Z:\DEV\Harmony\trunk>svn info build.xml Chemin : build.xml Nom : build.xml URL : http://svn.apache.org/repos/asf/harmony/enhanced/trunk/build.xml Racine du d=C3=A9p=C3=B4t : http://svn.apache.org/repos/asf UUID du d=C3=A9p=C3=B4t : 13f79535-47bb-0310-9956-ffa450edef68 R=C3=A9vision : 632721 Type de noeud : fichier T=C3=A2che programm=C3=A9e : normale Auteur de la derni=C3=A8re modification : ndbeyer R=C3=A9vision de la derni=C3=A8re modification : 628235 Date de la derni=C3=A8re modification: 2008-02-16 04:37:58 +0100 (sam., 16 = f=C3=A9vr. 2008) Texte mis =C3=A0 jour: 2008-03-02 09:35:49 +0100 (dim., 02 mars 2008) Somme de contr=C3=B4le : 7c9654662eb3ee35efb6265f0739afda Possible work around is tho set LC_MESSAGES to en_US before running ant wit= h set LC_MESSAGES=3Den_US Rgds --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From commitsrobertsjustin@example.org Sun Mar 02 15:16:06 2008 Return-Path: <commitsrobertsjustin@example.org> Delivered-To: robertsjustin@example.org Received: (qmail 78059 invoked from network); 2 Mar 2008 15:16:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Mar 2008 15:16:06 -0000 Received: (qmail 53464 invoked by uid 500); 2 Mar 2008 15:16:01 -0000 Delivered-To: robertsjustin@example.org Received: (qmail 53447 invoked by uid 500); 2 Mar 2008 15:16:01 -0000 Mailing-List: contact robertsjustin@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:robertsjustin@example.org> List-Unsubscribe: <mailto:robertsjustin@example.org> List-Post: <mailto:robertsjustin@example.org> List-Id: <commits.harmony.apache.org> Reply-To: robertsjustin@example.org Delivered-To: mailing list robertsjustin@example.org Received: (qmail 53438 invoked by uid 99); 2 Mar 2008 15:16:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2008 07:16:01 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2008 15:15:26 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 815D4234C083 for <robertsjustin@example.org>; Sun, 2 Mar 2008 07:14:53 -0800 (PST) Message-ID: <1077943371.1204470893528.JavaMail.jira@brutus> Date: Sun, 2 Mar 2008 07:14:53 -0800 (PST) From: "Gregory Shimansky (JIRA)" <robertsjustin@example.org> To: robertsjustin@example.org Subject: [jira] Closed: (HARMONY-5560) build.xml & I18N: svn-prop relies on an English text for computing the revision. This does not work for non english countries. In-Reply-To: <523041939.1204454570472.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-5560?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gregory Shimansky closed HARMONY-5560. -------------------------------------- Resolution: Duplicate Assignee: Gregory Shimansky Thank you for this report, but this is actually a duplicate of an already r= eported bug HARMONY-5256. The problem is known but there is no solution for it so far. > build.xml & I18N: svn-prop relies on an English text for computing the re= vision. This does not work for non english countries. > -------------------------------------------------------------------------= ----------------------------------------------------- > > Key: HARMONY-5560 > URL: https://issues.apache.org/jira/browse/HARMONY-5560 > Project: Harmony > Issue Type: Bug > Components: build - test - ci > Environment: WXP SP2? JDK 1.5=20 > Reporter: Francis ANDRE > Assignee: Gregory Shimansky > Priority: Minor > > Hi > With a French localization, buil.xml produces the following error: > >>> svn-prop: > >>> [exec] Current OS is Windows XP > >>> [exec] Output redirected to property: svn.revision.tmp > >>> [exec] Executing 'svn' with arguments: > >>> [exec] 'info' > >>> [exec] 'build.xml' > >>> [exec] > >>> [exec] The ' characters around the executable and arguments are > >>> [exec] not part of the command. > >>> Override ignored for property "svn.revision" > >>> [exec] Current OS is Windows XP > >>> [exec] Output redirected to property: svn.root.tmp > >>> [exec] Executing 'svn' with arguments: > >>> [exec] 'info' > >>> [exec] > >>> [exec] The ' characters around the executable and arguments are > >>> [exec] not part of the command. > >>> Override ignored for property "svn.rc" > >>> Override ignored for property "svn.info" > >>> > >>> init: > >>> Override ignored for property "harmony.os" > >>> Override ignored for property "harmony.bits" > >>> Override ignored for property "harmony.arch" > >>> Property "hy.javac.compiler" has not been set > >>> > >>> show-props: > >>> [echo] > >>> [echo] Apache Harmony Federated Build > >>> [echo] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > >>> [echo] svn rev : > >>> [echo] operating system : windows > >>> [echo] architecture : x86-32 > >>> [echo] ant os name/arch : Windows XP/x86 > >>> [echo] hosting Java : 1.5.0_09 (Sun Microsystem= s > >>> Inc.) > >>> [echo] build mode : release > >>> [echo] output location : target > >>> [echo] SVN root : > >>> http://svn.apache.org/repos/asf > >>> [echo] > >>> > >>> setup: > >>> [delete] Deleting directory Z:\DEV\Harmony\target > >>> [delete] Deleting directory Z:\DEV\Harmony\target > >>> [mkdir] Created dir: Z:\DEV\Harmony\target > >>> > >>> switch-svn-vm: > >>> [exec] Current OS is Windows XP > >>> [exec] Executing 'svn' with arguments: > >>> [exec] '-r' > >>> [exec] 'switch' > >>> [exec] > >>> 'http://svn.apache.org/repos/asf/harmony/enhanced/drlvm/trunk' > >>> [exec] > >>> [exec] The ' characters around the executable and arguments are > >>> [exec] not part of the command. > >>> [exec] svn: Erreur de syntaxe =C3=A0 l'argument de r=C3=A9vision= 'switch' > >>> > >>> BUILD FAILED > >>> Z:\DEV\Harmony\build.xml:509: exec returned: 1 > >>> at > >>> org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:636) > >>> at > >>> org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:662) > >>> at > >>> org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:487) > >>> at > >>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) > >>> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source= ) > >>> at > >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces= sorImpl.java:25) > >>> > >>> at java.lang.reflect.Method.invoke(Method.java:585) > >>> at > >>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav= a:105) > >>> > >>> at org.apache.tools.ant.Task.perform(Task.java:348) > >>> at org.apache.tools.ant.Target.execute(Target.java:357) > >>> at org.apache.tools.ant.Target.performTasks(Target.java:385) > >>> at > >>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) > >>> at org.apache.tools.ant.Project.executeTarget(Project.java:12= 98) > >>> at > >>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe= cutor.java:41) > >>> > >>> at org.apache.tools.ant.Project.executeTargets(Project.java:1= 181) > >>> at org.apache.tools.ant.Main.runBuild(Main.java:698) > >>> at org.apache.tools.ant.Main.startAnt(Main.java:199) > >>> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257= ) > >>> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:10= 4) > >>> > >>> Total time: 3 seconds > >>> > >> > This is due to the French localization of svn! > Z:\DEV\Harmony\trunk>svn --version > svn, version 1.4.6 (r28521) > compil=C3=A9 Dec 20 2007, 16:33:06 > Z:\DEV\Harmony\trunk>svn info build.xml > Chemin : build.xml > Nom : build.xml > URL : http://svn.apache.org/repos/asf/harmony/enhanced/trunk/build.xml > Racine du d=C3=A9p=C3=B4t : http://svn.apache.org/repos/asf > UUID du d=C3=A9p=C3=B4t : 13f79535-47bb-0310-9956-ffa450edef68 > R=C3=A9vision : 632721 > Type de noeud : fichier > T=C3=A2che programm=C3=A9e : normale > Auteur de la derni=C3=A8re modification : ndbeyer > R=C3=A9vision de la derni=C3=A8re modification : 628235 > Date de la derni=C3=A8re modification: 2008-02-16 04:37:58 +0100 (sam., 1= 6 f=C3=A9vr. 2008) > Texte mis =C3=A0 jour: 2008-03-02 09:35:49 +0100 (dim., 02 mars 2008) > Somme de contr=C3=B4le : 7c9654662eb3ee35efb6265f0739afda > Possible work around is tho set LC_MESSAGES to en_US before running ant w= ith > set LC_MESSAGES=3Den_US > Rgds --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From commitsrobertsjustin@example.org Sun Mar 02 17:41:58 2008 Return-Path: <commitsrobertsjustin@example.org> Delivered-To: robertsjustin@example.org Received: (qmail 8815 invoked from network); 2 Mar 2008 17:41:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Mar 2008 17:41:58 -0000 Received: (qmail 51920 invoked by uid 500); 2 Mar 2008 17:41:53 -0000 Delivered-To: robertsjustin@example.org Received: (qmail 51900 invoked by uid 500); 2 Mar 2008 17:41:53 -0000 Mailing-List: contact robertsjustin@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:robertsjustin@example.org> List-Unsubscribe: <mailto:robertsjustin@example.org> List-Post: <mailto:robertsjustin@example.org> List-Id: <commits.harmony.apache.org> Reply-To: robertsjustin@example.org Delivered-To: mailing list robertsjustin@example.org Received: (qmail 51891 invoked by uid 99); 2 Mar 2008 17:41:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2008 09:41:53 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2008 17:41:14 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 8C452234C083 for <robertsjustin@example.org>; Sun, 2 Mar 2008 09:40:50 -0800 (PST) Message-ID: <267304412.1204479650573.JavaMail.jira@brutus> Date: Sun, 2 Mar 2008 09:40:50 -0800 (PST) From: "Eugene S. Ostrovsky (JIRA)" <robertsjustin@example.org> To: robertsjustin@example.org Subject: [jira] Commented: (HARMONY-5387) [drlvm][jvmti] Test org.apache.harmony.test.stress.jpda.jdwp.scenario.EVENT014.EventTest014 hangs on linux_x86_64 In-Reply-To: <12289141.1200336814790.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-5387?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12= 574236#action_12574236 ]=20 Eugene S. Ostrovsky commented on HARMONY-5387: ---------------------------------------------- I've reproduced the bug on r610727. On M5 test passes. I think the issue should be resolved as not reproducible. > [drlvm][jvmti] Test org.apache.harmony.test.stress.jpda.jdwp.scenario.EVE= NT014.EventTest014 hangs on linux_x86_64 > -------------------------------------------------------------------------= ---------------------------------------- > > Key: HARMONY-5387 > URL: https://issues.apache.org/jira/browse/HARMONY-5387 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: Linux_x86_64 > Reporter: Ilya Leviev > > The test stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.EVENT01= 4.EventTest014 hangs on linux_x86_64 > r610727 > log: > TestHarness:ExecUnit=09runProc(): Timeout!!!. The test hung (not finished= in 360 second). > java version "1.5.0"=20 > pre-alpha : not complete or compatible > svn =3D r610727, (Jan 11 2008), Linux/em64t/gcc 4.1.0, release build > http://harmony.apache.org > 14:20:21| Test: class org.apache.harmony.test.stress.jpda.jdwp.scenario.E= VENT014.EventTest014 > =09=09test case(s) to run 1 > 14:20:21| Launching as a server listening on: nstdrlel127:42522 > 14:20:21| Launching: /export/users/cc/cc-suites/build/checkouts/snapshot/= hdk/jdk/jre/bin/java -cp "/export/users/cc/cc-suites/build/classes/stress/c= lasses:/export/users/cc/cc-suites/build/results/stress/temp:/export/users/c= c/cc-suites/build/classes/stress/classes:/export/users/cc/cc-suites/build/c= lasses/stress/lib:/export/users/cc/cc-suites/build/classes/stress/tools/th.= jar:/export/users/cc/cc-suites/tests/stress/classlib/trunk/depends/punit/tr= unk/punit.extension/lib/junit-4.3.1.jar:/export/users/cc/cc-suites/tests/st= ress/classlib/trunk/depends/punit/trunk/punit/p-unit-0.12.jar:/export/users= /cc/cc-suites/tests/stress/classlib/trunk/depends/punit/trunk/punit.extensi= on/p-unit-extension-0.12.jar:/export/users/cc/cc-suites/tests/stress/classl= ib/trunk/depends/punit/trunk/punit.extension/lib/itext-2.0.2.jar:/export/us= ers/cc/cc-suites/tests/stress/classlib/trunk/depends/punit/trunk/punit.exte= nsion/lib/jcommon-1.0.9.jar:/export/users/cc/cc-suites/tests/stress/classli= b/trunk/depends/punit/trunk/punit.extension/lib/jfreechart-1.0.5.jar" -agen= tlib:jdwp=3Dtransport=3Ddt_socket,address=3Dnstdrlel127:42522,server=3Dn -D= vm.assert_dialog=3Dfalse -Djpda.settings.verbose=3Dtrue org.apache.harmony.= test.stress.jpda.jdwp.scenario.EVENT014.EventDebuggee014 > 14:20:21| Start redirectors > 14:20:21| Redirector started: STDERR > 14:20:21| Accepting connection > 14:20:21| Redirector started: STDOUT > 14:20:21| Established connection > 14:20:21| Launched debuggee VM process and established connection > 14:20:21| Received VM_START event > 14:20:21| Adjusted VM-dependent type lengths > 14:20:21| =3D=3D=3D=3D&gt; testStartTimeMlsec =3D 1200039621213 > 14:20:21| =3D=3D=3D=3D&gt; testTimeout =3D 600000 > 14:20:21| =3D=3D&gt; testEvent014: START (Fri Jan 11 08:20:21 GMT 2008)..= . > 14:20:21| =3D=3D&gt; Wait for debuggee class load... > 14:20:22| =3D=3D&gt; Debuggee class load - OK. > 14:20:22| =3D=3D=3D=3D=3D=3D=3D=3D=3D&gt; DEBUG info: setupSignalWithWait= (): signalWithWaitRequestID =3D 2 > 14:20:22| =3D=3D=3D=3D=3D=3D=3D=3D=3D&gt; DEBUG info: setupThreadSignalWi= thWait(): threadSignalWithWaitRequestID =3D 3 > 14:20:22| =3D=3D=3D=3D=3D=3D=3D=3D=3D&gt; DEBUG info: Resuming Debuggee: = Marker =3D #1... > 14:20:22| =3D=3D&gt; Wait for debuggee to start big number of treads ('SI= GNAL_READY_01')... > 14:20:22| =3D=3D=3D=3D=3D=3D=3D=3D=3D&gt; DEBUG info: receiveSignal(): wi= th timeout(mlsecs) =3D 598766... > 14:20:22| --&gt; EventDebuggee014: START... > 14:20:22| STDERR&gt; 14:20:22| --&gt; EventDebuggee014: Create and start = big number of threads... > 14:20:22| STDERR&gt; 14:20:22| STDERR&gt; 14:20:22| --&gt; EventDebuggee0= 14: freeMemory (bytes) BEFORE creating threads =3D 13960192 > 14:20:22| --&gt; EventDebuggee014: FREE_MEMORY_LIMIT (20000000) is reache= d! > 14:20:22| --&gt; EventDebuggee014: Created threads number =3D 1 > 14:20:22| --&gt; EventDebuggee014: All created threads are started! > 14:20:22| --&gt; EventDebuggee014: freeMemory (bytes) AFTER creating and = starting threads =3D 13952000 > 14:20:22| ---------&gt; DEBUG info: EventDebuggee014: sendSignalAndWait(S= IGNAL_READY_01) > 14:20:22| STDERR&gt; 14:20:22| STDERR&gt; 14:20:22| STDERR&gt; 14:20:22| = STDERR&gt; 14:20:22| STDERR&gt; 14:20:22| =3D=3D=3D=3D=3D=3D=3D=3D=3D&gt; D= EBUG info: receiveSignal(): signal =3D 'READY_01' > 14:20:22| =3D=3D=3D=3D=3D=3D=3D=3D=3D&gt; DEBUG info: received debuggee S= ignal =3D READY_01 > 14:20:22|=20 > 14:20:22| =3D=3D&gt; Send VirtualMachine.AllThreads after big number of t= hreads started in debuggee... > 14:20:22| =3D=3D&gt; Command running time(mlsecs) =3D 40 > 14:20:22|=20 > 14:20:22| =3D=3D&gt; Prepare and send requests for 'METHOD_ENTRY' for eac= h thread started by debuggee... > 14:20:22| =3D=3D&gt; Get debuggeeRefTypeID... > 14:20:22| =3D=3D&gt; debuggeeRefTypeID =3D 1000000842 > 14:20:22| =3D=3D&gt; Get threadRefTypeID... > 14:20:22| =3D=3D&gt; threadRefTypeID =3D 1000000778 > 14:20:22| =3D=3D&gt; Get startedThreadsNumber value from debuggee... > 14:20:22| =3D=3D&gt; startedThreadsNumber =3D 1 > 14:20:23| =3D=3D&gt; Time (mlsecs) of preparing requests for 'METHOD_ENTR= Y' events for each thread started by debuggee =3D 479 > 14:20:23| =3D=3D&gt; Successful requests for 'METHOD_ENTRY' =3D 1 > 14:20:23| =3D=3D&gt; Resume debuggee to allow all threads to enter in tes= t method and cause 'METHOD_ENTRY' events... > 14:20:23| =3D=3D=3D=3D=3D=3D=3D=3D=3D&gt; DEBUG info: Resuming Debuggee: = Marker =3D #2... > 14:20:23| STDERR&gt; 14:20:23| ---------&gt; DEBUG info: EventDebuggee014= : After sendSignalAndWait(SIGNAL_READY_01) > 14:20:23| --&gt; EventDebuggee014: Send signal to all threads to continue= and call test method... > 14:20:23| --&gt; EventDebuggee014: Send 'SIGNAL_READY_02' signal to debug= ger - ready to create memory stress. > 14:20:23| STDERR&gt; 14:20:23| STDERR&gt; 14:20:23|=20 > 14:20:23| =3D=3D&gt; Check that all expected 'METHOD_ENTRY' events are ge= nerated... > 14:20:23| =3D=3D&gt; Number of received 'METHOD_ENTRY' events =3D 1 > 14:20:23| =3D=3D&gt; Time(mlsecs) of receiving all expected 'METHOD_ENTRY= ' events =3D 105 > 14:20:23| =3D=3D&gt; OK - all expected 'METHOD_ENTRY' events are received= ! > 14:20:23|=20 > 14:20:23| =3D=3D&gt; Clear all requests for 'METHOD_ENTRY' for each threa= d started by debuggee... > 14:20:23| =3D=3D&gt; OK - all requests for 'METHOD_ENTRY' events are cle= ared! > 14:20:23| =3D=3D&gt; Time(mlsecs) of clearing all requests for 'METHOD_E= NTRY' events =3D 39 > 14:20:23|=20 > 14:20:23| =3D=3D&gt; Prepare and send requests for 'BREAKPOINT' and 'SING= LE_STEP' events ... > 14:20:23| =3D=3D&gt; Get breakpoint location... > 14:20:23| =3D=3D&gt; OK - breakpoint location is got > 14:20:23| =3D=3D&gt; Time (mlsecs) of preparing requests for 'BREAKPOINT'= and 'SINGLE_STEP' events for each thread started by debuggee =3D 199 > 14:20:23| =3D=3D&gt; Successful requests for 'BREAKPOINT' =3D 1 > 14:20:23| =3D=3D&gt; Successful requests for 'SINGLE_STEP' =3D 1 > 14:20:23|=20 > 14:20:23| =3D=3D&gt; Wait for debuggee readiness to create memory stress = ('SIGNAL_READY_02')... > 14:20:23| =3D=3D=3D=3D=3D=3D=3D=3D=3D&gt; DEBUG info: receiveSignal(): wi= th timeout(mlsecs) =3D 597733... > 14:20:23| =3D=3D=3D=3D=3D=3D=3D=3D=3D&gt; DEBUG info: receiveSignal(): si= gnal =3D 'READY_02' > 14:20:23| =3D=3D=3D=3D=3D=3D=3D=3D=3D&gt; DEBUG info: received debuggee T= hread Signal =3D READY_02 > 14:20:23| =3D=3D&gt; Time(mlsecs) of waiting for debuggee readiness to cr= eate memory stress =3D 119 > 14:20:23|=20 > 14:20:23| =3D=3D&gt; Resume only debuggee main thread to create memory st= ress ... > 14:20:23| =3D=3D=3D=3D=3D=3D=3D=3D=3D&gt; DEBUG info: Resuming SignalThre= ad: ThreadID =3D 1292; Marker =3D #3... > 14:20:23|=20 > 14:20:23| =3D=3D&gt; Wait for debuggee to create memory stress ('SIGNAL_R= EADY_03')... > 14:20:23| =3D=3D=3D=3D=3D=3D=3D=3D=3D&gt; DEBUG info: receiveSignal(): wi= th timeout(mlsecs) =3D 597574... > Apache Harmony Launcher : (c) Copyright 1991, 2007 The Apache Software Fo= undation or its licensors, as applicable. > http://people.apache.org/~smishura/r610727/Linux_x86_64/stress/junit/stre= ss/org/apache/harmony/test/stress/jpda/jdwp/scenario/EVENT014/0_EventTest01= 4-out.txt --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From commitsrobertsjustin@example.org Mon Mar 03 02:35:56 2008 Return-Path: <commitsrobertsjustin@example.org> Delivered-To: robertsjustin@example.org Received: (qmail 369 invoked from network); 3 Mar 2008 02:35:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Mar 2008 02:35:56 -0000 Received: (qmail 93741 invoked by uid 500); 3 Mar 2008 02:35:52 -0000 Delivered-To: robertsjustin@example.org Received: (qmail 93722 invoked by uid 500); 3 Mar 2008 02:35:52 -0000 Mailing-List: contact robertsjustin@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:robertsjustin@example.org> List-Unsubscribe: <mailto:robertsjustin@example.org> List-Post: <mailto:robertsjustin@example.org> List-Id: <commits.harmony.apache.org> Reply-To: robertsjustin@example.org Delivered-To: mailing list robertsjustin@example.org Received: (qmail 93713 invoked by uid 99); 3 Mar 2008 02:35:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2008 18:35:51 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2008 02:35:24 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 64F6B234C083 for <robertsjustin@example.org>; Sun, 2 Mar 2008 18:34:50 -0800 (PST) Message-ID: <705284022.1204511690412.JavaMail.jira@brutus> Date: Sun, 2 Mar 2008 18:34:50 -0800 (PST) From: "Jimmy, Jing Lv (JIRA)" <robertsjustin@example.org> To: robertsjustin@example.org Subject: [jira] Assigned: (HARMONY-5549) [jdktools][jdwp6] Add new jdwp command "ClassFileVersion" for jdwp 6 In-Reply-To: <1095563750.1204101051025.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-5549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jimmy, Jing Lv reassigned HARMONY-5549: --------------------------------------- Assignee: Jimmy, Jing Lv > [jdktools][jdwp6] Add new jdwp command "ClassFileVersion" for jdwp 6 > -------------------------------------------------------------------- > > Key: HARMONY-5549 > URL: https://issues.apache.org/jira/browse/HARMONY-5549 > Project: Harmony > Issue Type: New Feature > Components: JDK > Reporter: Sean Qiu > Assignee: Jimmy, Jing Lv > Attachments: Harmony-5549.zip > > > Add new jdwp command "ClassFileVersion" for jdwp 6. > This command will return the specific class's major and minor version through jvmti GetClassVersionNumbers function. > The new jvmti 6 function GetClassVersionNumber are still not available in our repository. > To build it, just make the include patch point to jvmti.h of Java 6. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From commitsrobertsjustin@example.org Mon Mar 03 03:29:59 2008 Return-Path: <commitsrobertsjustin@example.org> Delivered-To: robertsjustin@example.org Received: (qmail 20475 invoked from network); 3 Mar 2008 03:29:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Mar 2008 03:29:55 -0000 Received: (qmail 24677 invoked by uid 500); 3 Mar 2008 03:29:51 -0000 Delivered-To: robertsjustin@example.org Received: (qmail 24655 invoked by uid 500); 3 Mar 2008 03:29:51 -0000 Mailing-List: contact robertsjustin@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:robertsjustin@example.org> List-Unsubscribe: <mailto:robertsjustin@example.org> List-Post: <mailto:robertsjustin@example.org> List-Id: <commits.harmony.apache.org> Reply-To: robertsjustin@example.org Delivered-To: mailing list robertsjustin@example.org Received: (qmail 24637 invoked by uid 99); 3 Mar 2008 03:29:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2008 19:29:51 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2008 03:29:24 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 5C34C234C05C for <robertsjustin@example.org>; Sun, 2 Mar 2008 19:28:50 -0800 (PST) Message-ID: <286170696.1204514930376.JavaMail.jira@brutus> Date: Sun, 2 Mar 2008 19:28:50 -0800 (PST) From: "Regis Xu (JIRA)" <robertsjustin@example.org> To: robertsjustin@example.org Subject: [jira] Created: (HARMONY-5561) implements all update methods in CachedRowSet MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org implements all update methods in CachedRowSet --------------------------------------------- Key: HARMONY-5561 URL: https://issues.apache.org/jira/browse/HARMONY-5561 Project: Harmony Issue Type: New Feature Components: Classlib Reporter: Regis Xu implements updateString, updateInt etc methods. I will create patch soon. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From commitsrobertsjustin@example.org Mon Mar 03 03:31:58 2008 Return-Path: <commitsrobertsjustin@example.org> Delivered-To: robertsjustin@example.org Received: (qmail 23068 invoked from network); 3 Mar 2008 03:31:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Mar 2008 03:31:57 -0000 Received: (qmail 27446 invoked by uid 500); 3 Mar 2008 03:31:53 -0000 Delivered-To: robertsjustin@example.org Received: (qmail 27415 invoked by uid 500); 3 Mar 2008 03:31:53 -0000 Mailing-List: contact robertsjustin@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:robertsjustin@example.org> List-Unsubscribe: <mailto:robertsjustin@example.org> List-Post: <mailto:robertsjustin@example.org> List-Id: <commits.harmony.apache.org> Reply-To: robertsjustin@example.org Delivered-To: mailing list robertsjustin@example.org Received: (qmail 27406 invoked by uid 99); 3 Mar 2008 03:31:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2008 19:31:53 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2008 03:31:14 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 68BC9234C05C for <robertsjustin@example.org>; Sun, 2 Mar 2008 19:30:50 -0800 (PST) Message-ID: <1457200681.1204515050427.JavaMail.jira@brutus> Date: Sun, 2 Mar 2008 19:30:50 -0800 (PST) From: "Regis Xu (JIRA)" <robertsjustin@example.org> To: robertsjustin@example.org Subject: [jira] Updated: (HARMONY-5561) implements all update methods in CachedRowSet In-Reply-To: <286170696.1204514930376.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-5561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Regis Xu updated HARMONY-5561: ------------------------------ Attachment: Harmony-5561.diff Would anyone want to try this? > implements all update methods in CachedRowSet > --------------------------------------------- > > Key: HARMONY-5561 > URL: https://issues.apache.org/jira/browse/HARMONY-5561 > Project: Harmony > Issue Type: New Feature > Components: Classlib > Reporter: Regis Xu > Attachments: Harmony-5561.diff > > > implements updateString, updateInt etc methods. > I will create patch soon. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From commitsrobertsjustin@example.org Mon Mar 03 08:06:01 2008 Return-Path: <commitsrobertsjustin@example.org> Delivered-To: robertsjustin@example.org Received: (qmail 74876 invoked from network); 3 Mar 2008 08:06:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Mar 2008 08:06:01 -0000 Received: (qmail 9261 invoked by uid 500); 3 Mar 2008 08:05:57 -0000 Delivered-To: robertsjustin@example.org Received: (qmail 9242 invoked by uid 500); 3 Mar 2008 08:05:57 -0000 Mailing-List: contact robertsjustin@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:robertsjustin@example.org> List-Unsubscribe: <mailto:robertsjustin@example.org> List-Post: <mailto:robertsjustin@example.org> List-Id: <commits.harmony.apache.org> Reply-To: robertsjustin@example.org Delivered-To: mailing list robertsjustin@example.org Received: (qmail 9221 invoked by uid 99); 3 Mar 2008 08:05:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2008 00:05:57 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2008 08:05:30 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 428E4234C083 for <robertsjustin@example.org>; Mon, 3 Mar 2008 00:04:55 -0800 (PST) Message-ID: <1649280076.1204531495271.JavaMail.jira@brutus> Date: Mon, 3 Mar 2008 00:04:55 -0800 (PST) From: "Tony Wu (JIRA)" <robertsjustin@example.org> To: robertsjustin@example.org Subject: [jira] Assigned: (HARMONY-5561) implements all update methods in CachedRowSet In-Reply-To: <286170696.1204514930376.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-5561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tony Wu reassigned HARMONY-5561: -------------------------------- Assignee: Tony Wu > implements all update methods in CachedRowSet > --------------------------------------------- > > Key: HARMONY-5561 > URL: https://issues.apache.org/jira/browse/HARMONY-5561 > Project: Harmony > Issue Type: New Feature > Components: Classlib > Reporter: Regis Xu > Assignee: Tony Wu > Attachments: Harmony-5561.diff > > > implements updateString, updateInt etc methods. > I will create patch soon. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From commitsrobertsjustin@example.org Mon Mar 03 08:16:33 2008 Return-Path: <commitsrobertsjustin@example.org> Delivered-To: robertsjustin@example.org Received: (qmail 80653 invoked from network); 3 Mar 2008 08:16:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Mar 2008 08:16:33 -0000 Received: (qmail 17394 invoked by uid 500); 3 Mar 2008 08:16:29 -0000 Delivered-To: robertsjustin@example.org Received: (qmail 17376 invoked by uid 500); 3 Mar 2008 08:16:29 -0000 Mailing-List: contact robertsjustin@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:robertsjustin@example.org> List-Unsubscribe: <mailto:robertsjustin@example.org> List-Post: <mailto:robertsjustin@example.org> List-Id: <commits.harmony.apache.org> Reply-To: robertsjustin@example.org Delivered-To: mailing list robertsjustin@example.org Received: (qmail 17366 invoked by uid 99); 3 Mar 2008 08:16:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2008 00:16:29 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eris.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2008 08:16:01 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C683B1A9832; Mon, 3 Mar 2008 00:16:11 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r632978 - in /harmony/enhanced/classlib/trunk/modules/sql/src: main/java/org/apache/harmony/sql/internal/nls/ main/java/org/apache/harmony/sql/internal/rowset/ test/java/org/apache/harmony/sql/tests/internal/rowset/ Date: Mon, 03 Mar 2008 08:16:08 -0000 To: robertsjustin@example.org From: robertsjustin@example.org X-Mailer: svnmailer-1.0.8 Message-Id: <robertsjustin@example.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tonywu Date: Mon Mar 3 00:16:06 2008 New Revision: 632978 URL: http://svn.apache.org/viewvc?rev=632978&view=rev Log: Apply patch for HARMONY-5561 (implements all update methods in CachedRowSet) Added: harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/CachedRowSetUpdateTest.java (with props) Modified: harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/nls/messages.properties harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/rowset/CachedRow.java harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/rowset/CachedRowSetImpl.java harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/CachedRowSetImplTest.java Modified: harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/nls/messages.properties URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/nls/messages.properties?rev=632978&r1=632977&r2=632978&view=diff ============================================================================== --- harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/nls/messages.properties (original) +++ harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/nls/messages.properties Mon Mar 3 00:16:06 2008 @@ -68,5 +68,6 @@ rowset.5=There are conflicts between rowset and data source rowset.6=Errors in the process of Writing Back RowData rowset.7=Not a valid cursor -rowset.8=The Result Set Type is TYPE_FORWARD_ONLY -rowset.9=PageSize can not larger than MaxRows +rowset.8=The ResultSet type is TYPE_FORWARD_ONLY +rowset.9=PageSize can not be larger than MaxRows +rowset.10=Data type mismatch Modified: harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/rowset/CachedRow.java URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/rowset/CachedRow.java?rev=632978&r1=632977&r2=632978&view=diff ============================================================================== --- harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/rowset/CachedRow.java (original) +++ harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/rowset/CachedRow.java Mon Mar 3 00:16:06 2008 @@ -122,6 +122,14 @@ return new CachedRow(originalColumnData); } + public void setOriginal() { + isUpdate = false; + isDelete = false; + isInsert = false; + mask.flip(0, columnData.length); + originalColumnData = columnData.clone(); + } + public Object getObject(int columnIndex) { return columnData[columnIndex - 1]; } Modified: harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/rowset/CachedRowSetImpl.java URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/rowset/CachedRowSetImpl.java?rev=632978&r1=632977&r2=632978&view=diff ============================================================================== --- harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/rowset/CachedRowSetImpl.java (original) +++ harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/rowset/CachedRowSetImpl.java Mon Mar 3 00:16:06 2008 @@ -34,8 +34,10 @@ import java.sql.SQLWarning; import java.sql.Savepoint; import java.sql.Statement; +import java.sql.Struct; import java.sql.Time; import java.sql.Timestamp; +import java.sql.Types; import java.util.ArrayList; import java.util.Calendar; import java.util.Collection; @@ -96,15 +98,50 @@ // TODO where is it initialized private CachedRowSetImpl originalResultSet; - private Object currentColumn; - private SQLWarning sqlwarn; + private Class[] columnTypes; + + private static Map<Integer, Class> TYPE_MAPPING = initialTypeMapping(); + + public static final String PROVIDER_ID = "Apache Harmony HYOptimisticProvider"; //$NON-NLS-1$ + public CachedRowSetImpl(String providerID) throws SyncFactoryException { syncProvider = SyncFactory.getInstance(providerID); initialProperties(); } + private static Map<Integer, Class> initialTypeMapping() { + HashMap<Integer, Class> map = new HashMap<Integer, Class>(); + map.put(Integer.valueOf(Types.ARRAY), Array.class); + map.put(Integer.valueOf(Types.BIGINT), Long.class); + map.put(Integer.valueOf(Types.BINARY), byte[].class); + map.put(Integer.valueOf(Types.BIT), Boolean.class); + map.put(Integer.valueOf(Types.BLOB), Blob.class); + map.put(Integer.valueOf(Types.BOOLEAN), Boolean.class); + map.put(Integer.valueOf(Types.CHAR), String.class); + map.put(Integer.valueOf(Types.CLOB), Clob.class); + map.put(Integer.valueOf(Types.DATE), Date.class); + map.put(Integer.valueOf(Types.DECIMAL), BigDecimal.class); + map.put(Integer.valueOf(Types.DOUBLE), Double.class); + map.put(Integer.valueOf(Types.FLOAT), Double.class); + map.put(Integer.valueOf(Types.INTEGER), Integer.class); + map.put(Integer.valueOf(Types.LONGVARBINARY), byte[].class); + map.put(Integer.valueOf(Types.LONGVARCHAR), String.class); + map.put(Integer.valueOf(Types.NUMERIC), BigDecimal.class); + map.put(Integer.valueOf(Types.REAL), Float.class); + map.put(Integer.valueOf(Types.REF), Ref.class); + map.put(Integer.valueOf(Types.SMALLINT), Short.class); + map.put(Integer.valueOf(Types.STRUCT), Struct.class); + map.put(Integer.valueOf(Types.TIME), Time.class); + map.put(Integer.valueOf(Types.TIMESTAMP), Timestamp.class); + map.put(Integer.valueOf(Types.TINYINT), Byte.class); + map.put(Integer.valueOf(Types.VARBINARY), byte[].class); + map.put(Integer.valueOf(Types.VARCHAR), String.class); + + return map; + } + private void initialProperties() { try { setEscapeProcessing(true); @@ -126,7 +163,7 @@ } public CachedRowSetImpl() throws SyncFactoryException { - this("Apache Harmony HYOptimisticProvider"); + this(PROVIDER_ID); } public void setRows(ArrayList<CachedRow> data, int cloumnCount) { @@ -176,7 +213,7 @@ public boolean columnUpdated(int idx) throws SQLException { if (currentRow == null || idx > meta.getColumnCount()) { // rowset.0 = Not a valid position - throw new SQLException(Messages.getString("rowset.0")); + throw new SQLException(Messages.getString("rowset.0")); //$NON-NLS-1$ } return currentRow.getUpdateMask(idx - 1); } @@ -192,7 +229,7 @@ } } // rowset.1=Not a valid column name - throw new SQLException(Messages.getString("rowset.1")); + throw new SQLException(Messages.getString("rowset.1")); //$NON-NLS-1$ } public void commit() throws SQLException { @@ -206,7 +243,7 @@ * the attribute of BaseRowSet which are needed to deep copy */ // BaseRowSet.params <Hashtable> - Object[] paramsObjArray = super.getParams().clone(); + Object[] paramsObjArray = super.getParams(); Hashtable<Object, Object> paramsHashtable = new Hashtable<Object, Object>(); for (int i = 0; i < paramsObjArray.length; i++) { paramsHashtable.put(Integer.valueOf(i), paramsObjArray[i]); @@ -298,7 +335,6 @@ CachedRowSetImpl output = (CachedRowSetImpl) createCopy(); // clean up rows data - output.currentColumn = null; output.currentRow = null; output.currentRowIndex = 0; output.insertRow = null; @@ -408,6 +444,14 @@ private void doPopulate(ResultSet rs, boolean isPaging) throws SQLException { meta = copyMetaData(rs.getMetaData()); + columnCount = meta.getColumnCount(); + // initial columnTypes + columnTypes = new Class[columnCount]; + for (int i = 1; i <= columnTypes.length; ++i) { + columnTypes[i - 1] = TYPE_MAPPING.get(Integer.valueOf(meta + .getColumnType(i))); + } + /* * this method not support paging, so before readData set pageSize and * maxRowsto 0 and restore previous values after readData @@ -526,11 +570,11 @@ public void setPageSize(int size) throws SQLException { if (size < 0) { // rowset.2=Negative page size - throw new SQLException(Messages.getString("rowset.2")); + throw new SQLException(Messages.getString("rowset.2")); //$NON-NLS-1$ } if ((getMaxRows() != 0) && (getMaxRows() < size)) { // rowset.9=PageSize can not larger than MaxRows - throw new SQLException(Messages.getString("rowset.9")); + throw new SQLException(Messages.getString("rowset.9")); //$NON-NLS-1$ } pageSize = size; } @@ -542,7 +586,7 @@ public void setTableName(String tabName) throws SQLException { if (tabName == null) { // rowset.3=Table name should not be null - throw new SQLException("rowset.3"); + throw new SQLException("rowset.3"); //$NON-NLS-1$ } tableName = tabName; } @@ -645,7 +689,7 @@ if (checkType && getType() == ResultSet.TYPE_FORWARD_ONLY) { // rowset.8=The Result Set Type is TYPE_FORWARD_ONLY - throw new SQLException(Messages.getString("rowset.8")); + throw new SQLException(Messages.getString("rowset.8")); //$NON-NLS-1$ } if (row < 0) { @@ -738,7 +782,8 @@ } public BigDecimal getBigDecimal(int columnIndex) throws SQLException { - throw new NotImplementedException(); + // TODO re-implement it + return (BigDecimal) getObject(columnIndex); } public BigDecimal getBigDecimal(int columnIndex, int scale) @@ -893,6 +938,7 @@ } public Object getObject(int columnIndex) throws SQLException { + // TODO re-implement it return currentRow.getObject(columnIndex); } @@ -949,12 +995,19 @@ return (String) value; } - private boolean checkCursorValid() throws SQLException { + private void checkColumnValid(int columnIndex) throws SQLException { + if (columnIndex <= 0 || columnIndex > meta.getColumnCount()) { + // sql.27=Invalid column index :{0} + throw new SQLException(Messages.getString("sql.27", Integer //$NON-NLS-1$ + .valueOf(columnIndex))); + } + } + + private void checkCursorValid() throws SQLException { if ((currentRowIndex <= 0) || (currentRowIndex > rows.size())) { // rowset.7=Not a valid cursor throw new SQLException(Messages.getString("rowset.7")); //$NON-NLS-1$ } - return false; } public String getString(String columnName) throws SQLException { @@ -1019,7 +1072,7 @@ checkValidRow(); if (currentRow != insertRow) { // rowset.4=Not an insert row - throw new SQLException(Messages.getString("rowset.4")); + throw new SQLException(Messages.getString("rowset.4")); //$NON-NLS-1$ } insertRow.setInsert(); rows.add(insertRow); @@ -1131,21 +1184,21 @@ public boolean rowUpdated() throws SQLException { if (!currentRow.isUpdate()) { return false; - } else { - boolean sign = false; - for (int i = 0; i < meta.getColumnCount(); ++i) { - sign = currentRow.getUpdateMask(i) | sign; - } - return sign; } + + boolean sign = false; + for (int i = 0; i < meta.getColumnCount(); ++i) { + sign = currentRow.getUpdateMask(i) | sign; + } + return sign; } public void updateArray(int columnIndex, Array x) throws SQLException { - throw new NotImplementedException(); + updateByType(columnIndex, x); } public void updateArray(String columnName, Array x) throws SQLException { - throw new NotImplementedException(); + updateArray(getIndexByName(columnName), x); } public void updateAsciiStream(int columnIndex, InputStream x, int length) @@ -1155,12 +1208,16 @@ public void updateAsciiStream(String columnName, InputStream x, int length) throws SQLException { - throw new NotImplementedException(); + updateAsciiStream(getIndexByName(columnName), x, length); } public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException { - currentRow.updateObject(columnIndex, x); + if (x == null) { + throw new NullPointerException(); + } + + updateByType(columnIndex, x); } public void updateBigDecimal(String columnName, BigDecimal x) @@ -1175,39 +1232,39 @@ public void updateBinaryStream(String columnName, InputStream x, int length) throws SQLException { - throw new NotImplementedException(); + updateBinaryStream(getIndexByName(columnName), x, length); } public void updateBlob(int columnIndex, Blob x) throws SQLException { - throw new NotImplementedException(); + updateByType(columnIndex, x); } public void updateBlob(String columnName, Blob x) throws SQLException { - throw new NotImplementedException(); + updateBlob(getIndexByName(columnName), x); } public void
{'source': 'Apache Software Foundation Public Mail Archives'}