[m-rev.] for review: revert HBLKSIZE increase on linux

Peter Wang novalazy at gmail.com
Wed Apr 27 14:21:09 AEST 2011


For review by Paul.  This might be required on the release branch as well.

Branches: main

Revert custom increase to HBLKSIZE in parallel grades on Linux.
It was already reverted on other systems due to problems with it not working.

In asm_fast.par.gc and hlc.par.gc grades on 64-bit Linux, I am getting
aborts when GC_free is called:

Duplicate large block deallocation of 0x7f2769f10000

configure.in:
	As above.

diff --git a/configure.in b/configure.in
index 5054c5c..5fb5a39 100644
--- a/configure.in
+++ b/configure.in
@@ -2956,7 +2956,8 @@ case "$host" in
         # CPP_LOG_HBLKSIZE must always be the base-2 log of HBLKSIZE.
         # (With the current collector these settings only appear to work
         # correctly on Linux.)
-        BOEHM_MISC_CFLAGS_FOR_THREADS="-DHBLKSIZE=32768 -DCPP_LOG_HBLKSIZE=15"
+        # XXX disabled as it is causing problems with GC_free
+        # BOEHM_MISC_CFLAGS_FOR_THREADS="-DHBLKSIZE=32768 -DCPP_LOG_HBLKSIZE=15"
         ;;
 
     *cygwin*)

--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list