|
|
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.
We have used only the Java 2D Demo application up to this point. The javaperf GUI launcher can be adapted to use other applications as well. This is an example of using the Font 2D application.
Steps to follow
JAVAPERF_HOME/conf/exer20.properties file contains:
# javaperf hands-on lab properties for an exercise
exer.jar=${demo.home}/jfc/Font2DTest/Font2DTest.jar
exer.logs=${javaperf.logs}/exer${exer.num}
exer.log=${exer.logs}/Font2DTest.log
exer.name=${exer.num}: Demonstrate the Font 2D Application
exer.compiler=
exer.heap=-XX:PermSize=12m -XX:MaxPermSize=12m -XX:NewSize=4m -XX:MaxNewSize=4m -Xms12m -Xmx12m
exer.gc=-XX:+DisableExplicitGC
exer.other=
|
compiler=
|
. You will see the Font 2D Demo application start...
Summary
This is an example of using the javaperf GUI launcher to visualize the behavior of a different application.
Next Steps
This lab documentation is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.