RFR(S): 8027480 - Build Windows x64 fastdebug builds using /homeparams

Christian Tornqvist christian.tornqvist at oracle.com
Wed Aug 20 13:46:00 UTC 2014


Adding build-dev as well

-----Original Message-----
From: hotspot-dev [mailto:hotspot-dev-bounces at openjdk.java.net] On Behalf Of
Christian Tornqvist
Sent: Tuesday, August 19, 2014 7:39 PM
To: hotspot-dev at openjdk.java.net
Subject: RFR(S): 8027480 - Build Windows x64 fastdebug builds using
/homeparams

Hi everyone,

 

This change adds /homeparams
(http://msdn.microsoft.com/en-us/library/6exwh0y6.aspx) to compiler flags
when building fastdebug on Windows x64. This causes the compiler to generate
code to spill the first 4 arguments to the stack (they're normally only
passed in registers), which should make it easier to debug. 

 

I also changed the ProjectCreator to enable building with this using Visual
Studio. The size of jvm.dll increases with about 3% (about 504k increase).

 

Verified that it builds correctly using Visual Studio and JPRT, the
generation of the spill code has been verified by comparing prologue code
for several functions in the JVM with/without using /homeparams. 

 

Webrev:

http://cr.openjdk.java.net/~ctornqvi/webrev/8027480/webrev.00/

 

Bug:

https://bugs.openjdk.java.net/browse/JDK-8027480

 

Thanks,

Christian

 





More information about the build-dev mailing list