Patch to enable ccache to work most of the time.
kelly.ohair at oracle.com
Mon Jan 23 09:42:48 PST 2012
I can be a reviewer. Looks good.
And I appreciate the makefile comment :^)
I think this also explains some strange behaviors with pre-compiled headers.
If the version number definition gets into the pre-compiled header file, it becomes invalid with any
version string change and can cause build failures, or at least on windows it has.
On Jan 23, 2012, at 9:05 AM, Fredrik Öhrström wrote:
> Simple fix to prevent the version define to be passed to all Hotspot c++ files.
> Since the version define contains a time and date (when the build nr is not set),the ccache can only be used for 1 minute after the build....
> This fix makes sure that only vm_version.o depends on the version number. Thus all the other files can be ccached efficiently.
> Jim, can you make me an author on HSX?
> Robert, can you sponsor me?
More information about the hotspot-runtime-dev