comparison src/hotspot/share/gc/shared/cardTableBarrierSet.inline.hpp @ 52321:31b159f30fb2

8180193: Make marking bitmap code available to other GCs Reviewed-by: shade, stefank
author rkennke
date Wed, 29 Aug 2018 20:15:09 +0200
parents bcf41be8ea14
children 9807daeb47c4
comparison
equal deleted inserted replaced
2:8d709a46ba67 3:c5f733650ea4
25 #ifndef SHARE_VM_GC_SHARED_CARDTABLEBARRIERSET_INLINE_HPP 25 #ifndef SHARE_VM_GC_SHARED_CARDTABLEBARRIERSET_INLINE_HPP
26 #define SHARE_VM_GC_SHARED_CARDTABLEBARRIERSET_INLINE_HPP 26 #define SHARE_VM_GC_SHARED_CARDTABLEBARRIERSET_INLINE_HPP
27 27
28 #include "gc/shared/cardTableBarrierSet.hpp" 28 #include "gc/shared/cardTableBarrierSet.hpp"
29 #include "gc/shared/cardTable.hpp" 29 #include "gc/shared/cardTable.hpp"
30 #include "runtime/orderAccess.inline.hpp" 30 #include "runtime/orderAccess.hpp"
31 31
32 template <DecoratorSet decorators, typename T> 32 template <DecoratorSet decorators, typename T>
33 inline void CardTableBarrierSet::write_ref_field_post(T* field, oop newVal) { 33 inline void CardTableBarrierSet::write_ref_field_post(T* field, oop newVal) {
34 volatile jbyte* byte = _card_table->byte_for(field); 34 volatile jbyte* byte = _card_table->byte_for(field);
35 if (_card_table->scanned_concurrently()) { 35 if (_card_table->scanned_concurrently()) {