RFR: 8255566: Initialize JDK_Version direct from the build system

David Holmes dholmes at openjdk.java.net
Fri Apr 30 09:34:13 UTC 2021


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

-------------

Commit messages:
 - 8255566: Initialize JDK_Version direct from the build system

Changes: https://git.openjdk.java.net/jdk/pull/3812/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3812&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8255566
  Stats: 86 lines in 5 files changed: 7 ins; 74 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3812.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3812/head:pull/3812

PR: https://git.openjdk.java.net/jdk/pull/3812



More information about the build-dev mailing list