< 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 objArray test would be very infrequent.
if (new_obj_size > _min_array_size_for_chunking &&
- klass->is_objArray_klass() &&
+ klass->is_refArray_klass() &&
PSChunkLargeArrays) {
push_objArray(o, new_obj);
} else {
// we'll just push its contents
push_contents(new_obj);
< prev index next >