mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
4396719: Mark Sweep stack overflow on deeply nested Object arrays
Use an explicit stack for object arrays and process them in chunks. Reviewed-by: iveresov, apetrusenko
This commit is contained in:
parent
5fdec09798
commit
4f82340476
26 changed files with 419 additions and 182 deletions
|
@ -827,6 +827,8 @@ const int badCodeHeapFreeVal = 0xDD; // value used to zap
|
|||
#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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue