Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS X Java Performance



Armin Ehrenreich <email@hidden> wrote:

>"SwingSet2" demo start it from the command line to watch the output.
>Watch startup time.

If startup time is a major problem, prestarting the JVM and having it
preload classes should improve things. This assumes most JVM elements
(libs, classes, JITC'ed code, etc.) are being shared among multiple
processes, as I've read that Apple's JVM does. The remaining question then
would be deciding which classes (and their JNI-libs, if any) would be the
most valuable ones to preload.

In general, I have noticed that starting a Java program again is much
faster than the very first time. It might be worth a little
experimentation with a Placeholder app to find out if it really makes a
practical difference. If it works out, turning it into a startup-item
would be relatively straightforward:

<http://www.opensource.apple.com/projects/documentation/howto/html/SystemStarter_HOWTO.html>

In any case, this would be a work-around, not a fix, so you should still
file a bug-report on this problem, including all the supporting evidence
and test-cases you can gather.

-- GG
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.