RFR: Collapse little assert blocks into big one

Roland Westrelin rwestrel at redhat.com
Thu Nov 3 12:08:22 UTC 2016


(cc'ing the list again, dropped it by accident on my reply)

>> That part:
>>
>>>
>>> u->as_Mem()->set_raw_adr_type(TypeRawPtr::BOTTOM);
>>
>> does valuable work so should not be in the assert block.
> 
> Are you sure? because:
> 
> - it was in assert block before
> - it seems to establish what the assert right before it checked
> 
> ?

The assert checks TypeOopPtr::BOTTOM not TypeRawPtr::BOTTOM
Ok to push then. I'll revisit that if needed later.

Roland.


More information about the shenandoah-dev mailing list