RFR: 9+8u: BrooksPointer::(word|byte)_size should be uint
rkennke at redhat.com
Tue Mar 21 21:44:49 UTC 2017
Am 21.03.2017 um 22:31 schrieb Aleksey Shipilev:
> BrooksPointer::(word|byte)_size are now implemented as size_t, which makes
> compilers think they overflow int expressions. We know these are small values,
> so we can declare them to be uint. New asserts are added to check the are indeed
> positive. A few places around their uses fixed too.
> Same thing goes to 8u.
> Testing: hotspot_gc_shenandoah on 9 and 8u.
More information about the shenandoah-dev