提交 648c7c49 编写于 作者: T tonyp

7132398: G1: java.lang.IllegalArgumentException: Invalid threshold:...

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
上级 7864cfc8
...@@ -78,7 +78,7 @@ G1OldGenPool::G1OldGenPool(G1CollectedHeap* g1h) : ...@@ -78,7 +78,7 @@ G1OldGenPool::G1OldGenPool(G1CollectedHeap* g1h) :
G1MemoryPoolSuper(g1h, G1MemoryPoolSuper(g1h,
"G1 Old Gen", "G1 Old Gen",
g1h->g1mm()->old_space_committed(), /* init_size */ g1h->g1mm()->old_space_committed(), /* init_size */
_undefined_max, g1h->g1mm()->old_gen_max(),
true /* support_usage_threshold */) { } true /* support_usage_threshold */) { }
MemoryUsage G1OldGenPool::get_memory_usage() { MemoryUsage G1OldGenPool::get_memory_usage() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册