RFR: 8254882: ZGC: Use static_assert instead of guarantee [v3]

Per Liden pliden at openjdk.java.net
Mon Oct 19 07:28:31 UTC 2020


> The ZMarkStackAllocator uses guarantee(), which can be turned into static_assert(). I took the opportunity to also
> change three exsisting uses of STATIC_ASSERT to static_assert, and adjust some neighbouring "typedefs" to "using".

Per Liden has updated the pull request incrementally with one additional commit since the last revision:

  Update copyright

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/696/files
  - new: https://git.openjdk.java.net/jdk/pull/696/files/61a60d44..1ad75179

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=696&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=696&range=01-02

  Stats: 3 lines in 3 files changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/696.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/696/head:pull/696

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



More information about the hotspot-gc-dev mailing list