Created attachment 592996 [details] [diff] [review] Remove custom trace function from js_NoSuchMethodClass. This is kind of embarrassing, but: Since js_NoSuchMethodClass is a native class, it doesn't need a custom trace function; the normal slot traversal will reach the function and id slots. I've verified this in the debugger, and will later be proposing a patch that actually verifies that the slots are being marked properly.
Try: https://tbpl.mozilla.org/?tree=Try&rev=fa7f1b5bc7e0 I've also run all the tests in js/src/tests and js/src/jit-test that use __noSuchMethod__ with --gczeal=1 and --gczeal=2; seems fine.
5 years ago