Re: [classlib][modularity] Logging performance improvements (HARMONY-6362)

2009-11-12 Thread Tim Ellison
On 09/Nov/2009 22:31, Jesse Wilson wrote: On Mon, Nov 9, 2009 at 4:14 AM, Tim Ellison t.p.elli...@gmail.com wrote: I didn't mean to ask Why is a CopyOnWriteArrayList useful?, rather what did it contribute to your logging improvements, e.g. correctness that would require tons of duplicate

Re: [classlib][modularity] Logging performance improvements (HARMONY-6362)

2009-11-12 Thread Tim Ellison
On 10/Nov/2009 03:52, Nathan Beyer wrote: On Mon, Nov 9, 2009 at 4:31 PM, Jesse Wilson jessewil...@google.com wrote: On Mon, Nov 9, 2009 at 4:14 AM, Tim Ellison t.p.elli...@gmail.com wrote: I didn't mean to ask Why is a CopyOnWriteArrayList useful?, rather what did it contribute to your

Re: [classlib][modularity] Logging performance improvements (HARMONY-6362)

2009-11-12 Thread Tim Ellison
On 10/Nov/2009 19:38, Jesse Wilson wrote: On Tue, Nov 10, 2009 at 1:47 AM, Mark Hindess mark.hind...@googlemail.comwrote: Since they aren't active on the list I'm not sure how much we should let this influence our decision. It does suggest that we should be cautious about making

Re: [classlib][modularity] Logging performance improvements (HARMONY-6362)

2009-11-12 Thread enh
On Thu, Nov 12, 2009 at 02:44, Tim Ellison t.p.elli...@gmail.com wrote: On 09/Nov/2009 22:31, Jesse Wilson wrote: On Mon, Nov 9, 2009 at 4:14 AM, Tim Ellison t.p.elli...@gmail.com wrote: I didn't mean to ask Why is a CopyOnWriteArrayList useful?, rather what did it contribute to your logging

Re: [classlib][modularity] Logging performance improvements (HARMONY-6362)

2009-11-12 Thread Mark Hindess
In message 96933a4d0911121432mb5e0d88we33965c32c578...@mail.gmail.com, enh writes: [btw, i followed the link, but didn't really understand what i was looking at or how it demonstrated the case.] Sorry, I probably assumed too much history[0]. That link pointed to a list of files that changed

Re: [classlib][modularity] Logging performance improvements (HARMONY-6362)

2009-11-10 Thread Mark Hindess
In message a43fbc6a0910270932x785b1a64pf454995f940a9...@mail.gmail.com, Jesse Wilson writes: How do you feel about saying the core is LUUUNI ? - lang - util - util.concurrent.* - util.jar - util.regex - util.logging - util.prefs - util.zip - net - io This feels like a

Re: [classlib][modularity] Logging performance improvements (HARMONY-6362)

2009-11-10 Thread Jesse Wilson
On Tue, Nov 10, 2009 at 1:47 AM, Mark Hindess mark.hind...@googlemail.comwrote: Since they aren't active on the list I'm not sure how much we should let this influence our decision. It does suggest that we should be cautious about making assumptions about what downstream users might like to

Re: [classlib][modularity] Logging performance improvements (HARMONY-6362)

2009-11-09 Thread Tim Ellison
On 27/Oct/2009 16:32, Jesse Wilson wrote: On Tue, Oct 27, 2009 at 7:20 AM, Tim Ellison t.p.elli...@gmail.com wrote: The improvement in performance is impressive. What is the contribution made by the use of the CopyOnWriteArrayList? CopyOnWriteArrayList is ideal for situations when the

Re: [classlib][modularity] Logging performance improvements (HARMONY-6362)

2009-11-09 Thread Jesse Wilson
On Mon, Nov 9, 2009 at 4:14 AM, Tim Ellison t.p.elli...@gmail.com wrote: I didn't mean to ask Why is a CopyOnWriteArrayList useful?, rather what did it contribute to your logging improvements, e.g. correctness that would require tons of duplicate coding otherwise, or performance numbers, etc.

Re: [classlib][modularity] Logging performance improvements (HARMONY-6362)

2009-11-09 Thread Nathan Beyer
On Mon, Nov 9, 2009 at 4:31 PM, Jesse Wilson jessewil...@google.com wrote: On Mon, Nov 9, 2009 at 4:14 AM, Tim Ellison t.p.elli...@gmail.com wrote: I didn't mean to ask Why is a CopyOnWriteArrayList useful?, rather what did it contribute to your logging improvements, e.g. correctness that

[classlib][modularity] Logging performance improvements (HARMONY-6362)

2009-10-27 Thread Tim Ellison
On 26/Oct/2009 20:33, Jesse Wilson (JIRA) wrote: Logging performance improvements Key: HARMONY-6362 URL: https://issues.apache.org/jira/browse/HARMONY-6362 Project: Harmony Issue Type: Improvement

Re: [classlib][modularity] Logging performance improvements (HARMONY-6362)

2009-10-27 Thread Tony Wu
Good question. We may face more and more similar cases in future as multi-core is the trend. an ideal solution is to detect if there is concurrent module in classpath then we load it and use the improved implementation otherwise we go back to the original. On Tue, Oct 27, 2009 at 10:20 PM, Tim

Re: [classlib][modularity] Logging performance improvements (HARMONY-6362)

2009-10-27 Thread Jesse Wilson
On Tue, Oct 27, 2009 at 7:20 AM, Tim Ellison t.p.elli...@gmail.com wrote: The improvement in performance is impressive. What is the contribution made by the use of the CopyOnWriteArrayList? CopyOnWriteArrayList is ideal for situations when the following are all true: - reads are frequent -