Mercurial > hg > truffle
comparison src/share/vm/memory/cardTableModRefBS.hpp @ 1972:f95d63e2154a
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
author | stefank |
---|---|
date | Tue, 23 Nov 2010 13:22:55 -0800 |
parents | d2ede61b7a12 |
children | abdfc822206f |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972:f95d63e2154a |
---|---|
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 * | 22 * |
23 */ | 23 */ |
24 | 24 |
25 #ifndef SHARE_VM_MEMORY_CARDTABLEMODREFBS_HPP | |
26 #define SHARE_VM_MEMORY_CARDTABLEMODREFBS_HPP | |
27 | |
28 #include "memory/modRefBarrierSet.hpp" | |
29 #include "oops/oop.hpp" | |
30 #include "oops/oop.inline2.hpp" | |
31 | |
25 // This kind of "BarrierSet" allows a "CollectedHeap" to detect and | 32 // This kind of "BarrierSet" allows a "CollectedHeap" to detect and |
26 // enumerate ref fields that have been modified (since the last | 33 // enumerate ref fields that have been modified (since the last |
27 // enumeration.) | 34 // enumeration.) |
28 | 35 |
29 // As it currently stands, this barrier is *imprecise*: when a ref field in | 36 // As it currently stands, this barrier is *imprecise*: when a ref field in |
488 int max_covered_regions) : | 495 int max_covered_regions) : |
489 CardTableModRefBS(whole_heap, max_covered_regions) {} | 496 CardTableModRefBS(whole_heap, max_covered_regions) {} |
490 | 497 |
491 void set_CTRS(CardTableRS* rs) { _rs = rs; } | 498 void set_CTRS(CardTableRS* rs) { _rs = rs; } |
492 }; | 499 }; |
500 | |
501 #endif // SHARE_VM_MEMORY_CARDTABLEMODREFBS_HPP |