Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[GH #880/#875] Apparently fixed the GC thread bugs

Also block the sweep phase from proxied interps. Previously only the mark.
  • Loading branch information...
commit cb5beee840d8f46b37f69408e4ede7cfadfe3b1f 1 parent d742899
@rurban rurban authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/pmc/parrotinterpreter.pmc
View
2  src/pmc/parrotinterpreter.pmc
@@ -840,11 +840,13 @@ Schedules the given task on the proxy's interpreter.
/* don't run GC from the wrong thread since GC involves stack walking and we
* don't want the foreign GC to find our objects */
Parrot_block_GC_mark_locked(proxied_interp);
+ Parrot_block_GC_sweep(proxied_interp);
Parrot_cx_schedule_immediate(proxied_interp,
Parrot_thread_create_local_task(INTERP, proxied_interp, task));
Parrot_unblock_GC_mark_locked(proxied_interp);
+ Parrot_unblock_GC_sweep(proxied_interp);
#else
Parrot_cx_schedule_immediate(interp, task);
#endif

0 comments on commit cb5beee

Please sign in to comment.
Something went wrong with that request. Please try again.