Ian Brandt
10/20/2024, 11:11 PMAssuming a non-JPMS build, which may affect certain details.Does modularizing a build have any known performance impacts, positive or negative? For example, might module descriptor info be used to speed up ABI analysis for compilation avoidance when only a subset of the packages containing public API in a project are exported? Does
java.modularity.inferModulePath
add any significant overhead?Anze Sodja
10/21/2024, 7:35 AMjava.modularity.inferModulePath
add any significant overhead?
I don't expect there is any penalty, but we never really measured it.
But I know that there could be problems with incremental compilation if you have multiple modules per project, e.g.:
src/main/java/my.module.first/module-info.java
src/main/java/my.module.second/module-info.java
In that case you might need to disable incremental compilation, while compilation avoidance still worksIan Brandt
10/22/2024, 4:38 AMAnze Sodja
10/22/2024, 2:19 PM