Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.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 | 664ae0c5e0e5 |
comparison
equal
deleted
inserted
replaced
1289:d47555d7aca8 | 1311:2a1472c30599 |
---|---|
54 # define IF_G1_DETAILED_STATS(code) code | 54 # define IF_G1_DETAILED_STATS(code) code |
55 #else | 55 #else |
56 # define IF_G1_DETAILED_STATS(code) | 56 # define IF_G1_DETAILED_STATS(code) |
57 #endif | 57 #endif |
58 | 58 |
59 typedef GenericTaskQueue<StarTask> RefToScanQueue; | 59 typedef GenericTaskQueue<StarTask> RefToScanQueue; |
60 typedef GenericTaskQueueSet<StarTask> RefToScanQueueSet; | 60 typedef GenericTaskQueueSet<RefToScanQueue> RefToScanQueueSet; |
61 | 61 |
62 typedef int RegionIdx_t; // needs to hold [ 0..max_regions() ) | 62 typedef int RegionIdx_t; // needs to hold [ 0..max_regions() ) |
63 typedef int CardIdx_t; // needs to hold [ 0..CardsPerRegion ) | 63 typedef int CardIdx_t; // needs to hold [ 0..CardsPerRegion ) |
64 | 64 |
65 enum G1GCThreadGroups { | 65 enum G1GCThreadGroups { |