users@jaxb.java.net

Re: Making JAXBContextImpl serializable

From: Kenny MacLeod <kennym_at_kizoom.com>
Date: Wed, 08 Nov 2006 07:55:03 +0000

I'll try out the new build today when I get a chance.

If it helps, one of the big schemas I've been using for this can be
found at http://www.kizoom.com/standards/siri/schema/1.0/siri-1.0.zip

Kohsuke Kawaguchi wrote:
> Kenny MacLeod wrote:
>> That's pretty much the same hotspots I got from profiling my schema
>> (570 XJC-generated types), although the balance is slightly different.
>>
>> Around 45% spent in ModelBuilder.getTypeInfo(Ref), which drills down
>> to 37% spent in ModelBuilder.getClassInfo(Object, Locatable).
>>
>> The other big one is 37% spent in
>> JAXBContextImpl.getOrCreate(RuntimeClassInfo).
>>
>> So it looks like reflection is the prime offender here, if I'm
>> understanding this correctly. Like Eric, my profiling skills is not
>> extraordinary.
>
> If you can send your profiler data file, that would be really great.
> Having more data is very important for not over-adopting to a particular
> schema.
>
>