# HG changeset patch # User apetrusenko # Date 1250282655 25200 # Node ID 308762b2bf14063c45ee5a0f44087404840f9016 # Parent 10d8c0d0d60e5e3f2deed0f2dea33b5bab8e98f9 6872000: G1: compilation fails on linux/older gcc Reviewed-by: jcoomes, tonyp diff -r 10d8c0d0d60e -r 308762b2bf14 src/share/vm/gc_implementation/g1/concurrentMark.cpp --- a/src/share/vm/gc_implementation/g1/concurrentMark.cpp Wed Aug 12 14:27:54 2009 -0700 +++ b/src/share/vm/gc_implementation/g1/concurrentMark.cpp Fri Aug 14 13:44:15 2009 -0700 @@ -2401,7 +2401,7 @@ // 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(j)); + do_oop(aobj->objArrayOopDesc::obj_at_addr(j)); } } else {