Fix for 8122937: [JEP 245] Validate JVM Command-Line Flag Arguments breaks AArch64

Andrew Dinn adinn at
Tue Jun 23 13:14:45 UTC 2015

I am trying to build the current hs-rt tree on AArch64 in order to test
against Andrew Haley's UseCondCardMark patch (JDK-8079315). That tree
now also includes the following fix for JDK-8122937:

The patch includes changes made to all the current cpus /except/ aarch64
which means that the aarch64 build now falls over with

error: macro "ARCH_FLAGS" passed 7 arguments, but takes just 5

I believe the only modification required is to add the extra 2 arguments
range and constraint to macro ARCH_FLAGS (as per most of the other
cpu-specific globals files). I am testing this now and will raise a JIRA
and submit a webrev if that is indeed all that is needed.


Andrew Dinn
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in UK and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Matt Parson (USA), Charlie Peters
(USA), Michael O'Neill (Ireland)

More information about the hotspot-dev mailing list