title: GC in Java 8 get obviously slower compare to Java 7
body: <p>I have a server with 72 GB memory running, it was use Java 7 with parallel GC and heap size in 25G. But after switch into Java 8, a particular task get much slower. The task basically read a file around 15GB in the memory, and update some relevant data in DB. It usually takes around one hour to finished the job, but after Java 8, it becomes 1.5 hours. </p>
  
  <p>I tried:</p>
  
  <ol>
  <li>Increase heap size to 50GB => not help</li>
  <li>Change GC algorithm from parallel to CMS, it becomes even slower (1.8 hour)</li>
  </ol>
  
  <p>So I am not sure where I can start to have a look, the java library to run the task is still compiled in Java 7 but I am not sure if this relevant?
  After switch to Java 7, the performance just came back.</p>