24 |
24 |
25 #include "precompiled.hpp" |
25 #include "precompiled.hpp" |
26 |
26 |
27 #include "gc/shared/blockOffsetTable.inline.hpp" |
27 #include "gc/shared/blockOffsetTable.inline.hpp" |
28 #include "gc/shared/cardGeneration.inline.hpp" |
28 #include "gc/shared/cardGeneration.inline.hpp" |
|
29 #include "gc/shared/cardTableRS.hpp" |
29 #include "gc/shared/gcLocker.hpp" |
30 #include "gc/shared/gcLocker.hpp" |
30 #include "gc/shared/genOopClosures.inline.hpp" |
31 #include "gc/shared/genOopClosures.inline.hpp" |
31 #include "gc/shared/genRemSet.hpp" |
|
32 #include "gc/shared/generationSpec.hpp" |
32 #include "gc/shared/generationSpec.hpp" |
33 #include "gc/shared/space.inline.hpp" |
33 #include "gc/shared/space.inline.hpp" |
34 #include "memory/iterator.hpp" |
34 #include "memory/iterator.hpp" |
35 #include "memory/memRegion.hpp" |
35 #include "memory/memRegion.hpp" |
36 #include "runtime/java.hpp" |
36 #include "runtime/java.hpp" |
37 |
37 |
38 CardGeneration::CardGeneration(ReservedSpace rs, |
38 CardGeneration::CardGeneration(ReservedSpace rs, |
39 size_t initial_byte_size, |
39 size_t initial_byte_size, |
40 GenRemSet* remset) : |
40 CardTableRS* remset) : |
41 Generation(rs, initial_byte_size), _rs(remset), |
41 Generation(rs, initial_byte_size), _rs(remset), |
42 _shrink_factor(0), _min_heap_delta_bytes(), _capacity_at_prologue(), |
42 _shrink_factor(0), _min_heap_delta_bytes(), _capacity_at_prologue(), |
43 _used_at_prologue() |
43 _used_at_prologue() |
44 { |
44 { |
45 HeapWord* start = (HeapWord*)rs.base(); |
45 HeapWord* start = (HeapWord*)rs.base(); |