- 17 Nov, 2015 28 commits
-
-
caitpotter88 authored
Several changes are included here: 1. Each resolution callback references shared data indicating whether it has already been resolved or not, as described in 25.4.1.3 http://tc39.github.io/ecma262/#sec-createresolvingfunctions. Previously this was handled exclusively by the Promise's status, which does not work correctly with the current chaining behaviour. 2. During fulfillment, When a Promise is resolved with a thenable, the spec chains the promises together by invoking the thenable's `then` function with the original Promise's resolve and reject methods (per section 25.4.2.2, or http://tc39.github.io/ecma262/#sec-promiseresolvethenablejob, on the next tick, regardless of whether or not there are pending tasks. 3. Adds a spec compliance fix to ensure that the Promise constructor is only loaded once when `then()` is called, solving v8:4539 as well. This involves refactoring PromiseChain to accept a constructor argument. PromiseChain/PromiseDeferred will hopefully be removed soon, simplifying the process. BUG=v8:4162, v8:4539, v8:3237 LOG=N R=rossberg@chromium.org, littledan@chromium.org, adamk@chromium.org Review URL: https://codereview.chromium.org/1394463003 Cr-Commit-Position: refs/heads/master@{#32046}
-
mstarzinger authored
This disables the eager flushing of optimized code maps during full GCs and instead treats entries in those tables weakly by default. Note that for now entries are removed when one of its components dies. R=mvstanton@chromium.org Review URL: https://codereview.chromium.org/1430293002 Cr-Commit-Position: refs/heads/master@{#32045}
-
verwaest authored
BUG= Review URL: https://codereview.chromium.org/1453113002 Cr-Commit-Position: refs/heads/master@{#32044}
-
yangguo authored
R=erikcorry@chromium.org, littledan@chromium.org BUG=v8:4545 LOG=N Committed: https://crrev.com/37632606bbce1418238b13fd90cb6ef6705871cd Cr-Commit-Position: refs/heads/master@{#32029} Review URL: https://codereview.chromium.org/1418963009 Cr-Commit-Position: refs/heads/master@{#32043}
-
ulan authored
This splits the work to be done for dead and life maps and avoids unnecessary operations in the hot loop. Results for v8.infinite_scroll: Before: nonlive_refs len: 93 min: 0.0 max: 6.3 avg: 1.35268817204 [0,5[: 91 [5,10[: 2 After: nonlive_refs len: 91 min: 0.0 max: 4.2 avg: 0.968131868132 [0,5[: 91 BUG=chromium:554488 LOG=no Review URL: https://codereview.chromium.org/1441633002 Cr-Commit-Position: refs/heads/master@{#32042}
-
bmeurer authored
Revert of Prepare to enable in-object properties in subclasses on a case by case basis. (patchset #3 id:100001 of https://codereview.chromium.org/1448313002/ ) Reason for revert: Breaks GC stress: https://build.chromium.org/p/client.v8/builders/V8%20Mac%20GC%20Stress/builds/3174/steps/Mjsunit/logs/classes-subclass-buil.. Original issue's description: > Prepare to enable in-object properties in subclasses on a case by case basis. > > Minor cleanup in VisitorId selection. > > Committed: https://crrev.com/7c449a62edfc03aed84d94da323dcfe2b51a3600 > Cr-Commit-Position: refs/heads/master@{#32030} TBR=verwaest@chromium.org,mstarzinger@chromium.org,ishell@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1449423002 Cr-Commit-Position: refs/heads/master@{#32041}
-
mvstanton authored
BUG= Review URL: https://codereview.chromium.org/1424153003 Cr-Commit-Position: refs/heads/master@{#32040}
-
bmeurer authored
Also properly support loading from holey double element backing stores in JSNativeContextSpecialization. This adds a new simplified operator NumberIsHoleNaN, which checks whether a certain value is the special NaN that we use to encode "the hole" in holey double element backing stores. R=jarin@chromium.org BUG=v8:4470 LOG=n Review URL: https://codereview.chromium.org/1448343002 Cr-Commit-Position: refs/heads/master@{#32039}
-
ulan authored
Revert of Remove redundant activation threshold for incremental marking. (patchset #1 id:1 of https://codereview.chromium.org/1418293006/ ) Reason for revert: Regression in thread_times.key_idle_power_cases (crbug.com/555153) Original issue's description: > Remove redundant activation threshold for incremental marking. > > The minimum allocation limit already enforces this constraint for normal GCs. > > GCs triggered by the memory reducer and external limit should work for all heap sizes. > > BUG=chromium:552305 > LOG=NO > > Committed: https://crrev.com/e28e4d5f52852e2f14facc37a02069b6bfc82c4e > Cr-Commit-Position: refs/heads/master@{#31921} TBR=hpayer@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=chromium:552305 Review URL: https://codereview.chromium.org/1456523002 Cr-Commit-Position: refs/heads/master@{#32038}
-
jkummerow authored
using the new JSReceiver::GetOwnPropertyDescriptor implementation. BUG=v8:1543 LOG=n R=cbruni@chromium.org Review URL: https://codereview.chromium.org/1451703003 Cr-Commit-Position: refs/heads/master@{#32037}
-
ahaas authored
R=titzer@chromium.org Review URL: https://codereview.chromium.org/1450353002 Cr-Commit-Position: refs/heads/master@{#32036}
-
jochen authored
BUG=4134 R=epertoso@chromium.org LOG=n Review URL: https://codereview.chromium.org/1449393002 Cr-Commit-Position: refs/heads/master@{#32035}
-
jarin authored
Review URL: https://codereview.chromium.org/1453103002 Cr-Commit-Position: refs/heads/master@{#32034}
-
oth authored
Adds support for visiting the Call bytecode to the bytecode graph builder. This change also adds the call type feedback slot to the Call bytecode. This is not currently used by the interpreter, but is used by the graph builder. Also adds a CallWide varient of the Call bytecode, and adds the kCount16 operand type. Landed on behalf of rmcilroy. BUG=v8:4280 LOG=N Review URL: https://codereview.chromium.org/1456453002 Cr-Commit-Position: refs/heads/master@{#32033}
-
yangguo authored
Revert of Experimental support for RegExp lookbehind. (patchset #18 id:340001 of https://codereview.chromium.org/1418963009/ ) Reason for revert: gc stress breaks due to string_start_minus_one not being set correctly. Original issue's description: > Experimental support for RegExp lookbehind. > > R=erikcorry@chromium.org, littledan@chromium.org > BUG=v8:4545 > LOG=N > > Committed: https://crrev.com/37632606bbce1418238b13fd90cb6ef6705871cd > Cr-Commit-Position: refs/heads/master@{#32029} TBR=littledan@chromium.org,erikcorry@chromium.org,erikcorry@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=v8:4545 Review URL: https://codereview.chromium.org/1451373003 Cr-Commit-Position: refs/heads/master@{#32032}
-
ahaas authored
and ppc64. R=titzer@chromium.org Review URL: https://codereview.chromium.org/1438013003 Cr-Commit-Position: refs/heads/master@{#32031}
-
ishell authored
Minor cleanup in VisitorId selection. Review URL: https://codereview.chromium.org/1448313002 Cr-Commit-Position: refs/heads/master@{#32030}
-
yangguo authored
R=erikcorry@chromium.org, littledan@chromium.org BUG=v8:4545 LOG=N Review URL: https://codereview.chromium.org/1418963009 Cr-Commit-Position: refs/heads/master@{#32029}
-
jarin authored
Review URL: https://codereview.chromium.org/1452113002 Cr-Commit-Position: refs/heads/master@{#32028}
-
ishell authored
Review URL: https://codereview.chromium.org/1453043003 Cr-Commit-Position: refs/heads/master@{#32027}
-
mythria authored
Adds implementation and tests for following operators in bytecode graph builder: -VisitLoadICSloppy -VisitLoadICStrict -VisitLoadICSloppyWide -VisitLoadICStrictWide The current implementation introduces empty frame states for frame state inputs expected by these operations. BUG=v8:4280 LOG=N Review URL: https://codereview.chromium.org/1419373007 Cr-Commit-Position: refs/heads/master@{#32026}
-
jarin authored
BUG=chromium:556543 LOG=n Review URL: https://codereview.chromium.org/1450883003 Cr-Commit-Position: refs/heads/master@{#32025}
-
zhengxing.li authored
port e5edd66d (r32022) original commit message: This is the first part to refactoring the JSNativeContextSpecialization class, which has grown way too big recently. Also don't collect cross context feedback for the CallIC in general. Neither TurboFan nor Crankshaft can make any use of cross context JSFunction feedback that is collected by the CallIC, so there's no point in gathering that feedback at all (it just complicates the checking that is necessary in the compilers). What we should do instead at some point (when Crankshaft becomes less important) is to collect the SharedFunctionInfo as feedback for those cases. BUG= Review URL: https://codereview.chromium.org/1453033002 Cr-Commit-Position: refs/heads/master@{#32024}
-
verwaest authored
BUG= Review URL: https://codereview.chromium.org/1442643009 Cr-Commit-Position: refs/heads/master@{#32023}
-
bmeurer authored
This is the first part to refactoring the JSNativeContextSpecialization class, which has grown way too big recently. Also don't collect cross context feedback for the CallIC in general. Neither TurboFan nor Crankshaft can make any use of cross context JSFunction feedback that is collected by the CallIC, so there's no point in gathering that feedback at all (it just complicates the checking that is necessary in the compilers). What we should do instead at some point (when Crankshaft becomes less important) is to collect the SharedFunctionInfo as feedback for those cases. R=yangguo@chromium.org BUG=v8:4470 LOG=n Review URL: https://codereview.chromium.org/1451273002 Cr-Commit-Position: refs/heads/master@{#32022}
-
v8-autoroll authored
Rolling v8/buildtools to 277db9302c7ff55beee2a9daf380675dc03bea83 TBR=machenbach@chromium.org,vogelheim@chromium.org,hablich@chromium.org Review URL: https://codereview.chromium.org/1454553003 Cr-Commit-Position: refs/heads/master@{#32021}
-
adamk authored
- Removed PASS/FAIL line for arrow/rest params test which should now pass. - Moved soon-to-be-changed tests about built-in prototypes as plain objects to INVALID section (and noted that they'll be fixed with the next test262 roll). R=littledan@chromium.org Review URL: https://codereview.chromium.org/1450243002 Cr-Commit-Position: refs/heads/master@{#32020}
-
dusan.m.milosavljevic authored
TEST= BUG= Review URL: https://codereview.chromium.org/1453573002 Cr-Commit-Position: refs/heads/master@{#32019}
-
- 16 Nov, 2015 12 commits
-
-
dusan.m.milosavljevic authored
TEST= BUG= Review URL: https://codereview.chromium.org/1446363002 Cr-Commit-Position: refs/heads/master@{#32018}
-
balazs.kilvady authored
BUG=chromium:555543 LOG=N Review URL: https://codereview.chromium.org/1448033002 Cr-Commit-Position: refs/heads/master@{#32017}
-
adamk authored
All uses of Token::INIT also have access to the relevant VariableMode, so there's no reason to have more than one token representing an initializing assignment. Review URL: https://codereview.chromium.org/1431873006 Cr-Commit-Position: refs/heads/master@{#32016}
-
mbrandy authored
Port 34b7b21d Original commit message: If inline allocation fails, we can just use the %NewObject fallback, which will do the right thing. We don't need a dedicated fallback to %AllocateInNewSpace. R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com BUG= Review URL: https://codereview.chromium.org/1448063002 Cr-Commit-Position: refs/heads/master@{#32015}
-
jochen authored
BUG=none R=verwaest@chromium.org,rossberg@chromium.org,bmeurer@chromium.org,neis@chromium.org LOG=y Review URL: https://codereview.chromium.org/1413463006 Cr-Commit-Position: refs/heads/master@{#32014}
-
ofrobots authored
While all allocated objects need to have correct alignment, this requirement doesn't make a lot of sense for the allocation limit. Removing this assertion would makes it possible to make the inline-allocation-observers accurate. This could be done in other ways, but removing this assertion is the most elegant way to go about it. R=hpayer@chromium.org BUG= Review URL: https://codereview.chromium.org/1444883003 Cr-Commit-Position: refs/heads/master@{#32013}
-
bmeurer authored
This adds support for load/store access to FAST_HOLEY_ELEMENTS and FAST_HOLEY_SMI_ELEMENTS backing stores. We don't currently fully support the double holes, because we make some difficult assumptions in Crankshaft there. R=jarin@chromium.org BUG=v8:4470 LOG=n Review URL: https://codereview.chromium.org/1448903002 Cr-Commit-Position: refs/heads/master@{#32012}
-
jochen authored
BUG=4134 R=epertoso@chromium.org LOG=n Review URL: https://codereview.chromium.org/1451733002 Cr-Commit-Position: refs/heads/master@{#32011}
-
mlippautz authored
Revert of Reland "[heap] Turn on parallel compaction" (patchset #1 id:1 of https://codereview.chromium.org/1444283002/ ) Reason for revert: Looks like tasks are still scheduled during isolate shutdown after waiting for remaining tasks: https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20arm64%20-%20sim%20-%20MSAN/builds/5310/ Original issue's description: > Reland "[heap] Turn on parallel compaction" > > This reverts commit e6820480. > > BUG=chromium:524425 > LOG=N > CQ_EXTRA_TRYBOTS=tryserver.v8:v8_linux_arm64_gc_stress_dbg;tryserver.v8:v8_linux_gc_stress_dbg;tryserver.v8:v8_mac_gc_stress_dbg;tryserver.v8:v8_linux64_msan_rel;tryserver.v8:v8_linux64_tsan_rel > > Committed: https://crrev.com/c82d2323ffd5c399ba37da389ba0cdc72f46c97f > Cr-Commit-Position: refs/heads/master@{#32009} TBR=hpayer@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=chromium:524425 Review URL: https://codereview.chromium.org/1445093002 Cr-Commit-Position: refs/heads/master@{#32010}
-
mlippautz authored
This reverts commit e6820480. BUG=chromium:524425 LOG=N CQ_EXTRA_TRYBOTS=tryserver.v8:v8_linux_arm64_gc_stress_dbg;tryserver.v8:v8_linux_gc_stress_dbg;tryserver.v8:v8_mac_gc_stress_dbg;tryserver.v8:v8_linux64_msan_rel;tryserver.v8:v8_linux64_tsan_rel Review URL: https://codereview.chromium.org/1444283002 Cr-Commit-Position: refs/heads/master@{#32009}
-
yangguo authored
R=mvstanton@chromium.org Review URL: https://codereview.chromium.org/1448803003 Cr-Commit-Position: refs/heads/master@{#32008}
-
mlippautz authored
This way we can properly cancel them on the main thread in case they never get scheduled by the platform. BUG=chromium:524425 LOG=N CQ_EXTRA_TRYBOTS=tryserver.v8:v8_linux_arm64_gc_stress_dbg;tryserver.v8:v8_linux_gc_stress_dbg;tryserver.v8:v8_mac_gc_stress_dbg;tryserver.v8:v8_linux64_msan_rel;tryserver.v8:v8_linux64_tsan_rel;tryserver.v8:v8_mac64_asan_rel Review URL: https://codereview.chromium.org/1446523003 Cr-Commit-Position: refs/heads/master@{#32007}
-