RFR: Turn ShenandoahHeapRegion::{Size, Shift} into the type-checked getters

Roman Kennke roman at kennke.org
Wed Mar 22 09:58:00 UTC 2017


Ok

Am 22. März 2017 10:49:50 MEZ schrieb Aleksey Shipilev <shade at redhat.com>:
>Hi,
>
>We have lots of cases where we downcast
>ShenandoahHeapRegion::{Size,Shift} to
>jint. While this is probably safe in most cases, compilers complain,
>and don't
>let us build. This introduces the type-checked getters, and changes all
>uses
>appropriately:
>http://cr.openjdk.java.net/~shade/shenandoah/regionsizes-getters/webrev.01/
>
>Testing: hotspot_gc_shenandoah
>
>Thanks,
>-Aleksey

-- 
Sent from my FairPhone


More information about the shenandoah-dev mailing list