8055095: Improve "do nothing" incremental build performance after modularized source code integration
authorerikj
Thu, 21 Aug 2014 12:23:20 +0200
changeset 26192 33b90e93e3bf
parent 26191 a0ff4b39d34b
child 26193 09edb0e9f15a
8055095: Improve "do nothing" incremental build performance after modularized source code integration Reviewed-by: tbell
jdk/make/Tools.gmk
jdk/make/gensrc/GensrcLocaleDataMetaInfo.gmk
jdk/make/gensrc/GensrcProperties.gmk
jdk/make/lib/Lib-java.base.gmk
jdk/make/lib/Lib-java.desktop.gmk
jdk/make/lib/LibCommon.gmk
--- a/jdk/make/Tools.gmk	Thu Aug 21 11:05:35 2014 +0200
+++ b/jdk/make/Tools.gmk	Thu Aug 21 12:23:20 2014 +0200
@@ -34,9 +34,6 @@
 include NativeCompilation.gmk
 include SetupJavaCompilers.gmk
 
-# Cache all finds needed for this file.
-$(eval $(call FillCacheFind, $(JDK_TOPDIR)/make/src/classes))
-
 # The exception handling of swing beaninfo which have the own tool directory
 ifeq (, $(BUILD_TOOLS_JDK))
   $(eval $(call SetupJavaCompilation,BUILD_TOOLS_JDK, \
--- a/jdk/make/gensrc/GensrcLocaleDataMetaInfo.gmk	Thu Aug 21 11:05:35 2014 +0200
+++ b/jdk/make/gensrc/GensrcLocaleDataMetaInfo.gmk	Thu Aug 21 12:23:20 2014 +0200
@@ -28,7 +28,8 @@
 # into LocaleDataMetaInfo.java
 
 # First go look for all locale files
-LOCALE_FILES := $(shell $(FIND) $(JDK_TOPDIR)/src/*/share/classes \
+LOCALE_FILES := $(shell $(FIND) $(JDK_TOPDIR)/src/java.base/share/classes \
+    $(JDK_TOPDIR)/src/jdk.localedata/share/classes \
     -name "FormatData_*.java" -o -name "FormatData_*.properties" -o \
     -name "CollationData_*.java" -o -name "CollationData_*.properties" -o \
     -name "TimeZoneNames_*.java" -o -name "TimeZoneNames_*.properties" -o \
--- a/jdk/make/gensrc/GensrcProperties.gmk	Thu Aug 21 11:05:35 2014 +0200
+++ b/jdk/make/gensrc/GensrcProperties.gmk	Thu Aug 21 12:23:20 2014 +0200
@@ -23,9 +23,6 @@
 # questions.
 #
 
-# Prepare the find cache.
-$(eval $(call FillCacheFind, $(wildcard $(JDK_TOPDIR)/src/*/*/classes)))
-
 # All .properties files to be compiled are appended to this variable.
 ALL_COMPILED_PROPSOURCES :=
 # All generated .java files from compilation are appended to this variable.
@@ -76,7 +73,6 @@
         $(JDK_TOPDIR)/src/java.management/share/classes/sun/management/resources \
         $(JDK_TOPDIR)/src/java.desktop/share/classes/sun/print/resources \
         $(JDK_TOPDIR)/src/jdk.dev/share/classes/sun/tools/jar/resources \
-        $(JDK_TOPDIR)/src/jdk.dev/share/classes/jdk/jigsaw/tools/jlink/resources \
         $(JDK_TOPDIR)/src/java.logging/share/classes/sun/util/logging/resources)) \
     #
 
--- a/jdk/make/lib/Lib-java.base.gmk	Thu Aug 21 11:05:35 2014 +0200
+++ b/jdk/make/lib/Lib-java.base.gmk	Thu Aug 21 12:23:20 2014 +0200
@@ -25,6 +25,10 @@
 
 include LibCommon.gmk
 
+# Prepare the find cache.
+$(eval $(call FillCacheFind, $(wildcard $(JDK_TOPDIR)/src/java.base/*/native \
+    $(JDK_TOPDIR)/src/*/java.base/*/native)))
+
 include CoreLibraries.gmk
 include NetworkingLibraries.gmk
 include NioLibraries.gmk
--- a/jdk/make/lib/Lib-java.desktop.gmk	Thu Aug 21 11:05:35 2014 +0200
+++ b/jdk/make/lib/Lib-java.desktop.gmk	Thu Aug 21 12:23:20 2014 +0200
@@ -25,6 +25,10 @@
 
 include LibCommon.gmk
 
+# Prepare the find cache.
+$(eval $(call FillCacheFind, $(wildcard $(JDK_TOPDIR)/src/java.desktop/*/native \
+    $(JDK_TOPDIR)/src/*/java.desktop/*/native)))
+
 include PlatformLibraries.gmk
 include Awt2dLibraries.gmk
 include SoundLibraries.gmk
--- a/jdk/make/lib/LibCommon.gmk	Thu Aug 21 11:05:35 2014 +0200
+++ b/jdk/make/lib/LibCommon.gmk	Thu Aug 21 12:23:20 2014 +0200
@@ -29,9 +29,6 @@
 include MakeBase.gmk
 include NativeCompilation.gmk
 
-# Prepare the find cache.
-$(eval $(call FillCacheFind, $(wildcard $(JDK_TOPDIR)/src/*/*/native)))
-
 # Build tools
 include Tools.gmk