hg: hsx/hotspot-rt/hotspot: 7132779: build-infra merge: Enable ccache to work for most developer builds.

david.holmes at oracle.com david.holmes at oracle.com
Sun Feb 5 19:31:30 PST 2012


Changeset: c77d473e71f7
Author:    ohrstrom
Date:      2012-01-31 13:12 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/c77d473e71f7

7132779: build-infra merge: Enable ccache to work for most developer builds.
Summary: When a build number is not specified, the JRE_RELEASE_VERSION define contains a date and timestamp. Thus ccache cannot cache the object files for longer than a minute since the define is passed to the compilation of all source files. This change passes JRE_RELEASE_VERSION only to vm_version.cpp and adds a function jre_release_version() to Abstract_VM_Version. This allows all other source files to be ccached.
Reviewed-by: ohair, rottenha
Contributed-by: fredrik.ohrstrom at oracle.com

! make/bsd/makefiles/vm.make
! make/linux/makefiles/vm.make
! make/solaris/makefiles/vm.make
! src/share/vm/runtime/vm_version.cpp
! src/share/vm/runtime/vm_version.hpp



More information about the hotspot-runtime-dev mailing list