< prev index next > src/hotspot/share/gc/g1/g1FullGCMarker.inline.hpp
Print this page
// Push the continuation first to allow more efficient work stealing.
if (end_index < len) {
push_objarray(array, end_index);
}
-
- array->oop_iterate_range(mark_closure(), beg_index, end_index);
+ assert(array->is_refArray(), "Must be");
+ refArrayOop(array)->oop_iterate_range(mark_closure(), beg_index, end_index);
}
inline void G1FullGCMarker::follow_object(oop obj) {
assert(_bitmap->is_marked(obj), "should be marked");
- if (obj->is_objArray()) {
+ if (obj->is_refArray()) {
// Handle object arrays explicitly to allow them to
// be split into chunks if needed.
follow_array((objArrayOop)obj);
} else {
obj->oop_iterate(mark_closure());
< prev index next >