pgsql: ci: macos: Remove use of -DRANDOMIZE_ALLOCATED_MEMORY

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: ci: macos: Remove use of -DRANDOMIZE_ALLOCATED_MEMORY
Date: 2023-08-12 22:12:33
Message-ID: E1qUwqW-001l4y-5p@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)anarazel(dot)de>
Reviewed-by: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Discussion: https://postgr.es/m/20230808021541.7lbzdefvma7qmn3w@awork3.anarazel.de
Backpatch: 16-, where 89d16b635 added the use of -DRANDOMIZE_ALLOCATED_MEMORY

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/17ebbdf7de192c340762cb852ce615aefa191c95

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

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2023-08-14 03:15:13 pgsql: Simplify determining logical replication worker types.
Previous Message Noah Misch 2023-08-12 21:38:29 pgsql: Fix off-by-one in XLogRecordMaxSize check.