Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

the definition of "-Xmn"

843829Aug 19 2008 — edited Aug 20 2008
Hi

I read the tuning example (from Sun web site) as following

java -Xmx3800m -Xms3800m -Xmn2g -Xss128k -XX:+UseParallelGC -XX:ParallelGCThreads=20

Comments:

* -Xmx3800m -Xms3800m
Configures a large Java heap to take advantage of the large memory system.
* -Xmn2g
Configures a large heap for the young generation (which can be collected in parallel), again taking advantage of the large memory system. It helps prevent short lived objects from being prematurely promoted to the old generation, where garbage collection is more expensive.

I can't find the definition of -Xmn, is it actually eden size? If yes, is it ok for eden size larger than halt of total heap size?

Thanks
Yanchou Han
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 17 2008
Added on Aug 19 2008
1 comment
361 views