Integrated: 8254882: ZGC: Use static_assert instead of guarantee

Per Liden pliden at openjdk.java.net
Mon Oct 19 07:40:11 UTC 2020


On Fri, 16 Oct 2020 09:27:25 GMT, Per Liden <pliden at openjdk.org> wrote:

> 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".

This pull request has now been integrated.

Changeset: a1a3e9de
Author:    Per Liden <pliden at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/a1a3e9de
Stats:     16 lines in 3 files changed: 3 ins; 3 del; 10 mod

8254882: ZGC: Use static_assert instead of guarantee

Reviewed-by: kbarrett, tschatzl

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

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



More information about the hotspot-gc-dev mailing list