33 #if 0 |
33 #if 0 |
34 warning("Pre: \t" INTPTR_FORMAT "[" SIZE_FORMAT "]\t", |
34 warning("Pre: \t" INTPTR_FORMAT "[" SIZE_FORMAT "]\t", |
35 start, count); |
35 start, count); |
36 #endif |
36 #endif |
37 if (UseCompressedOops) { |
37 if (UseCompressedOops) { |
38 Universe::heap()->barrier_set()->write_ref_array_pre((narrowOop*)start, (int)count); |
38 Universe::heap()->barrier_set()->write_ref_array_pre((narrowOop*)start, (int)count, false); |
39 } else { |
39 } else { |
40 Universe::heap()->barrier_set()->write_ref_array_pre( (oop*)start, (int)count); |
40 Universe::heap()->barrier_set()->write_ref_array_pre( (oop*)start, (int)count, false); |
41 } |
41 } |
42 } |
42 } |
43 |
43 |
44 // count is number of array elements being written |
44 // count is number of array elements being written |
45 void BarrierSet::static_write_ref_array_post(HeapWord* start, size_t count) { |
45 void BarrierSet::static_write_ref_array_post(HeapWord* start, size_t count) { |