GC Taking CPU cycles


Memory allocation failure can be detected:

$ jstat -gccause 25071 1s
  S0     S1     E      O      M     CCS    YGC     YGCT    FGC    FGCT     GCT    LGCC                 GCC
  0.00  99.74  41.75  18.90  97.17  93.61     21    2.397     1    0.117    2.514 Allocation Failure   No GC
  0.00  99.74  41.80  18.90  97.17  93.61     21    2.397     1    0.117    2.514 Allocation Failure   No GC
  0.00  99.74  42.01  18.90  97.17  93.61     21    2.397     1    0.117    2.514 Allocation Failure   No GC
  0.00  99.74  42.13  18.90  97.17  93.61     21    2.397     1    0.117    2.514 Allocation Failure   No GC
  0.00  99.74  42.29  18.90  97.17  93.61     21    2.397     1    0.117    2.514 Allocation Failure   No GC

Few solutions: http://oracle-base.com/articles/misc/monitoring-java-garbage-collection-using-jstat.php

Posted on June 06, 2015 09:10 AM by Subhash Chandran
java performace