src/share/vm/memory/barrierSet.cpp

changeset 2606
0ac769a57c64
parent 2314
f95d63e2154a
child 2708
1d1603768966
equal deleted inserted replaced
2605:bc6b27fb3568 2606:0ac769a57c64
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) {

mercurial