< prev index next > src/hotspot/share/gc/parallel/psPromotionManager.inline.hpp
Print this page
// Do the size comparison first with new_obj_size, which we
// already have. Hopefully, only a few objects are larger than
// _min_array_size_for_chunking, and most of them will be arrays.
// So, the is->objArray() test would be very infrequent.
if (new_obj_size > _min_array_size_for_chunking &&
- new_obj->is_objArray() &&
+ new_obj->is_refArray() &&
PSChunkLargeArrays) {
push_objArray(o, new_obj);
} else {
// we'll just push its contents
push_contents(new_obj);
< prev index next >