[svn:parrot] r48784 - trunk/src

chromatic at svn.parrot.org chromatic at svn.parrot.org
Sat Sep 4 15:28:42 UTC 2010


Author: chromatic
Date: Sat Sep  4 15:28:42 2010
New Revision: 48784
URL: https://trac.parrot.org/parrot/changeset/48784

Log:
[src] Removed GC blocking from run_init_lib().

Again, this blocking should be unnecessary, but in case of trouble with dynamic
library loading, this commit may be the culprit.

Modified:
   trunk/src/dynext.c

Modified: trunk/src/dynext.c
==============================================================================
--- trunk/src/dynext.c	Sat Sep  4 15:28:39 2010	(r48783)
+++ trunk/src/dynext.c	Sat Sep  4 15:28:42 2010	(r48784)
@@ -477,12 +477,6 @@
     Parrot_pcc_set_namespace(interp, context,
             Parrot_get_HLL_namespace(interp, parrot_hll_id));
 
-    /*
-     * work around gcc 3.3.3 and other problem with dynpmcs
-     * something during library loading doesn't stand a GC run
-     */
-    Parrot_block_GC_mark(interp);
-
     if (lib_name) {
         STRING * const load_name       = Parrot_sprintf_c(interp,
                                         "Parrot_lib_%Ss_load", lib_name);
@@ -517,9 +511,6 @@
     /* remember lib_pmc in iglobals */
     store_lib_pmc(interp, lib_pmc, wo_ext, type, lib_name);
 
-    /* UNLOCK */
-    Parrot_unblock_GC_mark(interp);
-
     Parrot_pop_context(interp);
 
     return lib_pmc;


More information about the parrot-commits mailing list