Whole-program analysis is an essential technique that enables advanced compiler
optimizations. An important example of such a method is points-to analysis used
by ahead-of-time (AOT) compilers to discover program elements (classes, methods,
fields) that may be used on at least one program path during the run of the
program and hence need to be compiled. GraalVM Native Image uses a points-to
analysis to optimize Java applications, which is a time-consuming step of the
build. We explore how much the analysis time can be improved by replacing the