1.1 --- a/src/share/vm/memory/barrierSet.cpp Tue Nov 24 15:19:30 2009 -0800 1.2 +++ b/src/share/vm/memory/barrierSet.cpp Thu Dec 03 15:01:57 2009 -0800 1.3 @@ -41,11 +41,6 @@ 1.4 1.5 // count is number of array elements being written 1.6 void BarrierSet::static_write_ref_array_post(HeapWord* start, size_t count) { 1.7 - assert(count <= (size_t)max_intx, "count too large"); 1.8 - HeapWord* end = start + objArrayOopDesc::array_size((int)count); 1.9 -#if 0 1.10 - warning("Post:\t" INTPTR_FORMAT "[" SIZE_FORMAT "] : [" INTPTR_FORMAT","INTPTR_FORMAT")\t", 1.11 - start, count, start, end); 1.12 -#endif 1.13 - Universe::heap()->barrier_set()->write_ref_array_work(MemRegion(start, end)); 1.14 + // simply delegate to instance method 1.15 + Universe::heap()->barrier_set()->write_ref_array(start, count); 1.16 }