JRockit5.0的GC选择矩阵

Garbage Collector Selection Matrix

Table 3-2 is a matrix that you can use to determine which garbage collector is right for your application. Use the If You... column to locate a condition that matches what you want for your application and select the garbage collector indicated in the Use this Garbage Collector... column. The third column, Or use..., lists an alternate supported garbage collector.

 

If You...

Use this Garbage Collector...

Or use...

  • Want to have as short pause times as possible.

  • Are willing to trade (some) application thoughput for shorter pauses.

  • Have a single CPU machine with a lot of memory.

  • Want better application throughput than possible with single-spaced concurrent.

-Xgcprio:pausetime

-Xgc:singlecon

-Xgc:gencon

  • Using a machine with four CPUs or better or a single CPU machine with a lot of memory.

  • Can tolerate the occasional long pause.

  • Need to maximize application throughput.

-Xgcprio:throughput

-Xgc:parallel

  • Do not want a dynamic garbage collector.

-Xgc:parallel

-Xgc:singlecon

 

使用BEA JRockit Management Console 来查看GC。

 

你可能感兴趣的:(table,application,Matrix,parallel)