Commit Graph

17466 Commits

Author SHA1 Message Date
jochen@chromium.org
cb8105e223 Move gc notifications from V8 to Isolate and make idle hint mandatory
Embedders should use e.g. isolate->IdleNotification(1000) instead
of v8::V8::IdleNotification()

BUG=397026
R=hpayer@chromium.org, ernstm@chromium.org
LOG=y

Review URL: https://codereview.chromium.org/412163003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22584 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-24 08:28:02 +00:00
yangguo@chromium.org
464d45fc37 Add and move DisallowHeapAllocation scope.
The move is necessary since Heap::ReserveSpace called from
DeserializePartial may allocate.

R=mvstanton@chromium.org

Review URL: https://codereview.chromium.org/413663003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22583 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-24 08:27:06 +00:00
machenbach@chromium.org
7fa03f8776 Ignore test on mips.
R=yangguo@chromium.org
TBR=yangguo@chromium.org
BUG=v8:3457
LOG=n

Review URL: https://codereview.chromium.org/413983004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22582 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-24 08:25:22 +00:00
machenbach@chromium.org
c218c20e54 Fix automatic tagging.
BUG=
TBR=jarin@chromium.org

Review URL: https://codereview.chromium.org/417973002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22580 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-24 07:36:25 +00:00
machenbach@chromium.org
3c231fb40c [Auto-roll] Bump up version to 3.28.36.0
TBR=machenbach@chromium.org

Review URL: https://codereview.chromium.org/411273004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22579 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-24 07:28:52 +00:00
verwaest@chromium.org
6798779031 Fix ArrayLengthSetter to not throw on non-extensible receivers.
BUG=v8:3460
LOG=n
R=ishell@chromium.org

Review URL: https://codereview.chromium.org/411983003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22576 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 20:27:32 +00:00
verwaest@chromium.org
45824023a1 The accessors should get the value from the holder and not from this.
These are all data properties and if they get invoked it means that
they should just return the value of the property from the holder.

BUG=v8:3461
LOG=Y
R=verwaest@chromium.org

Review URL: https://codereview.chromium.org/410923003

Patch from Erik Arvidsson <arv@chromium.org>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22575 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 20:11:33 +00:00
machenbach@chromium.org
0151837e98 Whitespace change to trigger bots.
TBR=machenbach@chromium.org

Review URL: https://codereview.chromium.org/417593004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22574 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 18:58:43 +00:00
neis@chromium.org
61e1994f83 Minor clarifications and simplifications as well as additional checks.
R=rossberg@chromium.org
BUG=

Review URL: https://codereview.chromium.org/417553003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22573 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 17:17:48 +00:00
machenbach@chromium.org
ea1be613dc Revert "Track history of events in GCTracer."
This reverts commit 22567 for breaking win64 compile.

BUG=
TBR=ernstm@chromium.org

Review URL: https://codereview.chromium.org/414743002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22572 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 16:12:02 +00:00
machenbach@chromium.org
5169bcb9bd [Auto-roll] Bump up version to 3.28.34.0
TBR=machenbach@chromium.org

Review URL: https://codereview.chromium.org/411003002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22571 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 15:56:57 +00:00
balazs.kilvady@imgtec.com
e4a5fa3164 MIPS: Always use the LoadStubCompiler for Load handlers, also for keyedload handlers.
Port r22551 (0cc23b1)

BUG=
R=paul.lind@imgtec.com

Review URL: https://codereview.chromium.org/415623002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22570 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 15:53:00 +00:00
neis@chromium.org
e999cf2857 Revert "Minor clarifications and simplifications as well as additional checks."
This reverts commit d32eacbdea3fc0c119da06abe95b07a83c67aa48.

TBR=rossberg@chromium.org
BUG=

Review URL: https://codereview.chromium.org/410083005

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22569 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 15:39:08 +00:00
neis@chromium.org
6c67275fa0 Minor clarifications and simplifications as well as additional checks.
R=rossberg@chromium.org
BUG=

Review URL: https://codereview.chromium.org/409743004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22568 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 15:30:34 +00:00
ernstm@chromium.org
462cca2ecb Track history of events in GCTracer.
- track incremental marking stats directly on GCTracer.
- add simple ring buffer class.
- track last 10 scavenges and mark-compacts in ring buffers on GCTracer.
- various clean-ups.

R=hpayer@chromium.org
BUG=

Review URL: https://codereview.chromium.org/391413006

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22567 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 15:16:53 +00:00
balazs.kilvady@imgtec.com
8aa7601a5d MIPS: Only to the relevant checks in LoadFunctionPrototype.
Port r22550 (c5209a6)

BUG=
R=paul.lind@imgtec.com

Review URL: https://codereview.chromium.org/416513002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22566 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 15:12:40 +00:00
paul.lind@imgtec.com
0f687199f2 Fix cross-compilation in Makefile.
Fix r22531, I dropped a necessary pair of parens.

BUG=
R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/410003003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22565 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 14:54:12 +00:00
neis@chromium.org
f529000f7f Fix Handle-related bug in RangeType constructor.
R=rossberg@chromium.org
BUG=

