RFR: 9+8u: Use size_t constants instead of unsigned longs for MAX2

Aleksey Shipilev shade at redhat.com
Mon Mar 20 18:25:54 UTC 2017


Using MAX2(size_t, unsigned long) only works on x86_64. It fails to build on
i586, and we should really use size_t in the second argument. Fix:
  http://cr.openjdk.java.net/~shade/shenandoah/build/max2-size_t/webrev.01/

(Of course, C++ does not have size_t literals)

This affects both 9 and 8u.

Testing: hotspot_gc_shenandoah on both 9 and 8u.

Thanks,
-Aleksey



More information about the shenandoah-dev mailing list