Process-level fork on OpenJDK...is it madness?
blackdrag at gmx.org
Tue Nov 29 15:10:47 PST 2011
Am 29.11.2011 23:34, schrieb Thomas Wuerthinger:
> On 11/29/11 11:22 PM, Jochen Theodorou wrote:
>> Am 29.11.2011 22:32, schrieb Mark Roos:
>>> I just finished a paper (link below) on JVM startup time which states
>>> that for small programs its around
>>> 70ms. So I assume there is some other startup time you are trying to
>>> improve? Or is the
>>> paper not applicable to the launching of a new process as you describe it?
>> For the JVM itself that might be true, but in case of for example Groovy
>> there is a lot if init work to be done before the first program can be
>> executed. And this takes time.
>> bye Jochen
> What kind of initialization work is this? Could the result of that work
> be cached?
we have to setup the initial meta class system, which requires to use
reflection to inspect some classes and other work. Yes, this could be
cached, if we would know how.
Jochen "blackdrag" Theodorou - Groovy Project Tech Lead
german groovy discussion newsgroup: de.comp.lang.misc
For Groovy programming sources visit http://groovy-lang.org
More information about the mlvm-dev