js_DestroyContext acquires the GC lock before printing types, but we need to release it sooner to prevent a deadlock. JS_ClearAllWatchPoints can allocate shapes, needs the lock etc. This is causing "make check" failures.
Created attachment 534059 [details] [diff] [review] Patch
http://hg.mozilla.org/projects/jaegermonkey/rev/f96d9ed26fc8 Hopefully this is enough to fix |make check|.