Application memory use

Henri Gomez henri.gomez at gmail.com
Mon Apr 23 03:08:57 PDT 2012


>> http://docs.oracle.com/javase/7/docs/technotes/guides/vm/performance-enhancements-7.html
>
> OK reading this I'm not sure there is much I can do in order to compare both running the same mode to see if this about all of the memory use difference.
> Since 32 bit isn't available in current builds compression is not possible?
> Do you currently have any builds that still actually include the 32 bit in a universal build?
>
> For the Java 6 I'm assuming I'm also stuck with the default and can't change given...
>
>> For JDK 6 before the 6u23 release, use the -XX:+UseCompressedOops flag with the java command to enable the feature.
>
> Along with...
> /usr/libexec/java_home -v 1.6 --exec java -version
> java version "1.6.0_31"
> Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-10M3635)
> Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode)
>
> I'm assuming the 31 in 1.6.0_31 means > the 23 in 6u23? So forced to use the default there as well?

-XX:+UseCompressedOop is activated by default on 23 and post release


More information about the macosx-port-dev mailing list