title: How can I see which garbage collector java is using
body: <p>The Java Virtual Machine supports several garbage collection strategies. </p>
  
  <p>This <a href="http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html" rel="noreferrer">article</a> explains them.</p>
  
  <p>Now I am wondering which (automatically selected) strategy my application is using, is there any way to let the JVM(version 1.6) print this information?</p>
  
  <p>Edit: The JVM detects if it is in client or server mode. So the question really is how can I see which has been detected?</p>