comparison src/share/vm/memory/barrierSet.hpp @ 1245:6484c4ee11cb

6904516: More object array barrier fixes, following up on 6906727 Summary: Fixed missing pre-barrier calls for G1, modified C1 to call pre- and correct post-barrier interfaces, deleted obsolete interface, (temporarily) disabled redundant deferred barrier in BacktraceBuilder. Reviewed-by: coleenp, jmasa, kvn, never
author ysr
date Mon, 01 Feb 2010 17:29:01 -0800
parents 6aa7255741f3
children c18cbe5936b8
comparison
equal deleted inserted replaced
1244:745c853ee57f 1245:6484c4ee11cb
122 virtual void read_prim_array(MemRegion mr) = 0; 122 virtual void read_prim_array(MemRegion mr) = 0;
123 123
124 // Below length is the # array elements being written 124 // Below length is the # array elements being written
125 virtual void write_ref_array_pre( oop* dst, int length) {} 125 virtual void write_ref_array_pre( oop* dst, int length) {}
126 virtual void write_ref_array_pre(narrowOop* dst, int length) {} 126 virtual void write_ref_array_pre(narrowOop* dst, int length) {}
127 // Below MemRegion mr is expected to be HeapWord-aligned
128 inline void write_ref_array(MemRegion mr);
129 // Below count is the # array elements being written, starting 127 // Below count is the # array elements being written, starting
130 // at the address "start", which may not necessarily be HeapWord-aligned 128 // at the address "start", which may not necessarily be HeapWord-aligned
131 inline void write_ref_array(HeapWord* start, size_t count); 129 inline void write_ref_array(HeapWord* start, size_t count);
132 130
133 // Static versions, suitable for calling from generated code; 131 // Static versions, suitable for calling from generated code;