From my observation, JDK 6's server JVM is so much better than previous
versions of JVM, it beats C and C# by a big margin ...
----- Original Message -----
From: "Santiago Pericas-Geertsen" <Santiago.Pericasgeertsen_at_Sun.COM>
To: <users_at_fi.dev.java.net>
Cc: <users_at_jaxp.dev.java.net>
Sent: Monday, February 26, 2007 11:02 AM
Subject: Re: VTD speed
>
> On Feb 22, 2007, at 5:47 PM, Tatu Saloranta wrote:
>
>> --- Santiago Pericas-Geertsen
>> <Santiago.Pericasgeertsen_at_Sun.COM> wrote:
>>
>>> Jimmy,
>>>
>>> JDK 6 includes a number of different
>>> optimizations, at the VM layer
>>> and the JAXP layer. However, I don't recall any big
>>> changes to
>>> optimize XPath. So this may be the case of several
>>> optimizations
>>> working together or perhaps some changes in your
>>> benchmark?
>>
>> There was this one bug (I wish I had BugID handy) that
>> basically made some sub-tree xpath queries hideously
>> slow, as in proportional to the size of the whole
>> tree, instead of just subtree affected: for which one
>> work around was to detach the child node (root of the
>> sub-tree), do xpath, then reattch the node.
>> I think had to do with buiding of XPathContext or
>> something.
>> Does this ring a bell? I can look it up if necessary.
>
> It doesn't ring a bell. But perhaps somebody else worked on it. Was
> it filed at Apache?
>
> -- Santiago
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_fi.dev.java.net
> For additional commands, e-mail: users-help_at_fi.dev.java.net
>
>