pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: ci: macos: Remove use of -DRANDOMIZE_ALLOCATED_MEMORY
Date: Sat, 12 Aug 2023 22:12:33 +0000
Message-ID: <E1qUwqW-001l52-6c@gemulon.postgresql.org> (raw)

ci: macos: Remove use of -DRANDOMIZE_ALLOCATED_MEMORY

RANDOMIZE_ALLOCATED_MEMORY causes a measurable slowdown. Macos is, by far, the
most expensive platform for CI, therefore it doesn't make sense to run such a
test there.

Ubsan and asan on linux should detect most of the the cases of uninitialized
memory, so it doesn't really seem worth using -DRANDOMIZE_ALLOCATED_MEMORY in
another instance type.

Author: Andres Freund <andres@anarazel.de>
Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Discussion: https://postgr.es/m/20230808021541.7lbzdefvma7qmn3w@awork3.anarazel.de
Backpatch: 16-, where 89d16b635 added the use of -DRANDOMIZE_ALLOCATED_MEMORY

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4bec616f26f5f39a6819804f2b7992495a1a7a6f

Modified Files
--------------
.cirrus.yml | 1 -
1 file changed, 1 deletion(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1qUwqW-001l52-6c@gemulon.postgresql.org>
Permalink:  ../E1qUwqW-001l52-6c@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qUwqW-001l52-6c@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: ci: macos: Remove use of -DRANDOMIZE_ALLOCATED_MEMORY
  In-Reply-To: <E1qUwqW-001l52-6c@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox