Closed Bug 1699496 Opened 3 years ago Closed 3 years ago

Don't call GetNativeStackBase when creating helper thread contexts

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: jandem, Assigned: jandem)

Details

Attachments

(1 file)

These contexts are created on the main thread, but on Linux for GetNativeStackBase we have a dlsym call that we can avoid for the helper thread contexts.

We only need to call this on the helper threads. This matters because GetNativeStackBase
has to use dlsym on Linux to get the main thread's stack base.

Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2fff23ce15a3
Don't call GetNativeStackBase when creating helper thread contexts. r=tcampbell
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: