8209942: [epsilon] range function for EpsilonTLABElasticity causes compiler warning
authormbaesken
Wed, 05 Sep 2018 12:48:51 +0200
changeset 51645 c5f700de5450
parent 51644 0df09dadd445
child 51646 364863505019
8209942: [epsilon] range function for EpsilonTLABElasticity causes compiler warning Reviewed-by: shade, simonis Contributed-by: ralf.schmelter@sap.com
src/hotspot/share/gc/epsilon/epsilon_globals.hpp
--- a/src/hotspot/share/gc/epsilon/epsilon_globals.hpp	Wed Sep 05 14:00:36 2018 +0200
+++ b/src/hotspot/share/gc/epsilon/epsilon_globals.hpp	Wed Sep 05 12:48:51 2018 +0200
@@ -79,7 +79,7 @@
           "improves performance at the expense of per-thread memory waste. "\
           "Lower value improves memory footprint, but penalizes actively "  \
           "allocating threads.")                                            \
-          range(1, max_intx)                                                \
+          range(1.0, DBL_MAX)                                               \
                                                                             \
   experimental(size_t, EpsilonTLABDecayTime, 1000,                          \
           "TLAB sizing policy decays to initial size after thread had not " \