Mercurial > hg > graal-compiler
comparison src/share/vm/services/g1MemoryPool.cpp @ 4835:877914d90c57
7132398: G1: java.lang.IllegalArgumentException: Invalid threshold: 9223372036854775807 > max (1073741824)
Summary: Was not passing the right old pool max to the memory pool constructor in the fix for 7078465.
Reviewed-by: brutisso, johnc
author | tonyp |
---|---|
date | Tue, 24 Jan 2012 17:08:58 -0500 |
parents | 8229bd737950 |
children | b9a9ed0f8eeb |
comparison
equal
deleted
inserted
replaced
4834:6a78aa6ac1ff | 4835:877914d90c57 |
---|---|
76 | 76 |
77 G1OldGenPool::G1OldGenPool(G1CollectedHeap* g1h) : | 77 G1OldGenPool::G1OldGenPool(G1CollectedHeap* g1h) : |
78 G1MemoryPoolSuper(g1h, | 78 G1MemoryPoolSuper(g1h, |
79 "G1 Old Gen", | 79 "G1 Old Gen", |
80 g1h->g1mm()->old_space_committed(), /* init_size */ | 80 g1h->g1mm()->old_space_committed(), /* init_size */ |
81 _undefined_max, | 81 g1h->g1mm()->old_gen_max(), |
82 true /* support_usage_threshold */) { } | 82 true /* support_usage_threshold */) { } |
83 | 83 |
84 MemoryUsage G1OldGenPool::get_memory_usage() { | 84 MemoryUsage G1OldGenPool::get_memory_usage() { |
85 size_t initial_sz = initial_size(); | 85 size_t initial_sz = initial_size(); |
86 size_t max_sz = max_size(); | 86 size_t max_sz = max_size(); |