1.1 --- a/src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp Thu May 27 09:54:07 2010 -0700 1.2 +++ b/src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp Thu May 27 18:01:56 2010 -0700 1.3 @@ -91,10 +91,10 @@ 1.4 enum SomeConstants { 1.5 SmallForLinearAlloc = 16, // size < this then use _sLAB 1.6 SmallForDictionary = 257, // size < this then use _indexedFreeList 1.7 - IndexSetSize = SmallForDictionary, // keep this odd-sized 1.8 - IndexSetStart = MinObjAlignment, 1.9 - IndexSetStride = MinObjAlignment 1.10 + IndexSetSize = SmallForDictionary // keep this odd-sized 1.11 }; 1.12 + static int IndexSetStart; 1.13 + static int IndexSetStride; 1.14 1.15 private: 1.16 enum FitStrategyOptions { 1.17 @@ -278,6 +278,9 @@ 1.18 HeapWord* nearLargestChunk() const { return _nearLargestChunk; } 1.19 void set_nearLargestChunk(HeapWord* v) { _nearLargestChunk = v; } 1.20 1.21 + // Set CMS global values 1.22 + static void set_cms_values(); 1.23 + 1.24 // Return the free chunk at the end of the space. If no such 1.25 // chunk exists, return NULL. 1.26 FreeChunk* find_chunk_at_end();