yangguo
8cf289ca4f
Throw when attaching a stack trace to an object fails.
...
R=jarin@chromium.org
BUG=chromium:478011
LOG=N
Review URL: https://codereview.chromium.org/1077153003
Cr-Commit-Position: refs/heads/master@{#27941}
2015-04-20 14:40:45 +00:00
yangguo
f66a31282a
Wrap array implementation in a function.
...
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/1067523003
Cr-Commit-Position: refs/heads/master@{#27940}
2015-04-20 14:12:22 +00:00
jochen
53cc6486df
Remove support for externally backed elements from the API
...
Embedders should use ArrayBuffers instead
BUG=v8:3996
LOG=y
R=verwaest@chromium.org ,dslomov@chromium.org,kbr@chromium.org
Review URL: https://codereview.chromium.org/1092923002
Cr-Commit-Position: refs/heads/master@{#27939}
2015-04-20 13:31:27 +00:00
jochen
36f17ed030
Deprecate 3-args ResourceConstraints::ConfigureDefaults
...
Embedders should use the 2-args version. Number of cores is just
ignored.
BUG=none
R=dcarney@chromium.org
LOG=y
Review URL: https://codereview.chromium.org/1080633006
Cr-Commit-Position: refs/heads/master@{#27938}
2015-04-20 13:26:21 +00:00
Ross McIlroy
063fc25122
Replace OVERRIDE->override and FINAL->final since we now require C++11.
...
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/1088993003
Cr-Commit-Position: refs/heads/master@{#27937}
2015-04-20 13:08:14 +00:00
machenbach
fde66e2a72
Temporarily skip slow test.
...
TBR=bmeurer@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/1093143002
Cr-Commit-Position: refs/heads/master@{#27936}
2015-04-20 12:23:14 +00:00
Ben L. Titzer
7a4744ade4
Always wrap AllocationSiteContext::current() in a new handle in Crankshaft.
...
R=mvstanton@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1086863003
Cr-Commit-Position: refs/heads/master@{#27935}
2015-04-20 11:46:34 +00:00
jochen
f15d01379e
Indicate that low-memory-notificatin triggered GCs are "forced"
...
BUG=none
R=hpayer@chromium.org
LOG=y
Review URL: https://codereview.chromium.org/1095043002
Cr-Commit-Position: refs/heads/master@{#27934}
2015-04-20 10:23:42 +00:00
yangguo
726630d29c
Correctly name header macros for src/snapshot/*.h.
...
R=mvstanton@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/1091983002
Cr-Commit-Position: refs/heads/master@{#27933}
2015-04-20 10:22:07 +00:00
yangguo
cc9da821ea
Serializer: assert that we deserialize only one native context.
...
R=mvstanton@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/1097893002
Cr-Commit-Position: refs/heads/master@{#27932}
2015-04-20 09:57:00 +00:00
yangguo
e96d25536e
Fix serialization statistics for external strings.
...
External strings are serialized as internal strings. The current way
of collecting stats is slightly wrong. We ought to use the map and
size passed to SerializePrologue.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/1092253003
Cr-Commit-Position: refs/heads/master@{#27931}
2015-04-20 08:55:04 +00:00
Benedikt Meurer
7eb7141fc4
[mjsunit] Import test case based on the Massive/SQLite benchmark.
...
This adds a stripped down version of the SQLite benchmark (running with
--size 1) to the mjsunit suite. We might want to move that to a
dedicated slow/stress/whatever test suite once an appropriate decision
is made.
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/1094043002
Cr-Commit-Position: refs/heads/master@{#27930}
2015-04-20 07:58:31 +00:00
ulan
068a6afb44
Clean up output of heap object tracing
...
BUG=
Review URL: https://codereview.chromium.org/1097683002
Cr-Commit-Position: refs/heads/master@{#27929}
2015-04-18 09:21:07 +00:00
v8-autoroll
e0670ac5c9
Update V8 DEPS.
...
Rolling v8/tools/clang to d3e6123fdadc4bf98b8c676173f77f8f8eed363f
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/1096893002
Cr-Commit-Position: refs/heads/master@{#27928}
2015-04-18 03:48:29 +00:00
adamk
4a5c91387b
[modules] Parsing: add ModuleRequests where missing
...
Two last forms supported in this patch:
- 'import' ModuleSpecifier
- 'export' '*' 'from' ModuleSpecifier.
BUG=v8:1569
LOG=n
Review URL: https://codereview.chromium.org/1094963002
Cr-Commit-Position: refs/heads/master@{#27927}
2015-04-17 22:45:06 +00:00
ssid
4a597f527a
Adding missing V8_EXPORT flag in SpaceStatistics class in v8.h
...
This class was added in crrev.com/1058253003 and missed V8_EXPORT in
definition.
BUG=466141, 476013
LOG=Y
Review URL: https://codereview.chromium.org/1090333002
Cr-Commit-Position: refs/heads/master@{#27926}
2015-04-17 19:33:13 +00:00
rmcilroy
b990a6c691
Turn off SupportsFlexibleFloorAndRound for Arm64 due to a bug.
...
There is a bug with SupportsFlexibleFloorAndRound on Arm64. Turn it off for
now until we figure out a proper solution.
BUG=chromium:476477
LOG=Y
Review URL: https://codereview.chromium.org/1093863002
Cr-Commit-Position: refs/heads/master@{#27925}
2015-04-17 18:00:15 +00:00
hpayer
88e2d14c90
Initialize idle old generation allocation limit in constructor.
...
BUG=478082
NOTRY=true
LOG=n
Review URL: https://codereview.chromium.org/1093853002
Cr-Commit-Position: refs/heads/master@{#27924}
2015-04-17 16:57:26 +00:00
mbrandy
99c116ccda
PPC: Reland "Add basic crankshaft support for slow-mode for-in to avoid disabling optimizations"
...
Port 8098253562
R=verwaest@chromium.org , dstence@us.ibm.com , michael_dawson@ca.ibm.com
BUG=
Review URL: https://codereview.chromium.org/1057413003
Cr-Commit-Position: refs/heads/master@{#27923}
2015-04-17 15:56:13 +00:00
danno
5cb387c2b7
[visualizer]: Add types to visualizer output
...
Review URL: https://codereview.chromium.org/1083083006
Cr-Commit-Position: refs/heads/master@{#27922}
2015-04-17 15:46:12 +00:00
jkummerow
f4f2e9c558
Fix GC-induced DCHECK failure in Runtime_GetWeakMapEntries
...
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/1091253002
Cr-Commit-Position: refs/heads/master@{#27921}
2015-04-17 14:21:21 +00:00
yangguo
c6a36305c7
Wrap object observe implementation in a function.
...
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/1086813005
Cr-Commit-Position: refs/heads/master@{#27920}
2015-04-17 14:09:52 +00:00
ssid
281d30d758
Adding V8 api to get memory statistics of spaces in V8::Heap.
...
This is first step towards adding V8 heap statistics to the memory
tracing infrastructure. For being able to get useful memory number into
the memory dump, v8 needs to provide an external api needs to obtain
more information about the heap. So, this Cl extends the api to give
information about the memory allocated and used in the spaces.
BUG=466141, 476013
LOG=Y
Review URL: https://codereview.chromium.org/1058253003
Cr-Commit-Position: refs/heads/master@{#27919}
2015-04-17 14:04:24 +00:00
yangguo
1df70e2749
Wrap JSON and generator implementation in functions.
...
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/1097703002
Cr-Commit-Position: refs/heads/master@{#27918}
2015-04-17 13:53:03 +00:00
yangguo
5a9a0b20e7
Migrate error messages, part 3 (runtime.js).
...
Motivation for this is reducing the size of the native context.
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/1089303003
Cr-Commit-Position: refs/heads/master@{#27917}
2015-04-17 13:27:28 +00:00
jkummerow
4204c72739
Don't use normalized map cache for prototype maps
...
BUG=chromium:477924
LOG=n
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/1090193002
Cr-Commit-Position: refs/heads/master@{#27916}
2015-04-17 12:16:07 +00:00
jkummerow
30cc37e9ac
Bump limit in PushStackTraceAndDie
...
To increase the chances of minidumps containing enough useful information
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/1068783006
Cr-Commit-Position: refs/heads/master@{#27915}
2015-04-17 11:45:56 +00:00
erikcorry
1caa269cee
Rename some things around incremental marking triggers
...
R=hpayer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1094843002
Cr-Commit-Position: refs/heads/master@{#27914}
2015-04-17 11:17:23 +00:00
Michael Achenbach
46c4c707e2
Whitespace commit to trigger bots.
...
Cr-Commit-Position: refs/heads/master@{#27913}
2015-04-17 11:01:43 +00:00
wingo
37520d3e03
Revert "Factor formal argument parsing into ParserBase"
...
Revert https://codereview.chromium.org/1078093002/ and follow-on parser
patches due to a perf regression.
This reverts commit 53ddccfc33
.
This reverts commit 71d3213a3f
.
This reverts commit 0f432ebb76
.
This reverts commit 1dbc432729
.
R=marja@chromium.org
Review URL: https://codereview.chromium.org/1094653002
Cr-Commit-Position: refs/heads/master@{#27912}
2015-04-17 09:51:15 +00:00
verwaest
c153a8437e
[crankshaft] Fix property access with proxies in prototype chain
...
BUG=
Review URL: https://codereview.chromium.org/1090813003
Cr-Commit-Position: refs/heads/master@{#27911}
2015-04-17 09:25:13 +00:00
yangguo
7f994ee0a7
Disable always-opt for locker tests.
...
In no-snap mode, creating 100 contexts can take a while.
This becomes even worse with always-opt.
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/1092003002
Cr-Commit-Position: refs/heads/master@{#27910}
2015-04-17 09:13:55 +00:00
yangguo
4e37bd0684
Fix DCHECK with unsigned int in zone.cc.
...
R=svenpanne@chromium.org
BUG=v8:4037
LOG=N
Review URL: https://codereview.chromium.org/1051213005
Cr-Commit-Position: refs/heads/master@{#27909}
2015-04-17 09:06:45 +00:00
jkummerow
14ec8077cc
Re-enable an UNREACHABLE in JSObject::GetHeaderSize()
...
Review URL: https://codereview.chromium.org/1091553002
Cr-Commit-Position: refs/heads/master@{#27908}
2015-04-17 08:47:11 +00:00
yangguo
ae2057e81a
Reland "Migrate error messages, part 2."
...
Review URL: https://codereview.chromium.org/1083083004
Cr-Commit-Position: refs/heads/master@{#27907}
2015-04-17 08:35:47 +00:00
chunyang.dai
548a0b3bbd
X87: Reland "Add basic crankshaft support for slow-mode for-in to avoid disabling optimizations"
...
port 8098253562
(r27898)
original commit message:
BUG=
Review URL: https://codereview.chromium.org/1086813004
Cr-Commit-Position: refs/heads/master@{#27906}
2015-04-17 08:18:09 +00:00
machenbach
f61f521d70
Let asan imply clang and use_allocator=none.
...
BUG=
Review URL: https://codereview.chromium.org/1089393004
Cr-Commit-Position: refs/heads/master@{#27905}
2015-04-17 08:13:12 +00:00
machenbach
e3c2ba776a
Revert of Refactor compilation dependency handling. (patchset #4 id:60001 of https://codereview.chromium.org/1095433002/ )
...
Reason for revert:
[Sheriff] Causes crashes in laout tests:
http://build.chromium.org/p/client.v8/builders/V8-Blink%20Linux%2064%20%28dbg%29/builds/2543
Extra bisect run:
http://build.chromium.org/p/client.v8/builders/V8-Blink%20Linux%2064%20%28dbg%29/builds/2548
Original issue's description:
> Refactor compilation dependency handling.
>
> Extract a new data structure CompilationDependencies and move (most) logic there.
>
> R=mstarzinger@chromium.org ,verwaest@chromium.org
> BUG=
>
> Committed: https://crrev.com/b882479f1c84a48961b8aec81fa1bb1225034784
> Cr-Commit-Position: refs/heads/master@{#27892}
TBR=mstarzinger@chromium.org ,verwaest@chromium.org,titzer@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=
Review URL: https://codereview.chromium.org/1093783002
Cr-Commit-Position: refs/heads/master@{#27904}
2015-04-17 07:47:09 +00:00
v8-autoroll
2af87b3e7a
Update V8 DEPS.
...
Rolling v8/tools/clang to 2afd19d64f7c67c73e2052e87fbe4e1bc2a671c9
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/1098623002
Cr-Commit-Position: refs/heads/master@{#27903}
2015-04-17 03:44:37 +00:00
jochen
fd7d881e2b
Revert of Revert "Remove early bail-out in VisitWeakList to investigate chrasher." (patchset #1 id:1 of https://codereview.chromium.org/1080303002/ )
...
Reason for revert:
Still doesn't work
Original issue's description:
> Revert "Remove early bail-out in VisitWeakList to investigate chrasher."
>
> > BUG=468601
> > LOG=n
> >
> > Review URL: https://codereview.chromium.org/1016353002
> >
> > Cr-Commit-Position: refs/heads/master@{#27317}
>
> R=hpayer@chromium.org
> BUG=v8:3996,chromium:468601
> LOG=n
>
> Committed: https://crrev.com/835eeafe32f442d7b43fe175237de2c70ed7ceef
> Cr-Commit-Position: refs/heads/master@{#27814}
TBR=hpayer@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=v8:3996,chromium:468601
Review URL: https://codereview.chromium.org/1092783002
Cr-Commit-Position: refs/heads/master@{#27902}
2015-04-16 21:00:03 +00:00
yangguo
04b72aa09f
Serializer: share executable accessor infos between native contexts.
...
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/1081443006
Cr-Commit-Position: refs/heads/master@{#27901}
2015-04-16 18:07:51 +00:00
erikcorry
db04a5ad6f
Properly report OOM when deoptimizer allocation fails
...
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1052823003
Cr-Commit-Position: refs/heads/master@{#27900}
2015-04-16 18:05:22 +00:00
jkummerow
6b59e1f155
Don't crash when reporting an access check failure for a detached global proxy
...
BUG=chromium:475884
LOG=y
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/1086403002
Cr-Commit-Position: refs/heads/master@{#27899}
2015-04-16 17:46:38 +00:00
verwaest
8098253562
Reland "Add basic crankshaft support for slow-mode for-in to avoid disabling optimizations"
...
BUG=chromium:476592
LOG=n
Review URL: https://codereview.chromium.org/1086333002
Cr-Commit-Position: refs/heads/master@{#27898}
2015-04-16 17:32:00 +00:00
hpayer
c96a2d3a74
Use smaller heap growing factor in idle notification to start incremental marking when there is idle time >16ms.
...
BUG=chromium:477323
LOG=y
Review URL: https://codereview.chromium.org/1090963002
Cr-Commit-Position: refs/heads/master@{#27897}
2015-04-16 16:31:32 +00:00
mstarzinger
8924a9e1b7
[turbofan] Add single --turbo flag.
...
This flag is intended as a staging flag for TurboFan. It serves as a
single flag that always enables a most recent configuration of TurboFan
for test suites and benchmarks, without needing to update test drivers.
R=titzer@chromium.org ,machenbach@chromium.org
Review URL: https://codereview.chromium.org/1094573002
Cr-Commit-Position: refs/heads/master@{#27896}
2015-04-16 16:28:39 +00:00
mbrandy
cc01cd94ab
PPC: Array() in optimized code can create with wrong ElementsKind in corner cases.
...
Port 13459c1ae3
Original commit message:
Calling new Array(JSObject::kInitialMaxFastElementArray) in optimized code
makes a stub call that bails out due to the length. Currently, the bailout
code a) doesn't have the allocation site, and b) wouldn't use it if it did
because the length is perceived to be too high.
This CL passes the allocation site to the stub call (rather than undefined),
and alters the bailout code to utilize the feedback.
R=mvstanton@chromium.org , michael_dawson@ca.ibm.com , dstence@us.ibm.com
BUG=
Review URL: https://codereview.chromium.org/1089913002
Cr-Commit-Position: refs/heads/master@{#27895}
2015-04-16 16:13:12 +00:00
paul.lind
e8fe704921
MIPS: Fix for StringCharCodeAtGenerator for vector-ics.
...
Register pop order bug only surfaced after vector-ic optimization
in https://codereview.chromium.org/1053843003 was landed.
TEST=mjsunit/string-index.js
BUG=
Review URL: https://codereview.chromium.org/1074123004
Cr-Commit-Position: refs/heads/master@{#27894}
2015-04-16 16:06:48 +00:00
paul.lind
80f24f7a4c
Reland MIPS: Vector-ICs - speed towards the monomorphic exit as quickly as possible.
...
Port 35a67b745d
Original commit message:
Thanks to some careful assumptions, we can examine the object found at
vector[slot] and trust it's a heap object where the second field is
either a map if it's a WeakCell, or definitely not a map if it's a
Symbol, String or FixedArray. Use this to save a memory read.
BUG=
Review URL: https://codereview.chromium.org/1053843003
Cr-Commit-Position: refs/heads/master@{#27757}
Review URL: https://codereview.chromium.org/1083413003
Cr-Commit-Position: refs/heads/master@{#27893}
2015-04-16 16:05:45 +00:00
titzer
b882479f1c
Refactor compilation dependency handling.
...
Extract a new data structure CompilationDependencies and move (most) logic there.
R=mstarzinger@chromium.org ,verwaest@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1095433002
Cr-Commit-Position: refs/heads/master@{#27892}
2015-04-16 16:04:34 +00:00