RFR: JDK-8198652: Stop linking with -base:0x8000000 on Windows

Tim Bell tim.bell at oracle.com
Wed Mar 21 23:36:36 UTC 2018


> On Windows, we have been linking libjvm.so with -base:0x8000000 since
> forever. This may have been a good idea on earlier versions of windows,
> but with VS2017 it generates a warning and with ASLR, the address a
> given binary is loaded at will vary between runs anyway, so there is
> little point setting this linker option anymore (since Windows Vista).
> So I propose we just remove it.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8198652
> Webrev: http://cr.openjdk.java.net/~erikj/8198652/webrev.01/

Looks good.


More information about the hotspot-dev mailing list