[aarch64-port-dev ] aarch64: Fix a bug in TestOptionsWithRanges of hotspot

Yang Zhang yang.zhang at linaro.org
Tue Jun 28 06:07:49 UTC 2016


There is something wrong with the attachment.  Send the patch in the email.


-------------------------------------------------------------------------------------------------------------------
 src/cpu/aarch64/vm/globals_aarch64.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cpu/aarch64/vm/globals_aarch64.hpp
b/src/cpu/aarch64/vm/globals_aarch64.hpp
index 60ca096..bdbef2e 100644
--- a/src/cpu/aarch64/vm/globals_aarch64.hpp
+++ b/src/cpu/aarch64/vm/globals_aarch64.hpp
@@ -153,7 +153,7 @@ define_pd_global(intx, InlineSmallCode,          1000);
           "Use DC ZVA for block zeroing")                               \
   product(intx, BlockZeroingLowLimit, 256,                              \
           "Minimum size in bytes when block zeroing will be used")      \
-          range(1, max_jint)                                            \
+          range(1, 32767)                                               \
   product(bool, TraceTraps, false, "Trace all traps the signal handler")

 #endif
-- -----------------------------------------------------------------------------------------------------------------

On 28 June 2016 at 12:09, Yang Zhang <yang.zhang at linaro.org> wrote:
> Hi
>
> Could someone please help to review and process attached patch for fixing an
> issue about BlockZeroingLowLimit in hotspot openjdk9 aarch64?
>
> This issue is exposed by a test failure in hotspot jtreg openjdk9 for
> aarch64
>
> runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java
>
> It is caused by improper range of BlockZeroingLowLimit.
>
> The issue can be reproduced by command as follows:
>
> $ java -server -XX:+UseG1GC -XX:BlockZeroingLowLimit=2147483647
>
> The attached patch can fix this issue and the jtreg test failure above (and
> no new failure found).
>
> Regards
> Yang


More information about the aarch64-port-dev mailing list