users@jaxb.java.net

Re: Making JAXBContextImpl serializable

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Wed, 08 Nov 2006 07:14:00 -0800

Kenny MacLeod wrote:
> I gave this a try, and it didn't appear to make any different to the
> hotspots whatsoever.
>
> Suspecting I had just set the property incorrectly, I modified
> JAXBContextImpl to print out the fastboot value, and it was correctly set.
>
> I could send you before-and-after netbeans profiler dumps, but that's
> 4.5 megs worth, which I can't post here. Would they be of any use?

Yes. I'm curious why it didn't make any difference, and the profiler
snapshot should reveal that.

>
>
> Kohsuke Kawaguchi wrote:
>> Kohsuke Kawaguchi wrote:
>>> I'll make a few changes and post a new 2.0 nightly. Can you rerun it
>>> again with the new jars and send me the new profiler snapshot?
>>
>> I've committed changes. If you can get the nightly tomorrow morning and
>> send me the result that would be great. Hopefully we should see some
>> improvements.
>>
>> Oh, please add
>> -Dcom.sun.xml.bind.v2.runtime.JAXBContextImpl.fastBoot=true system
>> property for now. We'll think about a better API later.
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com