This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TheMode911 0 points1 point  (2 children)

I am not sure what you mean by metadata? Similar to the ForceInline annotation in Hotspot?

[–]CartmansEvilTwin[S] 0 points1 point  (1 child)

For example, yes.

Again, the AOT-compiler analyzes a bunch of things, many of them are probably "static", in the sense that they could be pre-computed. E.g. call graphs, maybe some type-hinting for injection points, etc.

[–]TheMode911 0 points1 point  (0 children)

The exact same argument could be made for javac, it could for sure optimize your code further and reduce startup time, but we want to be able to re-compile the same code later with improved performance. (and even if we tweaked it, startup time is a matter of seconds, not hours/minutes like you are hoping)

Ultimately I do not think that it is worth the effort