| 目次 |
|---|
|
・GCログの見かた ・compaction発生時のログ |
<AF[31]: Allocation Failure. need 8192 bytes, 431346 ms since last AF> <AF[31]: managing allocation failure, action=1 (0/794771184) (10265048/10468112)> <GC(48): freeing class sun.reflect.GeneratedSerializationConstructorAccessor23(301cba68)> <GC(48): unloaded and freed 1 class> <GC(48): GC cycle started Thu Apr 19 11:15:23 2007 <GC(48): freed 712889680 bytes, 89% free (723154728/805239296), in 176 ms> <GC(48): mark: 165 ms, sweep: 11 ms, compact: 0 ms> <GC(48): refs: soft 3 (age >= 32), weak 0, final 4562, phantom 0> <AF[31]: completed in 176 ms>最初の行は8192bytesのメモリ割り当てに失敗、前回のメモリ割り当て失敗から431346ms時間経過しています、という意味です。
<GC(105): moved 422899 objects, 20684680 bytes, reason=4, used 328 more bytes>compaction実行時に422899このオブジェクトを移動し、328bytes空き領域が増えたことを意味します。