Method: JvmGcGraph::ParseMemoryLog#parse_lines

Defined in:
lib/jvm_gc_graph.rb

#parse_linesObject



49
50
51
52
53
54
55
56
57
58
# File 'lib/jvm_gc_graph.rb', line 49

def parse_lines
  lines.each do |line|
    if m = line.match(GC_REGEX)
      add_gc_arrays(m)
    elsif m = line.match(FULL_GC_REGEX)
      # might want to do something different with Full GC
      add_gc_arrays(m)
    end
  end
end