RFR: 9+8u: BrooksPointer::(word|byte)_size should be uint
shade at redhat.com
Tue Mar 21 21:31:57 UTC 2017
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