sb-safepoint: Fix interrupts during GC.
authorStas Boukarev <stassats@gmail.com>
Sun, 8 Sep 2013 23:19:18 +0000 (03:19 +0400)
committerStas Boukarev <stassats@gmail.com>
Sun, 8 Sep 2013 23:19:18 +0000 (03:19 +0400)
commitc07b621a73f9580a32d27d94e301c01c5dad5f4e
treea56dff72618e5e1508ce954975d9a6addc4d8ad0
parent6e8fe793a4f3e8a3c8b67755101ee15df85d73c4
sb-safepoint: Fix interrupts during GC.

In interrupt_handle_now, move

context_sap = alloc_sap(context);
info_sap = alloc_sap(info);

after WITH_GC_AT_SAFEPOINTS_ONLY(), otherwise the allocation will
break the running GC.
Fixes lp#1133018.
NEWS
src/runtime/interrupt.c