]> granicus.if.org Git - gc/commitdiff
Revert 'Workaround gctest hang on kFreeBSD if thread-local allocations are on'
authorIvan Maidanski <ivmai@mail.ru>
Wed, 18 Jul 2018 04:27:05 +0000 (07:27 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 18 Jul 2018 04:27:05 +0000 (07:27 +0300)
This reverts commit cbd1d3e5dc09b1f23d29965d6f0df0bec6c4b1df.

The reverted commit is not needed for release-7_4 and earlier branches.

configure.ac

index d5fc80aa68b2305470c19cf69b3409f43e129bc4..0a6c70a144cdfe3f8d7c03a70f5cde8def76ae2a 100644 (file)
@@ -241,11 +241,7 @@ case "$THREADS" in
         if test "${enable_parallel_mark}" = yes; then
           AC_DEFINE(PARALLEL_MARK)
         fi
-        # FIXME: For a reason, gctest hangs up on kFreeBSD if both of
-        # THREAD_LOCAL_ALLOC and GC_ENABLE_SUSPEND_THREAD are defined.
-        if test x"$enable_gcj_support" = xno; then
-          AC_DEFINE(THREAD_LOCAL_ALLOC)
-        fi
+        AC_DEFINE(THREAD_LOCAL_ALLOC)
         AC_DEFINE(USE_COMPILER_TLS)
         ;;
      *-*-gnu*)