Review URL: https://codereview.chromium.org/415603002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22564 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 14:11:30 +00:00
yangguo@chromium.org
2ae949830d Mark mjsunit/deserialize-reference as PASS, FAIL on arm64.
R=svenpanne@chromium.org
BUG=v8:3457
LOG=N

Review URL: https://codereview.chromium.org/415583002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22563 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 13:40:01 +00:00
svenpanne@chromium.org
b5220b20bc Fix checks to bit flags of PreParserExpression
This fixes checks on the "code_" member of PreParserExpression, in order
to make methods IsThis(), IsThisProperty(), IsProperty(), IsCall() and
IsValidReferenceExpression() work correctly.

BUG=v8:3456
LOG=
R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/410873004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22562 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 13:29:24 +00:00
machenbach@chromium.org
f5a4b26061 Add tsan support to v8's gyp and test driver.
Tests only the default variant for now.

BUG=
R=jochen@chromium.org

Review URL: https://codereview.chromium.org/412853002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22561 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 13:14:26 +00:00
machenbach@chromium.org
dcc2a25f2f Test landmines.
BUG=
R=jochen@chromium.org
TBR=jochen@chromium.org

Review URL: https://codereview.chromium.org/415533003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22560 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 13:12:00 +00:00
mvstanton@chromium.org
4fe185827a Express LoadIC extra ic state with LoadIC::State
Soon we will create code stubs that need to match LoadIC state. It's easier to
express if the state is encapsulated in a single class rather than multiple bit
fields.

R=verwaest@chromium.org

Review URL: https://codereview.chromium.org/415543002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22559 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 12:24:11 +00:00
jochen@chromium.org
08be29d8bd Revert r22544: "Rebaseline/update the intl tests with ICU 52"
The intl tests still fail locally.

BUG=v8:3454
LOG=N
R=verwaest@chromium.org

Review URL: https://codereview.chromium.org/410083004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22558 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 11:39:46 +00:00
machenbach@chromium.org
1539860866 Make landmines work on the first landmine.
With the original script, landmines don't work if the initial commit of the landmine script and the first landmine are in the same build. In this case, the landmine file wouldn't exist yet and no landmine would be triggered. But the updated landmine content would have still been written, omitting the landmine.

Now, the script will initialize an empty landmine file if none exists. This will make sure that a landmine is set on the branch builders after the next branch point.

This also adds some debugging output to better trace when landmines are set/deleted.

BUG=
R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/410893002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22557 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 11:33:29 +00:00
rmcilroy@chromium.org
da52e6a631 Avoid redundent redefinition of __STDC_FORMAT_MACROS when building with clang
R=jochen@chromium.org, paul.lind@imgtec.com

Review URL: https://codereview.chromium.org/404333003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22554 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 11:24:12 +00:00
dcarney@chromium.org
7dbf83c675 Add bailout checks to Message::Get{Start,End}Column()
Also add an initial ON_BAILOUT() check to these two 'bailout enabled'
accessors.

