Re: Java Garbage Collection
- From: Mark Space <markspace@xxxxxxxxxxxxxx>
- Date: Mon, 31 Mar 2008 09:33:11 -0700
Tim.Docis@xxxxxxxxxxxxx wrote:
Hi
Need to be able to find out how to set the type of Garbage Collection
we are using on our win 2003 server. JDK1.5 installed. Running Apache
Tomcat5. JConsole shows we have PS MarkSweep and PS Scavenge as GC's.
Does anyone know how to change this? (Duplicate other servers are
using "Copy" and "MarkSweepCompact" as Garbage Collectors...dont know
how there is a difference...
Also, does anyone know how to switch the JIT compiler between HotSpot
Client and HotSpot Server compiler?
Thank You
Here's an interesting white paper which touches on various performance issues in Java, including garbage collection.
<http://java.sun.com/performance/reference/whitepapers/6_performance.html>
More thoughts along those lines:
<http://www.ibm.com/developerworks/java/library/j-java6perfmon/>
<http://java.sun.com/javase/6/webnotes/trouble/TSG-VM/html/clopts.html>
<http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html>
That last one has a FAQ with some command line options at the end. Is "PS" the parallel threads GC? Wouldn't that be better on a multi-core machine?
Here's how to set the command line for 1.4:
<http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/java.html>
I still can't find the exact commands for GCs. This looks like a good starting point:
<http://docs.sun.com/source/819-0084-10/pt_tuningjava.html>
.
- References:
- Java Garbage Collection
- From: Tim . Docis
- Java Garbage Collection
- Prev by Date: Re: More than 1 MouseListener
- Next by Date: Re: 4gb USB Flash drive for $14.49
- Previous by thread: Re: Java Garbage Collection
- Next by thread: [MILANO - LUGANO] - Cercasi un programmatore Java e un programmatore python/php
- Index(es):
Relevant Pages
|