6) 设置 设置JVM参数 参数2 参数Typical Client VMs Single CPU machines Application characteristics:– Small heap sizes – Short-lived – Single user with few threads – Typically not I/O bound
Typical Server VMs Multi-processor servers Application characteristics:– Large heap sizes – Long uptimes – Many threads doing short activities – High network & file I/O
VM spends most time translating and executing byte codes– Garbage collec
tion pauses not a problem
VM needs to spend more time managing I/O, threads, & memory– Garbage collection pauses create a huge problem
CG = Code Generation MM = Memory Management TM = Thread Management I/O R = Reflection© 2002 BEA Systems, Inc. Company Confidential 17