Mercurial > hg > truffle
diff src/share/vm/utilities/globalDefinitions.hpp @ 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 | 0414c1049f15 |
children | abc670a709dc c18cbe5936b8 2d127394260e |
line wrap: on
line diff
--- a/src/share/vm/utilities/globalDefinitions.hpp Wed Mar 03 08:10:41 2010 -0800 +++ b/src/share/vm/utilities/globalDefinitions.hpp Wed Mar 03 14:48:26 2010 -0800 @@ -827,6 +827,8 @@ #define badHeapWord (::badHeapWordVal) #define badJNIHandle ((oop)::badJNIHandleVal) +// Default TaskQueue size is 16K (32-bit) or 128K (64-bit) +#define TASKQUEUE_SIZE (NOT_LP64(1<<14) LP64_ONLY(1<<17)) //---------------------------------------------------------------------------------------------------- // Utility functions for bitfield manipulations