Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] uuid generation (was Re: Scope of namespaces)

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Wolfgang Hoschek <wolfgang.hoschek AT mac.com>
  • To: Nils Kilden-Pedersen <nilskp AT gmail.com>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] uuid generation (was Re: Scope of namespaces)
  • Date: Tue, 7 Feb 2006 12:02:48 -0800

It apparently did get fixed in mustang: http://bugs.sun.com/ bugdatabase/view_bug.do?bug_id=6202042

Wolfgang.

On Feb 7, 2006, at 11:06 AM, Nils Kilden-Pedersen wrote:

On 2/7/06, Steve Loughran <steve.loughran AT gmail.com> wrote:

Look at the source: Its serialized. if you have one thread creating
many uuids, you dont take a hit, but if you have many threads, then
you go at the rate of the slowest.


Where do you see this serialization?

What I did notice in the randomUUID() method was this:

UUID result = new UUID(randomBytes);
return new UUID(randomBytes);

Seems like an oversight.


Nils
_______________________________________________
XOM-interest mailing list
XOM-interest AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/xom-interest





Archive powered by MHonArc 2.6.24.

Top of Page