diff -r debb15cc04ee -r f4f0dce5d0bb src/hotspot/share/gc/g1/g1BarrierSet.hpp --- a/src/hotspot/share/gc/g1/g1BarrierSet.hpp Wed Mar 13 12:30:20 2019 -0700 +++ b/src/hotspot/share/gc/g1/g1BarrierSet.hpp Wed Mar 13 21:01:56 2019 +0100 @@ -27,9 +27,9 @@ #include "gc/g1/g1DirtyCardQueue.hpp" #include "gc/g1/g1SATBMarkQueueSet.hpp" +#include "gc/shared/cardTable.hpp" #include "gc/shared/cardTableBarrierSet.hpp" -class CardTable; class G1CardTable; // This barrier is specialized to use a logging barrier to support @@ -73,7 +73,7 @@ template void write_ref_field_post(T* field, oop new_val); - void write_ref_field_post_slow(volatile jbyte* byte); + void write_ref_field_post_slow(volatile CardValue* byte); virtual void on_thread_create(Thread* thread); virtual void on_thread_destroy(Thread* thread);