Optimizations around sources used only for linking

Raluca Sauciuc ralucas at google.com
Thu Mar 20 19:15:36 UTC 2014


I have a question about sjavac and its parallel compilation model.

In JDK7, source files used only for linking, even with -implicit:none, are
going though ATTR, FLOW, etc. just like the sources to be compiled. This
can be very expensive and unnecessary (attribution and type checking can
also require the resolution of other types, etc).

Is sjavac taking advantage of any optimizations in this regard? If yes, any
pointers to code or changesets would be great.

Thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20140320/bc747cdf/attachment.html>

More information about the compiler-dev mailing list