changeset 52413:c5f700de5450

8209942: [epsilon] range function for EpsilonTLABElasticity causes compiler warning Reviewed-by: shade, simonis Contributed-by: ralf.schmelter@sap.com
author mbaesken
date Wed, 05 Sep 2018 12:48:51 +0200
parents 0df09dadd445
children 364863505019
files src/hotspot/share/gc/epsilon/epsilon_globals.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 " \