changeset 52036 | 5d6d636cefff |
parent 51489 | b5abbca5b2dc |
child 52224 | 4f2215a00ed1 |
--- a/src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp Mon Oct 08 13:25:39 2018 +0800 +++ b/src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp Fri Oct 05 16:47:27 2018 +0200 @@ -1427,6 +1427,10 @@ return c; } +bool ZBarrierSetC2::array_copy_requires_gc_barriers(bool tightly_coupled_alloc, BasicType type, bool is_clone, ArrayCopyPhase phase) const { + return type == T_OBJECT || type == T_ARRAY; +} + // == Verification == #ifdef ASSERT