Mercurial > hg > graal-compiler
diff src/share/vm/runtime/arguments.cpp @ 1311:2a1472c30599
4396719: Mark Sweep stack overflow on deeply nested Object arrays
Summary: Use an explicit stack for object arrays and process them in chunks.
Reviewed-by: iveresov, apetrusenko
author | jcoomes |
---|---|
date | Wed, 03 Mar 2010 14:48:26 -0800 |
parents | 5f1f51edaff6 |
children | cc98cc548f51 |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp Wed Mar 03 08:10:41 2010 -0800 +++ b/src/share/vm/runtime/arguments.cpp Wed Mar 03 14:48:26 2010 -0800 @@ -1346,9 +1346,7 @@ } if (FLAG_IS_DEFAULT(MarkStackSize)) { - // Size as a multiple of TaskQueueSuper::N which is larger - // for 64-bit. - FLAG_SET_DEFAULT(MarkStackSize, 128 * TaskQueueSuper::total_size()); + FLAG_SET_DEFAULT(MarkStackSize, 128 * TASKQUEUE_SIZE); } if (PrintGCDetails && Verbose) { tty->print_cr("MarkStackSize: %uk MarkStackSizeMax: %uk",