8233793: ZGC: Incorrect type used in ZBarrierSetC2 clone_type()
authorpliden
Thu, 07 Nov 2019 15:48:43 +0100
changeset 58965 86c8b22945a1
parent 58964 029d941c2e35
child 58966 6c6cce0f149d
8233793: ZGC: Incorrect type used in ZBarrierSetC2 clone_type() Reviewed-by: eosterlund
src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp
--- a/src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp	Thu Nov 07 09:41:22 2019 -0500
+++ b/src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp	Thu Nov 07 15:48:43 2019 +0100
@@ -231,7 +231,7 @@
   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)