title: What kind of GC does System.gc() trigger?
body: <p>I have not been able to find the type of GC that <code>System.gc()</code> recommends the JVM to do. <a href="https://docs.oracle.com/cd/E19900-01/819-4742/6n6sfgmkr/index.html" rel="nofollow noreferrer">Here</a>, it is said that "the <code>System.gc()</code> method ... forces major collections", but <a href="https://stackoverflow.com/questions/9546392/what-triggers-a-full-garbage-collection-in-java">this</a> post implies a full gc is requested. </p>
  
  <p>Could anyone clarify or point to documentation that spells this out? In other words, is it a major or full gc that is requested?</p>