6872000: G1: compilation fails on linux/older gcc

Reviewed-by: jcoomes, tonyp
This commit is contained in:
Andrey Petrusenko 2009-08-14 13:44:15 -07:00
parent 1a11be46ca
commit ead860c069

View file

@ -2401,7 +2401,7 @@ class CSMarkOopClosure: public OopClosure {
// Now process this portion of this one.
int lim = MIN2(next_arr_ind, len);
for (int j = arr_ind; j < lim; j++) {
do_oop(aobj->obj_at_addr<T>(j));
do_oop(aobj->objArrayOopDesc::obj_at_addr<T>(j));
}
} else {