RFR: 8338768: Introduce runtime lookup to check for static builds [v2]
Alan Bateman
alanb at openjdk.org
Sun Aug 25 15:00:03 UTC 2024
On Fri, 23 Aug 2024 10:04:42 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> But, if you look at the actual functions that are affected, you can see that it is just a handful of calls that are all done at startup time.
That is true for now but there 30-50 other places that will need attention once this effort is further along. Everywhere that deals with user editable configuration (conf tree) will change, as will everywhere that reads JDK internal files in the lib directory. It will be possible to abstract some of this but just to say that it a lot of it will be in Java code rather than native code. Also there will be specifically changes that goes with some of this, something for later if there is JEP that proposes builds to produce a static image.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20666#issuecomment-2308884916
More information about the serviceability-dev
mailing list