RFR: 8255566: Initialize JDK_Version direct from the build system
David Holmes
dholmes at openjdk.java.net
Fri Apr 30 12:52:56 UTC 2021
On Fri, 30 Apr 2021 09:19:57 GMT, David Holmes <dholmes at openjdk.org> wrote:
> The existing logic does:
>
> build system -> java.lang.VersionProps -> VM thread.cpp fixed-size static buffers -> JDK_Version class
>
> we can simply do:
>
> build system -> JDK_Version class
>
> reduces footprint, loc and startup time.
>
> Testing tiers 1-3 and manual visual inspection of version strings
>
> Thanks,
> David
I missed the fact that the VENDOR_VERSION and VENDOR_URL_VM_BUG values can be set programmatically by the jlink plugin, and so are different from the configure-time values. The VM has to continue to read those from VersionProps.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3812
More information about the build-dev
mailing list