Loading js/src/vm/ForkJoin.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -1473,6 +1473,11 @@ ForkJoinShared::executePortion(PerThreadData *perThread, // WARNING: This code runs ON THE PARALLEL WORKER THREAD. // Therefore, it should NOT access `cx_` in any way! // ForkJoinSlice already contains an AutoAssertNoGC; however, the analysis // does not propagate this type information. We duplicate the assertion // here for maximum clarity. JS::AutoAssertNoGC nogc(runtime()); Allocator *allocator = allocators_[threadId]; ForkJoinSlice slice(perThread, threadId, numSlices_, allocator, this, &records_[threadId]); Loading Loading
js/src/vm/ForkJoin.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -1473,6 +1473,11 @@ ForkJoinShared::executePortion(PerThreadData *perThread, // WARNING: This code runs ON THE PARALLEL WORKER THREAD. // Therefore, it should NOT access `cx_` in any way! // ForkJoinSlice already contains an AutoAssertNoGC; however, the analysis // does not propagate this type information. We duplicate the assertion // here for maximum clarity. JS::AutoAssertNoGC nogc(runtime()); Allocator *allocator = allocators_[threadId]; ForkJoinSlice slice(perThread, threadId, numSlices_, allocator, this, &records_[threadId]); Loading