RFR: [10] Bulk backports to sh/jdk10

Aleksey Shipilev shade at redhat.com
Mon May 14 20:47:20 UTC 2018


On 05/14/2018 10:21 PM, Zhengyu Gu wrote:
> Wait.
> 
> We also changed counts from int to size_t in
> ShenandoahBarrierSet::write_ref_array_pre()
> why dropped changes?

This does not work in sh/jdk10, because the super-class BarrierSet defines them as ints:

class BarrierSet: public CHeapObj<mtGC> {

  // Below length is the # array elements being written
  virtual void write_ref_array_pre(oop* dst, int length,
                                   bool dest_uninitialized = false) {}
  virtual void write_ref_array_pre(narrowOop* dst, int length,
                                   bool dest_uninitialized = false) {}


-Aleksey



More information about the shenandoah-dev mailing list