dev@glassfish.java.net

Re: [Fwd: why is CPU usage so poor on Glassfish startup?]

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Tue, 15 Aug 2006 00:03:53 -0700

Scott Oaks wrote:
>>What I don't "get" is why the other modules don't perform their
>>initialization in a separate thread, with suitable threading locks or
>>barriers when there are dependencies. The server *should* be able to
>>start up in about 2 seconds on my MacBook Pro.
>
>
> One thing that impacts this is the Java classloading hierarchy; all
> class loaders used by the appserver delegate to the system classloader,
> so that becomes a big single-threaded bottleneck. We are investigating
> ways to improve this in 9.1.

Is the system classloader really that big of a bottleneck?
*Everyone* uses the system classloader, I would expect that
it had been well tuned and multi-threaded by now. If not,
looks like we have feedback for the Java SE group!