Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What happened to JEP 145 (faster jvm startup due to compiled code reusage)?

In 2012, a JEP 145 has been created in order to
cache compiled native code in java for faster jvm startups.

At that time, it had been officially announced.
However, the JEP 145 does not exist anymore.

What happened to it? The idea sounds great.
I could not find an official statement why and when this project has been cancelled.

like image 785
MRalwasser Avatar asked Sep 08 '16 15:09

MRalwasser


1 Answers

The text of the JEP is still available in the JEP source repository:

http://hg.openjdk.java.net/jep/jeps/raw-file/c915dfb4117d/jep-145.md

There doesn't seem to be a documented reason for it to be canceled. But we now know that AOT is in the works and it solves many of the same problems, possibly in a way that's easier to implement and maintain. In fact, the AOT JEP says:

It is possible that saving a very late copy of the low-level IR could be done instead, but that seems no less complex.

That certainly seems like an explanation of why 145 is not the way to go.

like image 116
omajid Avatar answered Sep 22 '22 23:09

omajid