From b7dcab5af0dd018f4c5c3fd7ef69269a0110f604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20Lid=C3=A9n?= Date: Thu, 7 Nov 2019 15:48:43 +0100 Subject: [PATCH] 8233793: ZGC: Incorrect type used in ZBarrierSetC2 clone_type() Reviewed-by: eosterlund --- src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp b/src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp index a201630a8f4..af49b114c38 100644 --- a/src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp +++ b/src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp @@ -231,7 +231,7 @@ static const TypeFunc* clone_type() { const Type** domain_fields = TypeTuple::fields(3); domain_fields[TypeFunc::Parms + 0] = TypeInstPtr::NOTNULL; // src domain_fields[TypeFunc::Parms + 1] = TypeInstPtr::NOTNULL; // dst - domain_fields[TypeFunc::Parms + 2] = TypeLong::LONG; // size + domain_fields[TypeFunc::Parms + 2] = TypeInt::INT; // size const TypeTuple* domain = TypeTuple::make(TypeFunc::Parms + 3, domain_fields); // Create result type (range)