Mercurial > hg > truffle
diff src/share/vm/services/g1MemoryPool.hpp @ 4832:a8a126788ea0
7078465: G1: Don't use the undefined value (-1) for the G1 old memory pool max size
Reviewed-by: johnc, brutisso
author | tonyp |
---|---|
date | Thu, 19 Jan 2012 09:13:58 -0500 |
parents | 8229bd737950 |
children | b9a9ed0f8eeb |
line wrap: on
line diff
--- a/src/share/vm/services/g1MemoryPool.hpp Tue Jan 17 10:21:43 2012 -0800 +++ b/src/share/vm/services/g1MemoryPool.hpp Thu Jan 19 09:13:58 2012 -0500 @@ -101,7 +101,7 @@ return _g1mm->old_space_used(); } size_t max_size() const { - return _undefined_max; + return _g1mm->old_gen_max(); } MemoryUsage get_memory_usage(); };