RFR: [10] Bulk backports to sh/jdk10

Zhengyu Gu zgu at redhat.com
Mon May 14 20:57:23 UTC 2018



On 05/14/2018 04:47 PM, Aleksey Shipilev wrote:
> 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) {}

Ah, Thanks!

Thanks,

-Zhengyu



> 
> 
> -Aleksey
> 


More information about the shenandoah-dev mailing list