RFR: 8254882: ZGC: Use static_assert instead of guarantee
Per Liden
pliden at openjdk.java.net
Fri Oct 16 09:36:20 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".
-------------
Commit messages:
- 8254882: ZGC: Use static_assert instead of guarantee
Changes: https://git.openjdk.java.net/jdk/pull/696/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=696&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8254882
Stats: 13 lines in 3 files changed: 3 ins; 3 del; 7 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