src/hotspot/share/gc/shared/cardTableBarrierSet.inline.hpp
changeset 54110 f4f0dce5d0bb
parent 53244 9807daeb47c4
child 59247 56bf71d64d51
--- a/src/hotspot/share/gc/shared/cardTableBarrierSet.inline.hpp	Wed Mar 13 12:30:20 2019 -0700
+++ b/src/hotspot/share/gc/shared/cardTableBarrierSet.inline.hpp	Wed Mar 13 21:01:56 2019 +0100
@@ -31,7 +31,7 @@
 
 template <DecoratorSet decorators, typename T>
 inline void CardTableBarrierSet::write_ref_field_post(T* field, oop newVal) {
-  volatile jbyte* byte = _card_table->byte_for(field);
+  volatile CardValue* byte = _card_table->byte_for(field);
   if (_card_table->scanned_concurrently()) {
     // Perform a releasing store if the card table is scanned concurrently
     OrderAccess::release_store(byte, CardTable::dirty_card_val());