(The need for these was encountered via http://crbug.com/393273)

R=dcarney@chromium.org

Review URL: https://codereview.chromium.org/402173003

Patch from Sigbjorn Finne <sof@opera.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22553 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 11:21:19 +00:00
neis@chromium.org
ac192b4f2a Add debugging output to RangeType test.
R=rossberg@chromium.org
BUG=

Review URL: https://codereview.chromium.org/411873002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22552 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 11:17:14 +00:00
verwaest@chromium.org
5767cd143d Always use the LoadStubCompiler for Load handlers, also for keyedload handlers.
BUG=
R=mvstanton@chromium.org

Review URL: https://codereview.chromium.org/414443002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22551 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 11:16:29 +00:00
verwaest@chromium.org
b8eb36a934 Only to the relevant checks in LoadFunctionPrototype
BUG=
R=mvstanton@chromium.org

Review URL: https://codereview.chromium.org/412483003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22550 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 11:12:11 +00:00
danno@chromium.org
51ff0b5e97 tools: more post-mortem constants
Expose more info about post-mortem constants

Useful for node.js and/or other tools.

BUG=
R=danno@chromium.org

Review URL: https://codereview.chromium.org/404173002

Patch from Fedor Indutny <fedor.indutny@gmail.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22549 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 10:48:16 +00:00
yangguo@chromium.org
b31d3753fa Do not reverse lookup code stubs dictionary.
R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/407383004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22548 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 09:49:00 +00:00
yangguo@chromium.org
fc5b5f2dc5 Propagate serialization flag to inner functions.
R=mvstanton@chromium.org

Review URL: https://codereview.chromium.org/407383003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22547 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 09:35:06 +00:00
machenbach@chromium.org
8c8e528850 Fix version check in push-to-trunk.
The local master branch is not kept up-to-date by the script.

BUG=
TBR=jarin@chromium.org

Review URL: https://codereview.chromium.org/411593003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22546 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 09:25:36 +00:00
hpayer@chromium.org
0bef0dafdb Wait for sweeper threads when a scan on scavenge page is not swept.
BUG=
R=jarin@chromium.org

Review URL: https://codereview.chromium.org/404083002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22545 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 09:17:21 +00:00
jochen@chromium.org
3651a67156 Rebaseline/update the intl tests with ICU 52
Update the following 4 intl tests after ICU 52 roll.

date-format/parse-MMMdy.js
date-format/parse-mdyhms.js
number-format/parse-decimal.js
number-format/parse-percent.js

BUG=v8:3454
TEST=intl/* tests pass.
LOG=Y
R=jochen@chromium.org

Review URL: https://codereview.chromium.org/410733003

Patch from Jungshik Shin <jshin@chromium.org>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22544 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 09:00:43 +00:00
yangguo@chromium.org
88000d039f Fix debugger-related issues in the code serializer.
R=mvstanton@chromium.org

Review URL: https://codereview.chromium.org/410883003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22543 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 08:27:04 +00:00
mvstanton@chromium.org
37ebdc7da5 X87: Introduce FLAG_vector_ics.
port r22500.

original commit message:

  Introduce FLAG_vector_ics.

  When FLAG_vector_ics is true, then AST nodes that use Load and KeyedLoad ICs
  will allocate a type vector slot to store feedback information. Full codegen
  will emit a load of the slot into a register if the flag is on.

  Support is incomplete, right now the IC doesn't know how to use the feedback
  slot.

BUG=
R=mvstanton@chromium.org

Review URL: https://codereview.chromium.org/405343002

Patch from Chunyang Dai <chunyang.dai@intel.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22542 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 07:48:19 +00:00
yangguo@chromium.org
c3edd49265 Expose the content of Sets and WeakSets through SetMirror.
BUG=v8:3093
LOG=Y
R=aandrey@chromium.org, arv@chromium.org, yangguo@chromium.org

Review URL: https://codereview.chromium.org/402423003

Patch from Alexandra Mikhaylova <amikhaylova@google.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22541 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 07:33:47 +00:00
yangguo@chromium.org
ed04566cba Correctly hook up back references to internalized strings in code deserializer.
R=mvstanton@chromium.org

Review URL: https://codereview.chromium.org/411483002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22540 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 07:16:32 +00:00
machenbach@chromium.org
f6c1f3c4a8 [Auto-roll] Bump up version to 3.28.33.0
TBR=machenbach@chromium.org

Review URL: https://codereview.chromium.org/411833004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22539 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-23 06:30:45 +00:00
hpayer@chromium.org
4049202011 Disable mjsunit/stack-traces-overflow test for gc stress builders.
BUG=

Review URL: https://codereview.chromium.org/413583003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22536 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-22 20:30:08 +00:00
neis@chromium.org
6176dee6ea Add constructor for range types.
R=rossberg@chromium.org
BUG=

Review URL: https://codereview.chromium.org/409543004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22535 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-22 17:33:22 +00:00
balazs.kilvady@imgtec.com
538c4234ab MIPS: Move function prototype handling into a special handler rather than IC.
Port r22526 (d4c953e)

Original commit message:
Adjust hydrogen handling of function.prototype to be based on map feedback. Handle non-instance prototype loading using an IC rather than in the hydrogen instruction. In the future, remove the special instruction and replace by multiple hydrogen instructions.

BUG=
R=paul.lind@imgtec.com

Review URL: https://codereview.chromium.org/414463002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22534 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-22 17:14:27 +00:00
hpayer@chromium.org
538b907b86 Fix webkit test status file.
BUG=

Review URL: https://codereview.chromium.org/406283002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22533 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-22 16:45:08 +00:00
hpayer@chromium.org
aa1324337a Set the state of a swept page after being done with sweeping.
BUG=
R=machenbach@chromium.org

Review URL: https://codereview.chromium.org/407093004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22532 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-22 16:30:23 +00:00
paul.lind@imgtec.com
14e88a5b53 Fix remaining CXX cross-compilation builds in Makefile.
r22509 fixed arm and mips (big-endian) cross-compilation builds.

It did not fix mipsel, mips64el, or arm64 builds, since the
toolchain prefix did not match the v8_target_arch.

For mips, the toolchain is typically named mips-linux-gnu-g++,
but it can compile for mipsel or mips64el via flags. (There can
also be mipsel-linux-gnu-g++ toolchains, and this patch will
work for mipsel build in that case).

For arm64, the toolchains seem to be named aarch64-linux-gnu-g++.

BUG=
R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/408133002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22531 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-22 15:29:22 +00:00
machenbach@chromium.org
7e685ba295 Landmine after ICU52 roll.
BUG=
TBR=jochen@chromium.org

Review URL: https://codereview.chromium.org/412513002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22530 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-22 15:09:58 +00:00
machenbach@chromium.org
2ba5bcf208 Add landmines support.
The scripts are copied from chromium/src/build and simplified.

BUG=
R=jkummerow@chromium.org, jochen@chromium.org

Review URL: https://codereview.chromium.org/405373005

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22529 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-22 15:06:18 +00:00
jochen@chromium.org
b45ea40d93 Avoid bash-ism in Makefile
BUG=none
TBR=machenbach@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/412503002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22528 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-22 14:53:29 +00:00