- 10 Aug, 2015 3 commits
-
-
mstarzinger authored
This is a first step towards constraining down the heap interface to just the heap.h file. Note that many includes still leak through that file to the global "src" directory, but there now is a single place controlling which declarations leak that way. Especially inclusion of inline header files within "heap" has been limited drastically. R=hpayer@chromium.org,mlippautz@chromium.org Review URL: https://codereview.chromium.org/1281233003 Cr-Commit-Position: refs/heads/master@{#30092}
-
mstarzinger authored
R=mlippautz@chromium.org Review URL: https://codereview.chromium.org/1284643003 Cr-Commit-Position: refs/heads/master@{#30090}
-
hpayer authored
BUG=chromium:507211 LOG=n Review URL: https://codereview.chromium.org/1257653011 Cr-Commit-Position: refs/heads/master@{#30089}
-
- 07 Aug, 2015 3 commits
-
-
mstarzinger authored
R=hpayer@chromium.org Review URL: https://codereview.chromium.org/1281903002 Cr-Commit-Position: refs/heads/master@{#30071}
-
mstarzinger authored
R=hpayer@chromium.org Review URL: https://codereview.chromium.org/1269313003 Cr-Commit-Position: refs/heads/master@{#30066}
-
mstarzinger authored
R=hpayer@chromium.org Review URL: https://codereview.chromium.org/1279043002 Cr-Commit-Position: refs/heads/master@{#30061}
-
- 05 Aug, 2015 1 commit
-
-
hpayer authored
BUG=chromium:507211 LOG=n Review URL: https://codereview.chromium.org/1226773003 Cr-Commit-Position: refs/heads/master@{#30027}
-
- 04 Aug, 2015 3 commits
-
-
hpayer authored
BUG= Review URL: https://codereview.chromium.org/1267313002 Cr-Commit-Position: refs/heads/master@{#30015}
-
hpayer authored
BUG= Review URL: https://codereview.chromium.org/1259613006 Cr-Commit-Position: refs/heads/master@{#30007}
-
hpayer authored
That makes going to the page safe. Addresses can be in arbitrary locations of an object, e.g. in a large object but not on the first 1M page. BUG= Review URL: https://codereview.chromium.org/1256203004 Cr-Commit-Position: refs/heads/master@{#29991}
-
- 03 Aug, 2015 4 commits
-
-
hpayer authored
BUG=chromium:454297 LOG=n Review URL: https://codereview.chromium.org/1268663004 Cr-Commit-Position: refs/heads/master@{#29979}
-
hpayer authored
Reland of land concurrent sweeping of code space. (patchset #1 id:1 of https://codereview.chromium.org/1263343002/) Reason for revert: Bogus revert. Original issue's description: > Revert of Reland concurrent sweeping of code space. (patchset #6 id:100001 of https://codereview.chromium.org/1242333002/) > > Reason for revert: > Reverted because 507840 came back on recent Chromecrash. Should not have committed this Cl. > > Original issue's description: > > Reland concurrent sweeping of code space. > > > > BUG= > > > > Committed: https://crrev.com/8516dccf6a561020441773c93c564dd4aa6ee59e > > Cr-Commit-Position: refs/heads/master@{#29967} > > TBR=jochen@chromium.org > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG= > > Committed: https://crrev.com/5c6e7d00438cc82a5584e3178d7dadf36e4a34f8 > Cr-Commit-Position: refs/heads/master@{#29975} TBR=jochen@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG= Review URL: https://codereview.chromium.org/1271773002 Cr-Commit-Position: refs/heads/master@{#29976}
-
hpayer authored
Revert of Reland concurrent sweeping of code space. (patchset #6 id:100001 of https://codereview.chromium.org/1242333002/) Reason for revert: Reverted because 507840 came back on recent Chromecrash. Should not have committed this Cl. Original issue's description: > Reland concurrent sweeping of code space. > > BUG= > > Committed: https://crrev.com/8516dccf6a561020441773c93c564dd4aa6ee59e > Cr-Commit-Position: refs/heads/master@{#29967} TBR=jochen@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG= Review URL: https://codereview.chromium.org/1263343002 Cr-Commit-Position: refs/heads/master@{#29975}
-
hpayer authored
BUG= Review URL: https://codereview.chromium.org/1242333002 Cr-Commit-Position: refs/heads/master@{#29967}
-
- 31 Jul, 2015 1 commit
-
-
mlippautz authored
BUG= Review URL: https://codereview.chromium.org/1269753002 Cr-Commit-Position: refs/heads/master@{#29945}
-
- 30 Jul, 2015 1 commit
-
-
hpayer authored
BUG=chromium:454297 LOG=n Review URL: https://codereview.chromium.org/1265943002 Cr-Commit-Position: refs/heads/master@{#29930}
-
- 27 Jul, 2015 1 commit
-
-
hpayer authored
BUG=chromium:507211 LOG=n Review URL: https://codereview.chromium.org/1260463002 Cr-Commit-Position: refs/heads/master@{#29864}
-
- 23 Jul, 2015 1 commit
-
-
hpayer authored
Use a lock in pages to synchronize sweeper threads to allow others to wait on concurrently swept pages. BUG= Review URL: https://codereview.chromium.org/1244353002 Cr-Commit-Position: refs/heads/master@{#29804}
-
- 21 Jul, 2015 1 commit
-
-
hpayer authored
This reverts commit 80b3f169. Revert "Record code slots that may point to evacuation candidate objects after deoptimizing them." This reverts commit 4621210c. BUG=chromium:507840 LOG=n Review URL: https://codereview.chromium.org/1239383004 Cr-Commit-Position: refs/heads/master@{#29778}
-
- 20 Jul, 2015 3 commits
-
-
yangguo authored
Prior to this patch, we enter a global debug mode whenever a break point is set. By entering this mode, all code is deoptimized and activated frames are recompiled and redirected to newly compiled debug code. After this patch, we only deoptimize/redirect for functions we want to debug. Trigger for this is Debug::EnsureDebugInfo, and having DebugInfo object attached to the SFI prevents optimization/inlining. The result is that we can have optimized code for functions without break points alongside functions that do have break points, which are not optimized. R=mstarzinger@chromium.org, ulan@chromium.org BUG=v8:4132 LOG=Y Review URL: https://codereview.chromium.org/1233073005 Cr-Commit-Position: refs/heads/master@{#29758}
-
hpayer authored
Revert of Reland concurrent sweeping of code space. (patchset #5 id:80001 of https://codereview.chromium.org/1225733002/) Reason for revert: Tests became flaky. Original issue's description: > Reland concurrent sweeping of code space. > > BUG=chromium:506778,chromium:506957,chromium:507211 > LOG=n > > Committed: https://crrev.com/806b81f11e3bfaef0d4330c7669e6934074be9cb > Cr-Commit-Position: refs/heads/master@{#29748} TBR=jochen@chromium.org,mvstanton@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=chromium:506778,chromium:506957,chromium:507211 Review URL: https://codereview.chromium.org/1242743002 Cr-Commit-Position: refs/heads/master@{#29751}
-
hpayer authored
BUG=chromium:506778,chromium:506957,chromium:507211 LOG=n Review URL: https://codereview.chromium.org/1225733002 Cr-Commit-Position: refs/heads/master@{#29748}
-
- 15 Jul, 2015 1 commit
-
-
yangguo authored
By not having to patch the return sequence (we patch the debug break slot right before it), we don't overwrite it and therefore don't have to keep the original copy of the code around. R=ulan@chromium.org BUG=v8:4269 LOG=N Review URL: https://codereview.chromium.org/1234833003 Cr-Commit-Position: refs/heads/master@{#29672}
-
- 13 Jul, 2015 1 commit
-
-
yangguo authored
- split relocation info for debug break slots for - calls (with call arguments count as data) - construct calls - normal slots - renamed DEBUG_BREAK into DEBUGGER_STATEMENT - removed unused IC state for Debug stubs R=ulan@chromium.org BUG=v8:4269 LOG=N Review URL: https://codereview.chromium.org/1232803002 Cr-Commit-Position: refs/heads/master@{#29603}
-
- 06 Jul, 2015 1 commit
-
-
machenbach authored
Revert of Concurrent sweeping of code space. (patchset #4 id:60001 of https://codereview.chromium.org/1222013002/) Reason for revert: [Sheriff] Increased flaky crashes. See: https://code.google.com/p/v8/issues/detail?id=4275 Original issue's description: > Concurrent sweeping of code space. > > BUG= > > Committed: https://crrev.com/3050b52f57d652dc45c8baf416e174f22dc2c159 > Cr-Commit-Position: refs/heads/master@{#29456} TBR=jochen@chromium.org,hpayer@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG= Review URL: https://codereview.chromium.org/1223763003 Cr-Commit-Position: refs/heads/master@{#29475}
-
- 03 Jul, 2015 1 commit
-
-
hpayer authored
BUG=chromium:506811 LOG=n Review URL: https://codereview.chromium.org/1225573002 Cr-Commit-Position: refs/heads/master@{#29466}
-
- 02 Jul, 2015 1 commit
-
-
hpayer authored
BUG= Review URL: https://codereview.chromium.org/1222013002 Cr-Commit-Position: refs/heads/master@{#29456}
-
- 01 Jul, 2015 4 commits
-
-
mstarzinger authored
This makes sure that all pointer fields in an entry in the optimized code map are considered weak, not just the code object. If just one field of an entry dies, then the whole entry dies. R=hpayer@chromium.org Review URL: https://codereview.chromium.org/1217813013 Cr-Commit-Position: refs/heads/master@{#29417}
-
mstarzinger authored
This extends the existing support for --noflush-optimized-code-cache mechanism to the newly added context-independent code entry in the optimized code map. Note that this machanism is still off by default. R=hpayer@chromium.org Review URL: https://codereview.chromium.org/1220883002 Cr-Commit-Position: refs/heads/master@{#29415}
-
mstarzinger authored
R=hpayer@chromium.org Review URL: https://codereview.chromium.org/1216153004 Cr-Commit-Position: refs/heads/master@{#29405}
-
mstarzinger authored
R=hpayer@chromium.org Review URL: https://codereview.chromium.org/1218003003 Cr-Commit-Position: refs/heads/master@{#29403}
-
- 30 Jun, 2015 2 commits
-
-
mstarzinger authored
This makes sure that both, the shared function info and it's optimized code map get revisited when the code map is evicted from the flusher. R=hpayer@chromium.org TEST=mjsunit/debug-set-variable-value Review URL: https://codereview.chromium.org/14703009 Cr-Commit-Position: refs/heads/master@{#29387}
-
hpayer authored
BUG= Review URL: https://codereview.chromium.org/1221643004 Cr-Commit-Position: refs/heads/master@{#29379}
-
- 25 Jun, 2015 1 commit
-
-
mstarzinger authored
R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/1206803003 Cr-Commit-Position: refs/heads/master@{#29284}
-
- 24 Jun, 2015 1 commit
-
-
yangguo authored
If we do not clear next links during serialization, the serializer would simply follow those links and serialize arbitrary objects held by weak cells. This breaks the invariant in the code serializer, which crashes if it sees context-dependent objects. R=ulan@chromium.org BUG=chromium:503552 LOG=Y Review URL: https://codereview.chromium.org/1203973002 Cr-Commit-Position: refs/heads/master@{#29255}
-
- 22 Jun, 2015 1 commit
-
-
mstarzinger authored
This fixes a terrible interaction of code flushing and the clearing of optimized code maps hanging off a SharedFunctionInfo. The following is what happened: 1) Incremental marking cleared map in SharedFunctionInfo s, however it was not enqueued as a flushing candidate because one JSFunction f1 still had optimized code. 2) Deoptimization of f1 made s eligible for code flushing. 3) Optimization of f2 added new entry to optimized code map of s. 4) The JSFunction f2 became unreachable and hence is never marked. 5) Incremental marking now visits f1, finds it eligible for flushing, also s is eligible for flushing, both are enqueued. 6) Marking finishes, code flusher clears f1 and s, but the optimized code map of s still contains an entry. 7) Boom! R=ulan@chromium.org,hpayer@chromium.org TEST=mjsunit/es6/generators-iteration BUG=v8:3803 LOG=N Review URL: https://codereview.chromium.org/1197713004 Cr-Commit-Position: refs/heads/master@{#29177}
-
- 18 Jun, 2015 1 commit
-
-
ulan authored
Revert of Replace ad-hoc weakness in transition array with WeakCell. (patchset #5 id:80001 of https://codereview.chromium.org/1157943003/) Reason for revert: Breaks descriptor array clearing. Original issue's description: > Replace ad-hoc weakness in transition array with WeakCell. > > BUG= > > Committed: https://crrev.com/885455e99de817f86a0b5df2dc0d932cfc179749 > Cr-Commit-Position: refs/heads/master@{#29083} TBR=jkummerow@chromium.org,hpayer@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG= Review URL: https://codereview.chromium.org/1194673002 Cr-Commit-Position: refs/heads/master@{#29121}
-
- 17 Jun, 2015 1 commit
-
-
ulan authored
BUG= Review URL: https://codereview.chromium.org/1157943003 Cr-Commit-Position: refs/heads/master@{#29083}
-
- 16 Jun, 2015 2 commits
-
-
yangguo authored
We use an alignment prefix for unusual alignment kinds (not kWordAligned). This will cause new objects to be aligned in ReadObject, and back references to be aligned to skip padding. The motivation to change the undefined next sentinel in WeakCell is this: When the deserializer aligns an object, it requires filler maps to already exist to create filler objects as padding. However, deserializing the filler map leads to deserializing NaN, which as heap number is aligned: filler map > meta map > weak cell cache > undefined > NaN If we use the-hole instead of undefined as sentinel, it works. R=jochen@chromium.org,bbudge@chromium.org BUG=v8:4178 LOG=N Committed: https://crrev.com/2146ab75387d47eef6582bd8c2d0cfc6c42b68b6 Cr-Commit-Position: refs/heads/master@{#29044} Review URL: https://codereview.chromium.org/1179873003 Cr-Commit-Position: refs/heads/master@{#29047}
-
machenbach authored
Revert of Serializer: support all alignment kinds. (patchset #3 id:40001 of https://codereview.chromium.org/1179873003/) Reason for revert: [Sheriff] Breaks arm debug compile: http://build.chromium.org/p/client.v8/builders/V8%20Arm%20-%20debug%20builder/builds/4308 Original issue's description: > Serializer: support all alignment kinds. > > We use an alignment prefix for unusual alignment kinds (not kWordAligned). > This will cause new objects to be aligned in ReadObject, and back references > to be aligned to skip padding. > > The motivation to change the undefined next sentinel in WeakCell is this: > When the deserializer aligns an object, it requires filler maps to already > exist to create filler objects as padding. However, deserializing the > filler map leads to deserializing NaN, which as heap number is aligned: > filler map > meta map > weak cell cache > undefined > NaN > If we use the-hole instead of undefined as sentinel, it works. > > R=jochen@chromium.org,bbudge@chromium.org > BUG=v8:4178 > LOG=N > > Committed: https://crrev.com/2146ab75387d47eef6582bd8c2d0cfc6c42b68b6 > Cr-Commit-Position: refs/heads/master@{#29044} TBR=jochen@chromium.org,bbudge@chromium.org,yangguo@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=v8:4178 Review URL: https://codereview.chromium.org/1173253006 Cr-Commit-Position: refs/heads/master@{#29045}
-