O'Reilly logo

Oracle SOA Suite Performance Tuning Cookbook by Matt Brasier, Nicholas Wright

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Choosing a garbage collection algorithm in HotSpot

Choice of garbage collection algorithm can have a huge impact on the performance of an application, which is why HotSpot provides a number of choices. This recipe explains how to set the garbage collection algorithm for HotSpot, and then discusses the trade-offs between the algorithm choices at a high level.

Getting ready

This recipe assumes you are using the HotSpot JVM. There is a separate recipe covering JRockit.

For more details, refer to the Getting ready section of the Setting the new size recipe.

How to do it...

To set the HotSpot garbage collector for a WebLogic Server, perform the following steps:

  1. Navigate to the domain's bin directory:
    cd %MIDDLEWARE_HOME%/user_projects/domains/soa_domain/bin ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required