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: BufferedImages not garbage collected -- any suggestions?



Michael Hall  wrote:
>I might not be remembering correctly but I seem to recall when this  
>came up before that setting the quartz rendering property at 1.4 got  
>me the same numbers as I seemed to get at 1.5. 1.5 numbers didn't  
>seem to change regardless of the property setting. So I figured it  
>was mainly a 1.4 optional thing that was always on at 1.5? Maybe I'm  
>thinking of a different property or my numbers were not the norm.

Oh good. I didn't know the system property whas in there before. 

The release notes in the Developer Preview explain where one should expect
performance differences. I am getting very distinct FPS rates with my test
applet when running with the different Java2D engines.

The applet is a microbenchmark though. So, with a real application the speed
ups and slow downs may even out each other.


>I'm a little curious. A new Java2D benchmark to be bundled with Java  
>1.6, Mustang, J2DBench, looks to have come up in the forum  
>discussions you mentioned. It appeared you may of done a build of  
>that. Would that be here?
>
>http://www.randelshofer.ch/oop/graphics/index.html
>
>or do you have a OS/X build available? I'm not sure of redistribution  
>concerns there.
>Or any quick instructions on how that might be installed / configured  
>on OS/X?

I can't redistribute my patched version of J2DBench. The license does not
permit redistribution at all.

It is very easy to run J2DBench on Mac OS X. Just download the source version
of Mustang, and then search for class J2DBench. There is even a NetBeans
project for J2DBench in Mustang. If you are using this IDE, you are up and
running in a few minuts.
J2DBench runs with Java 1.2 or higher. So, you can easily compare the rendering
performance of the different JVM versions. To compare the Quartz engine with
Sun's engine, all you need to do, is to supply the system property to the
JVM when launching J2DBench.

With kind regards,
Werner




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: BufferedImages not garbage collected -- any suggestions? (From: Michael Hall <email@hidden>)



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.