Commit graph

32 commits

Author SHA1 Message Date
Martok
8893997378 Issue #2172 - ensure pointers in RegExpShared are updated after GC compacting 2023-08-10 22:13:56 +08:00
Brian Smith
f041afc61d Issue #1240 - Part 1 - Define a new BigInt primitive type. Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1366287 Part 1.0. However leaving out the --enable-bigint changes. 2023-07-25 09:08:03 +08:00
Moonchild
24b1a0f166 Avoid TLS lookups when checking if zones need to be marked for GC.
This converts the fromPointer() calls to an object cast to (hopefully)
avoid the GC crashes. Logic is reversed from MustSkipMarking to
ShouldMark with appropriate renames.
2023-07-03 14:59:02 +08:00
Moonchild
95a1e4b7a3 Simplify incremental GC sweeping
Splitting several parts of `SweepPhase` into constituent parts to
separate out sweeping code from code that handles yielding to the
mutator and resuming.
2023-07-03 14:58:44 +08:00
Job Bautista
3796c7c1e1 Issue #2083 - Part 1: Make RegExpShared a GC thing.
Based on Mozilla bug 1345177.
Changes from the original bug's patch:

- We don't have JS::CurrentThreadIsHeapCollecting, so let's use
  trc->runtime()->isHeapCollecting() instead.
- Mozilla bug 1337117 renamed runtimeFromMainThread to
  runtimeFromActiveCooperatingThread for Firefox 54, so let's use the former
2023-02-01 07:35:50 +08:00
Moonchild
dabd32f955 Issue #1656 - Part 7: Nuke vim config lines in JS 2020-09-25 22:04:24 +08:00
wolfbeast
2996c783d8 Revert #1091 Remove unboxed object code phase 1 + extras.
This should be the last code backout for this. merging this branch
should get us back to the way we were (+ additional code changes for
later changes) as fasr as the unused unboxed code is concerned.
2020-02-27 07:34:57 +08:00
wolfbeast
10e1c09fec Issue #316 - Be more gentle with the CC and nursery. 2020-02-21 07:05:20 +08:00
wolfbeast
1e553d0e73 Issue #316 - Make the memory GC performance object conditional (WIP)
This was only added for GCubench and likely interfering with building
without devtools-server.
2020-02-21 07:05:16 +08:00
wolfbeast
ca9e376e55 Issue #1257 - Part 2: Remove watch/unwatch and JS watchpoint class. 2019-11-01 10:24:09 +08:00
wolfbeast
d73dc74bd1 Remove unboxed objects from GC 2019-05-24 21:55:58 +08:00
win7-7
b11e5bc2d3 Braces and one more typo fix for comment 2019-05-03 21:34:45 +08:00
win7-7
b584107330 Whitespaces, typo, tabs to space
Remove whitespaces, correct comment typo, one more tab to space
2019-05-03 21:34:42 +08:00
win7-7
297f99b0bf Remove rest of empty lines. 2019-05-03 21:34:39 +08:00
win7-7
1a8e4749c3 Remove some empty lines 2019-05-03 21:34:37 +08:00
win7-7
862e0cb3ea remaining tabs to space js/src/jsgc.cpp 2019-05-03 21:34:33 +08:00
win7-7
4489faedab tab to spaces js/src 2019-05-03 21:32:17 +08:00
win7-7
41693aa70f Add newline at end of files js/src 2019-05-03 21:32:06 +08:00
win7-7
a695e349d8 Improve dead compartment collection js/src 2019-05-03 21:31:55 +08:00
wolfbeast
c0871c52e1 Fix possible data race while updating scope object during compacting GC. 2019-02-16 00:28:06 +08:00
Jon Coppeard
89e332cfec Bug 1465108 - Use function pointers rather than virtual run method for GC parallel tasks r=sfink a=abillings a=RyanVM 2019-02-16 00:01:53 +08:00
wolfbeast
9ca1242630 Fix count of compacting update tasks started. 2019-02-16 00:01:51 +08:00
wolfbeast
ed9ef4d079 Remove runDebugGC() stub 2019-02-14 14:38:13 +08:00
wolfbeast
7e54c3428c Remove pushZealSelectedObjects() and caller 2019-02-14 14:38:11 +08:00
wolfbeast
55743711cc Remove finishMarkingValidation and caller 2019-02-14 14:38:10 +08:00
wolfbeast
e7140f36c5 Remove validateIncrementalMarking() and caller 2019-02-14 14:38:08 +08:00
wolfbeast
55d5d48137 Remove computeNonIncrementalMarkingForValidation(lock) and caller 2019-02-14 14:38:07 +08:00
wolfbeast
10e8869a61 Remove AutoStopVerifyingBarriers RAII stub struct no longer in use. 2019-02-14 14:38:03 +08:00
wolfbeast
0c01eb7ec6 Remove hasZealMode(mode) and callers 2019-02-14 14:37:57 +08:00
wolfbeast
a2355a9bc6 Remove isVerifyPreBarriersEnabled() stub and callers 2019-02-14 14:37:55 +08:00
wolfbeast
b5de790f2a Remove remaining conditional GCZeal code.
Creates stubs:
jsgc.h/cpp
VerifyBarriers() stub
MaybeVerifyBarriers() stub
GCRuntime::computeNonIncrementalMarkingForValidation() stub
GCRuntime::validateIncrementalMarking() stub
GCRuntime::finishMarkingValidation() stub
GCRuntime::pushZealSelectedObjects() stub
bool useZeal?
GCRuntime::runDebugGC() stub
XPConnect:
nsXPCComponents_Utils::SetGCZeal() stub (always NS_OK)
2019-02-14 14:37:52 +08:00
Roy Tam
dcd9973243 import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00