RFR (XS): Use actual byte value instead of (int)true in C1 matrix barrier

Aleksey Shipilev shade at redhat.com
Mon Mar 13 21:54:11 UTC 2017


On 03/13/2017 08:43 PM, Zhengyu Gu wrote:
> +void MacroAssembler::testbool(Address dst) {
> + if(sizeof(bool) == 1) {
> + testb(dst, 0xff);
> + } else {
> + // unsupported
> + ShouldNotReachHere();
> + }
> +}
> 
> 
> Also a left-over?

Yes! Forgot about that, let's purge that too:
  http://cr.openjdk.java.net/~shade/shenandoah/matrix-cleanup/webrev.01/

Thanks,
-Aleksey



More information about the shenandoah-dev mailing list