Mercurial > hg > graal-compiler
comparison src/share/vm/memory/space.cpp @ 438:122d10c82f3f
6765804: GC "dead ratios" should be unsigned
Reviewed-by: ysr, tonyp
author | jcoomes |
---|---|
date | Wed, 29 Oct 2008 06:30:02 -0700 |
parents | 1ee8caae33af |
children | 7d7a7c599c17 |
comparison
equal
deleted
inserted
replaced
414:348be627a148 | 438:122d10c82f3f |
---|---|
995 SerializeOopClosure* soc) { | 995 SerializeOopClosure* soc) { |
996 _offsets.serialize(soc); | 996 _offsets.serialize(soc); |
997 } | 997 } |
998 | 998 |
999 | 999 |
1000 int TenuredSpace::allowed_dead_ratio() const { | 1000 size_t TenuredSpace::allowed_dead_ratio() const { |
1001 return MarkSweepDeadRatio; | 1001 return MarkSweepDeadRatio; |
1002 } | 1002 } |
1003 | 1003 |
1004 | 1004 |
1005 int ContigPermSpace::allowed_dead_ratio() const { | 1005 size_t ContigPermSpace::allowed_dead_ratio() const { |
1006 return PermMarkSweepDeadRatio; | 1006 return PermMarkSweepDeadRatio; |
1007 } | 1007 } |