@@ -1305,14 +1305,14 @@ class StubGenerator: public StubCodeGenerator {
1305
1305
1306
1306
// Scan over array at a for count oops, verifying each one.
1307
1307
// Preserves a and count, clobbers rscratch1 and rscratch2.
1308
- void verify_oop_array (size_t size, Register a, Register count, Register temp) {
1308
+ void verify_oop_array (int size, Register a, Register count, Register temp) {
1309
1309
Label loop, end;
1310
1310
__ mov (rscratch1, a);
1311
1311
__ mov (rscratch2, zr);
1312
1312
__ bind (loop);
1313
1313
__ cmp (rscratch2, count);
1314
1314
__ br (Assembler::HS, end);
1315
- if (size == ( size_t ) wordSize) {
1315
+ if (size == wordSize) {
1316
1316
__ ldr (temp, Address (a, rscratch2, Address::lsl (exact_log2 (size))));
1317
1317
__ verify_oop (temp);
1318
1318
} else {
@@ -1343,7 +1343,7 @@ class StubGenerator: public StubCodeGenerator {
1343
1343
// disjoint_int_copy_entry is set to the no-overlap entry point
1344
1344
// used by generate_conjoint_int_oop_copy().
1345
1345
//
1346
- address generate_disjoint_copy (size_t size, bool aligned, bool is_oop, address *entry,
1346
+ address generate_disjoint_copy (int size, bool aligned, bool is_oop, address *entry,
1347
1347
const char *name, bool dest_uninitialized = false ) {
1348
1348
Register s = c_rarg0, d = c_rarg1, count = c_rarg2;
1349
1349
RegSet saved_reg = RegSet::of (s, d, count);
@@ -1409,7 +1409,7 @@ class StubGenerator: public StubCodeGenerator {
1409
1409
// the hardware handle it. The two dwords within qwords that span
1410
1410
// cache line boundaries will still be loaded and stored atomicly.
1411
1411
//
1412
- address generate_conjoint_copy (size_t size, bool aligned, bool is_oop, address nooverlap_target,
1412
+ address generate_conjoint_copy (int size, bool aligned, bool is_oop, address nooverlap_target,
1413
1413
address *entry, const char *name,
1414
1414
bool dest_uninitialized = false ) {
1415
1415
Register s = c_rarg0, d = c_rarg1, count = c_rarg2;
@@ -1660,7 +1660,7 @@ class StubGenerator: public StubCodeGenerator {
1660
1660
address generate_disjoint_oop_copy (bool aligned, address *entry,
1661
1661
const char *name, bool dest_uninitialized) {
1662
1662
const bool is_oop = true ;
1663
- const size_t size = UseCompressedOops ? sizeof (jint) : sizeof (jlong);
1663
+ const int size = UseCompressedOops ? sizeof (jint) : sizeof (jlong);
1664
1664
return generate_disjoint_copy (size, aligned, is_oop, entry, name, dest_uninitialized);
1665
1665
}
1666
1666
@@ -1678,7 +1678,7 @@ class StubGenerator: public StubCodeGenerator {
1678
1678
address nooverlap_target, address *entry,
1679
1679
const char *name, bool dest_uninitialized) {
1680
1680
const bool is_oop = true ;
1681
- const size_t size = UseCompressedOops ? sizeof (jint) : sizeof (jlong);
1681
+ const int size = UseCompressedOops ? sizeof (jint) : sizeof (jlong);
1682
1682
return generate_conjoint_copy (size, aligned, is_oop, nooverlap_target, entry,
1683
1683
name, dest_uninitialized);
1684
1684
}
0 commit comments