From a6d1e5a088854e3587986f2021c85828af88d359 Mon Sep 17 00:00:00 2001 From: apetrusenko Date: Fri, 14 Aug 2009 13:44:15 -0700 Subject: [PATCH] 6872000: G1: compilation fails on linux/older gcc Reviewed-by: jcoomes, tonyp --- src/share/vm/gc_implementation/g1/concurrentMark.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/share/vm/gc_implementation/g1/concurrentMark.cpp b/src/share/vm/gc_implementation/g1/concurrentMark.cpp index 327bf3ede..cf8eb866f 100644 --- a/src/share/vm/gc_implementation/g1/concurrentMark.cpp +++ b/src/share/vm/gc_implementation/g1/concurrentMark.cpp @@ -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(j)); + do_oop(aobj->objArrayOopDesc::obj_at_addr(j)); } } else { -- GitLab