< prev index next >

src/hotspot/share/gc/parallel/psPromotionLAB.cpp

Print this page
@@ -81,11 +81,11 @@
  
    // PLAB's never allocate the last aligned_header_size
    // so they can always fill with an array.
    HeapWord* tlab_end = end() + filler_header_size;
    typeArrayOop filler_oop = (typeArrayOop) cast_to_oop(top());
-   filler_oop->set_mark(markWord::prototype());
+   filler_oop->set_mark(Universe::intArrayKlassObj()->prototype_header());
    filler_oop->set_klass(Universe::intArrayKlassObj());
    const size_t array_length =
      pointer_delta(tlab_end, top()) - typeArrayOopDesc::header_size(T_INT);
    assert( (array_length * (HeapWordSize/sizeof(jint))) < (size_t)max_jint, "array too big in PSPromotionLAB");
    filler_oop->set_length((int)(array_length * (HeapWordSize/sizeof(jint))));
< prev index next >