comparison src/share/vm/gc_implementation/g1/concurrentMark.cpp @ 3977:5cc33133bc6d

7092245: G1: Wrong format specifier in G1PrintRegionLivenessInfo header output Summary: Cast HeapRegion::GrainBytes to size_t in output statement. Reviewed-by: ysr, brutisso, pbk, tonyp
author johnc
date Wed, 21 Sep 2011 15:24:07 -0700
parents 1847b501ae74
children 4dfb2df418f2
comparison
equal deleted inserted replaced
3976:d912b598c6c3 3977:5cc33133bc6d
4564 G1PPRL_SUM_ADDR_FORMAT("committed") 4564 G1PPRL_SUM_ADDR_FORMAT("committed")
4565 G1PPRL_SUM_ADDR_FORMAT("reserved") 4565 G1PPRL_SUM_ADDR_FORMAT("reserved")
4566 G1PPRL_SUM_BYTE_FORMAT("region-size"), 4566 G1PPRL_SUM_BYTE_FORMAT("region-size"),
4567 g1_committed.start(), g1_committed.end(), 4567 g1_committed.start(), g1_committed.end(),
4568 g1_reserved.start(), g1_reserved.end(), 4568 g1_reserved.start(), g1_reserved.end(),
4569 HeapRegion::GrainBytes); 4569 (size_t)HeapRegion::GrainBytes);
4570 _out->print_cr(G1PPRL_LINE_PREFIX); 4570 _out->print_cr(G1PPRL_LINE_PREFIX);
4571 _out->print_cr(G1PPRL_LINE_PREFIX 4571 _out->print_cr(G1PPRL_LINE_PREFIX
4572 G1PPRL_TYPE_H_FORMAT 4572 G1PPRL_TYPE_H_FORMAT
4573 G1PPRL_ADDR_BASE_H_FORMAT 4573 G1PPRL_ADDR_BASE_H_FORMAT
4574 G1PPRL_BYTE_H_FORMAT 4574 G1PPRL_BYTE_H_FORMAT
4575 G1PPRL_BYTE_H_FORMAT 4575 G1PPRL_BYTE_H_FORMAT
4576 G1PPRL_BYTE_H_FORMAT 4576 G1PPRL_BYTE_H_FORMAT
4577 G1PPRL_DOUBLE_H_FORMAT, 4577 G1PPRL_DOUBLE_H_FORMAT,
4578 "type", "address-range", 4578 "type", "address-range",
4579 "used", "prev-live", "next-live", "gc-eff"); 4579 "used", "prev-live", "next-live", "gc-eff");
4580 _out->print_cr(G1PPRL_LINE_PREFIX
4581 G1PPRL_TYPE_H_FORMAT
4582 G1PPRL_ADDR_BASE_H_FORMAT
4583 G1PPRL_BYTE_H_FORMAT
4584 G1PPRL_BYTE_H_FORMAT
4585 G1PPRL_BYTE_H_FORMAT
4586 G1PPRL_DOUBLE_H_FORMAT,
4587 "", "",
4588 "(bytes)", "(bytes)", "(bytes)", "(bytes/ms)");
4580 } 4589 }
4581 4590
4582 // It takes as a parameter a reference to one of the _hum_* fields, it 4591 // It takes as a parameter a reference to one of the _hum_* fields, it
4583 // deduces the corresponding value for a region in a humongous region 4592 // deduces the corresponding value for a region in a humongous region
4584 // series (either the region size, or what's left if the _hum_* field 4593 // series (either the region size, or what's left if the _hum_* field