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

Erik Joelsson erik.joelsson at oracle.com
Wed Mar 21 22:05:48 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/


More information about the hotspot-dev mailing list