RFR: 8288396: Always create reproducible builds [v3]

Magnus Ihse Bursie ihse at openjdk.java.net
Wed Jun 15 14:13:43 UTC 2022


> When we started introducing some possibly more intrusive compiler flags and functionality for reproducible builds, we also introduced a flag to turn this off  out of an abundance of caution. But we have been been using this configuration for a year or so internally within Oracle, with no issues. So there's really no reason to be able to turn this off. (If you were to ask me, the fact that compilers and build tools ever started to produce non-deterministic output has been a bug from day one.)
> 
> With this fix, all randomness should be gone from our builds, at least on linux and windows. There are no more `__DATE__` and `__TIME__` macros in the source code.

Magnus Ihse Bursie has updated the pull request incrementally with one additional commit since the last revision:

  Replace sysAssert with SHMEM_ASSERT

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9152/files
  - new: https://git.openjdk.org/jdk/pull/9152/files/e2f5fc05..0421abc3

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9152&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9152&range=01-02

  Stats: 30 lines in 1 file changed: 0 ins; 12 del; 18 mod
  Patch: https://git.openjdk.org/jdk/pull/9152.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9152/head:pull/9152

PR: https://git.openjdk.org/jdk/pull/9152


More information about the serviceability-dev mailing list