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: ScreenMenuBar Dead (!!!) Slow



"Thomas Schmidt" <email@hidden> wrote:

>However, I am positive that my app is 100% pure Java.

That's irrelevant. There are zillions of 100% Pure Java ways to bring any
machine to a crawl. Some are even fairly cross-platform, though others
only bring certain platforms to a crawl.


>So: No matter what possible optimizations my app is missing - all
>OS except MAC OS X seem to be able to live with it. So what is wrong here?

Have you done a profile of your app? This is trivial to do with the
'-Xprof' option to the 'java' command.

Even if your app is blameless, it may be doing something that triggers the
OS or JVM into this intense slowdown. That would then be evidence of a bug
in the OS or JVM. A profile may help you find exactly where vast amounts
of time are being spent. Or not. But if you are simply going to assert
that your app is blameless and non-contributory, you're never going to find
a solution, much less a cause.

-- 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.