< prev index next >

src/hotspot/share/gc/parallel/psPromotionManager.inline.hpp

Print this page
@@ -295,13 +295,13 @@
      ContinuationGCSupport::transform_stack_chunk(new_obj);
  
      // 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.
+     // So, the is_array_with_oops test would be very infrequent.
      if (new_obj_size > _min_array_size_for_chunking &&
-         klass->is_objArray_klass()) {
+         new_obj->is_array_with_oops()) {
        push_objArray(o, new_obj);
      } else {
        // we'll just push its contents
        push_contents(new_obj);
  
< prev index next >