[11u] RFR: 8189861: Refactor CacheFind
Langer, Christoph
christoph.langer at sap.com
Wed Mar 11 08:58:34 UTC 2020
Hi,
for the backports of "JDK-8223678 Add Visual Studio Code workspace generation support (for native code)" and "JDK-8232748 Build static versions of certain JDK libraries" it seems useful to first backport the refactoring of CacheFind. Furthermore it can improve performance in the Windows Build and will probably also be a nice base for future backports in the build system area.
I had to resolve several rejects because there is some code divergence between jdk11u-dev and the state of jdk13 at the time of the original change. But in fact, it was quite straightforward and I replaced all occurences of CacheFind with the new FindFiles function. Lots of the rejects were also just copyright years.
In make/hotspot/lib/CompileJvm.gmk, I effectively added the "$(call FillFindCache, $(JVM_SRC_DIRS))" statement which was only modified in the original change.
Please let me know what you think.
Bug: https://bugs.openjdk.java.net/browse/JDK-8189861
Original Change: http://hg.openjdk.java.net/jdk/jdk/rev/e297c7bb6469
Webrev: http://cr.openjdk.java.net/~clanger/webrevs/8189861.11u/
Thanks & Best regards
Christoph
More information about the jdk-updates-dev
mailing list