changeset 56857:86c8b22945a1

8233793: ZGC: Incorrect type used in ZBarrierSetC2 clone_type() Reviewed-by: eosterlund
author pliden
date Thu, 07 Nov 2019 15:48:43 +0100
parents 029d941c2e35
children 6c6cce0f149d
files src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)