Learning goals of this exercise
In this exercise you will learn:
Background for this exercise
Please see Exercise 1 for an overview of running
the javaperf GUI launcher.
In this exercise we
compromise by setting the young gen size between the "too small" value
of Exercise 1 and the "too big" value of Exercise 2.
The "right" value will, of course, depend on the application. As
long as you avoid the extremes there is probably a range of acceptable
values. You will want client applications to tend towards the
lower end of this range and server applications towards the higher end.
Steps to follow
compiler=
|
. You will see the Java 2D Demo application start.... Immediately click on the "Transforms" tab.
Then click into the "Shear" area so it fills the entire window.![[Stop]](Stop.png)
Summary
How do you know the young
gen sized just right? When it's not too small or too big! 
Of course, spending a minimum amount of time in GC is a good indication.
Next Steps
This lab documentation is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.