-
Enhancement
-
Resolution: Fixed
-
P3
-
6u10
-
b21
-
x86
-
windows_xp
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2199218 | 7 | Chris Gruszka | P3 | Closed | Fixed | b64 |
deploy/src/plugin/win32/regutils/UpdateConf.cpp is included and recompiled for several install binaries. Each binary does not necessarily use all of the functions, but without the /Gy compiler option to enable function level linking along with the /OPT:REF linker option, the linker cannot eliminate functions that are never referenced. http://msdn2.microsoft.com/en-us/library/bxwfs976(VS.80).aspx
Adding -Gy to CXXFLAGS in deploy/make/plugin/regutilsmsi/Makefile reduced the size of the DLL by 8 KB.
The following use UpdateConf.cpp:
plugin/jupdate/checker - jucheck.exe
plugin/jupdate/scheduler - jusched.exe
plugin/regutils - regutils.dll
plugin/regutilsmsi - regutilsmsi.dll
installer/bundles/windows/ishield/wrapper/wrapper.jdk/
installer/bundles/windows/ishield/wrapper/wrapper.jre/Makefile
installer/bundles/windows/ishield/wrapper/wrapper.jre/Makefile.sponsor
installer/bundles/windows/ishield/wrapper_online/jre/
installer/bundles/windows/ishield/wrapper_online/sdk/
Adding -Gy to CXXFLAGS in deploy/make/plugin/regutilsmsi/Makefile reduced the size of the DLL by 8 KB.
The following use UpdateConf.cpp:
plugin/jupdate/checker - jucheck.exe
plugin/jupdate/scheduler - jusched.exe
plugin/regutils - regutils.dll
plugin/regutilsmsi - regutilsmsi.dll
installer/bundles/windows/ishield/wrapper/wrapper.jdk/
installer/bundles/windows/ishield/wrapper/wrapper.jre/Makefile
installer/bundles/windows/ishield/wrapper/wrapper.jre/Makefile.sponsor
installer/bundles/windows/ishield/wrapper_online/jre/
installer/bundles/windows/ishield/wrapper_online/sdk/
- backported by
-
JDK-2199218 Add compiler option to reduce binaries linked with UpdateConf.cpp
-
- Closed
-