RFR: 8191562: Missing include in gcArguments.cpp breaks minimal JVM build
Roman Kennke
rkennke at redhat.com
Mon Nov 20 10:36:55 UTC 2017
David Holmes reported build failures in minimal JVM due to missing
include in gcArguments.cpp:
https://bugs.openjdk.java.net/browse/JDK-8191562
This should fix it:
http://cr.openjdk.java.net/~rkennke/8191562/webrev.00/
<http://cr.openjdk.java.net/%7Erkennke/8191562/webrev.00/>
Unfortunately, the minimal JVM doesn't build at all for me (*), so I am
posting this blindly. However, it seems fairly obvious that it's
correct: UNSUPPORTED_OPTION is defined in arguments.hpp, including it
should fix the build failure.
Ok to go?
Roman
(*)
/home/rkennke/src/openjdk/jdk-hs/src/hotspot/cpu/x86/c1_Runtime1_x86.cpp:
In member function 'int StubAssembler::call_RT(Register, Register,
address, int)':
/home/rkennke/src/openjdk/jdk-hs/src/hotspot/cpu/x86/c1_Runtime1_x86.cpp:136:10:
error: 'call_offset' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
return call_offset;
^
cc1plus: all warnings being treated as errors
More information about the hotspot-gc-dev
mailing list