diff options
author | Jon Coppeard <jcoppeard@mozilla.com> | 2018-05-10 10:09:31 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-06-07 15:46:49 +0200 |
commit | c951c985c1738a951a0e851710cf6c355671afd1 (patch) | |
tree | 7ff34e726877ed87ede73d0344c9bf6f787f255d /js/src/vm/HelperThreads.cpp | |
parent | f13b39a773f96d8edbc0c5ef5c7a3d896a10925a (diff) | |
download | UXP-c951c985c1738a951a0e851710cf6c355671afd1.tar UXP-c951c985c1738a951a0e851710cf6c355671afd1.tar.gz UXP-c951c985c1738a951a0e851710cf6c355671afd1.tar.lz UXP-c951c985c1738a951a0e851710cf6c355671afd1.tar.xz UXP-c951c985c1738a951a0e851710cf6c355671afd1.zip |
Bug 1465108 - Use function pointers rather than virtual run method for GC parallel tasks r=sfink a=abillings a=RyanVM
Diffstat (limited to 'js/src/vm/HelperThreads.cpp')
-rw-r--r-- | js/src/vm/HelperThreads.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/vm/HelperThreads.cpp b/js/src/vm/HelperThreads.cpp index 7381a97b5..bd29d0c79 100644 --- a/js/src/vm/HelperThreads.cpp +++ b/js/src/vm/HelperThreads.cpp @@ -1144,7 +1144,7 @@ js::GCParallelTask::runFromMainThread(JSRuntime* rt) MOZ_ASSERT(state == NotStarted); MOZ_ASSERT(js::CurrentThreadCanAccessRuntime(rt)); uint64_t timeStart = PRMJ_Now(); - run(); + runTask(); duration_ = PRMJ_Now() - timeStart; } @@ -1155,7 +1155,7 @@ js::GCParallelTask::runFromHelperThread(AutoLockHelperThreadState& locked) AutoUnlockHelperThreadState parallelSection(locked); gc::AutoSetThreadIsPerformingGC performingGC; uint64_t timeStart = PRMJ_Now(); - run(); + runTask(); duration_ = PRMJ_Now() - timeStart; } |