comparison src/share/vm/gc_implementation/concurrentMarkSweep/vmStructs_cms.hpp @ 187:790e66e5fbac

6687581: Make CMS work with compressed oops Summary: Make FreeChunk read markword instead of LSB in _klass pointer to indicate that it's a FreeChunk for compressed oops. Reviewed-by: ysr, jmasa
author coleenp
date Mon, 09 Jun 2008 11:51:19 -0400
parents a61af66fc99e
children c0ecab83e6f3
comparison
equal deleted inserted replaced
185:8759d37f2524 187:790e66e5fbac
21 * have any questions. 21 * have any questions.
22 * 22 *
23 */ 23 */
24 24
25 #define VM_STRUCTS_CMS(nonstatic_field, \ 25 #define VM_STRUCTS_CMS(nonstatic_field, \
26 volatile_nonstatic_field, \
26 static_field) \ 27 static_field) \
27 nonstatic_field(CompactibleFreeListSpace, _collector, CMSCollector*) \ 28 nonstatic_field(CompactibleFreeListSpace, _collector, CMSCollector*) \
28 nonstatic_field(CompactibleFreeListSpace, _bt, BlockOffsetArrayNonContigSpace) \ 29 nonstatic_field(CompactibleFreeListSpace, _bt, BlockOffsetArrayNonContigSpace) \
29 \ 30 \
30 nonstatic_field(CMSPermGen, _gen, ConcurrentMarkSweepGeneration*) \ 31 nonstatic_field(CMSPermGen, _gen, ConcurrentMarkSweepGeneration*) \
34 nonstatic_field(CMSBitMap, _bm, BitMap) \ 35 nonstatic_field(CMSBitMap, _bm, BitMap) \
35 nonstatic_field(CMSBitMap, _virtual_space, VirtualSpace) \ 36 nonstatic_field(CMSBitMap, _virtual_space, VirtualSpace) \
36 nonstatic_field(CMSCollector, _markBitMap, CMSBitMap) \ 37 nonstatic_field(CMSCollector, _markBitMap, CMSBitMap) \
37 nonstatic_field(ConcurrentMarkSweepGeneration, _cmsSpace, CompactibleFreeListSpace*) \ 38 nonstatic_field(ConcurrentMarkSweepGeneration, _cmsSpace, CompactibleFreeListSpace*) \
38 static_field(ConcurrentMarkSweepThread, _collector, CMSCollector*) \ 39 static_field(ConcurrentMarkSweepThread, _collector, CMSCollector*) \
40 volatile_nonstatic_field(FreeChunk, _size, size_t) \
39 nonstatic_field(FreeChunk, _next, FreeChunk*) \ 41 nonstatic_field(FreeChunk, _next, FreeChunk*) \
40 nonstatic_field(FreeChunk, _prev, FreeChunk*) \ 42 nonstatic_field(FreeChunk, _prev, FreeChunk*)
41 nonstatic_field(FreeChunk, _size, size_t)
42 43
43 #define VM_TYPES_CMS(declare_type, \ 44 #define VM_TYPES_CMS(declare_type, \
44 declare_toplevel_type) \ 45 declare_toplevel_type) \
45 \ 46 \
46 declare_type(ConcurrentMarkSweepGeneration,CardGeneration) \ 47 declare_type(ConcurrentMarkSweepGeneration,CardGeneration) \