platform/upstream/v8.git
10 years agoAdd missing generated tests.
mstarzinger@chromium.org [Wed, 30 Jul 2014 14:19:42 +0000 (14:19 +0000)]
Add missing generated tests.

R=danno@google.com, danno@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22711 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoLand the Fan (disabled)
danno@chromium.org [Wed, 30 Jul 2014 13:54:45 +0000 (13:54 +0000)]
Land the Fan (disabled)

R=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22709 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Encapsulate type in the PropertyHandlerCompiler.
balazs.kilvady@imgtec.com [Wed, 30 Jul 2014 13:39:20 +0000 (13:39 +0000)]
MIPS: Encapsulate type in the PropertyHandlerCompiler.

Port r22700 (587340c)

BUG=
R=akos.palfi@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22708 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix
verwaest@chromium.org [Wed, 30 Jul 2014 12:44:50 +0000 (12:44 +0000)]
Fix

BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22707 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRemove keyed_store_calling convention and friends
verwaest@chromium.org [Wed, 30 Jul 2014 12:21:41 +0000 (12:21 +0000)]
Remove keyed_store_calling convention and friends

BUG=
R=mvstanton@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22706 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix the build
verwaest@chromium.org [Wed, 30 Jul 2014 12:19:19 +0000 (12:19 +0000)]
Fix the build

BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22705 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoEncapsulate the holder in the PropertyHolderCompilers
verwaest@chromium.org [Wed, 30 Jul 2014 12:01:48 +0000 (12:01 +0000)]
Encapsulate the holder in the PropertyHolderCompilers

BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22704 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoDrop deprecated memory related notification API
jochen@chromium.org [Wed, 30 Jul 2014 11:41:48 +0000 (11:41 +0000)]
Drop deprecated memory related notification API

Embedders should use the non-static methods on Isolate with the same
name.

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22703 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[Auto-roll] Bump up version to 3.28.49.0
machenbach@chromium.org [Wed, 30 Jul 2014 11:04:13 +0000 (11:04 +0000)]
[Auto-roll] Bump up version to 3.28.49.0

TBR=machenbach@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22702 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix for constant pool support and debug
rmcilroy@chromium.org [Wed, 30 Jul 2014 10:31:57 +0000 (10:31 +0000)]
Fix for constant pool support and debug

RedirectActivationsToRecompiledCodeOnThread must also patch frame's
constant pool.

Reference: https://github.com/andrewlow/v8ppc/commit/329d72fd

BUG=
R=rmcilroy@chromium.org

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

Patch from Andrew Low <andrew_low@ca.ibm.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22701 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoEncapsulate type in the PropertyHandlerCompiler
verwaest@chromium.org [Wed, 30 Jul 2014 10:09:10 +0000 (10:09 +0000)]
Encapsulate type in the PropertyHandlerCompiler

BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22700 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix typo in LMathFround on ia32.
yangguo@chromium.org [Wed, 30 Jul 2014 09:55:21 +0000 (09:55 +0000)]
Fix typo in LMathFround on ia32.

R=yangguo@chromium.org

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22699 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoThrow an exception when an access check fails and no external callback is installed
jkummerow@chromium.org [Wed, 30 Jul 2014 09:31:06 +0000 (09:31 +0000)]
Throw an exception when an access check fails and no external callback is installed

R=yangguo@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22698 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoX87: Only generate a single normal IC per kind per slow-mode map.
weiliang.lin@intel.com [Wed, 30 Jul 2014 09:28:43 +0000 (09:28 +0000)]
X87: Only generate a single normal IC per kind per slow-mode map.

port r22680

original commit message:

  only generate a single normal IC per kind per slow-mode map.

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22697 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoX87: Clean up name distinction between Keyed ICs and Element Handlers
weiliang.lin@intel.com [Wed, 30 Jul 2014 09:04:42 +0000 (09:04 +0000)]
X87: Clean up name distinction between Keyed ICs and Element Handlers

port r22679.

original commit message:

  Clean up name distinction between Keyed ICs and Element Handlers

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22696 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoUse emergency memory in the case of out of memory during evacuation.
hpayer@chromium.org [Wed, 30 Jul 2014 08:55:25 +0000 (08:55 +0000)]
Use emergency memory in the case of out of memory during evacuation.

BUG=395314
LOG=y
R=jarin@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22695 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoX87: Remove all compilation related interface from the StubCache
weiliang.lin@intel.com [Wed, 30 Jul 2014 08:25:26 +0000 (08:25 +0000)]
X87:  Remove all compilation related interface from the StubCache

port r22678.

original commit message:
   Remove all compilation related interface from the StubCache

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22694 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoX87: CallIC customization stubs must accept that a vector slot is cleared.
weiliang.lin@intel.com [Wed, 30 Jul 2014 08:21:42 +0000 (08:21 +0000)]
X87: CallIC customization stubs must accept that a vector slot is cleared.

port r22668.

original commit message:
  CallIC customization stubs must accept that a vector slot is cleared.

  The CallIC Array custom IC stub read from the type vector, expecting
  to get an AllocationSite. But there are paths in the system where a type
  vector can be re-created with default values, even though we currently
  grant an exception to clearing of vector slots with AllocationSites in
  them at gc time.

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22693 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFormatting rules violation fixed
ishell@chromium.org [Wed, 30 Jul 2014 07:41:09 +0000 (07:41 +0000)]
Formatting rules violation fixed

TBR=weiliang.lin@intel.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22692 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoX87: Inline Math.fround in optimized code.
weiliang.lin@intel.com [Wed, 30 Jul 2014 06:46:25 +0000 (06:46 +0000)]
X87: Inline Math.fround in optimized code.

port r22665.

original commit message:
 Inline Math.fround in optimized code.

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22691 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[Auto-roll] Bump up version to 3.28.47.0
machenbach@chromium.org [Tue, 29 Jul 2014 23:34:11 +0000 (23:34 +0000)]
[Auto-roll] Bump up version to 3.28.47.0

TBR=machenbach@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22687 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Only generate a single normal IC per kind per slow-mode map.
akos.palfi@imgtec.com [Tue, 29 Jul 2014 20:48:36 +0000 (20:48 +0000)]
MIPS: Only generate a single normal IC per kind per slow-mode map.

Port r22680 (8b865409)

BUG=
R=paul.lind@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22686 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Clean up name distinction between Keyed ICs and Element Handlers
akos.palfi@imgtec.com [Tue, 29 Jul 2014 20:47:03 +0000 (20:47 +0000)]
MIPS: Clean up name distinction between Keyed ICs and Element Handlers

Port r22679 (c6e3041b)

BUG=
R=paul.lind@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22685 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Remove all compilation related interface from the StubCache.
balazs.kilvady@imgtec.com [Tue, 29 Jul 2014 19:39:14 +0000 (19:39 +0000)]
MIPS: Remove all compilation related interface from the StubCache.

Port r22678 (f6c5867)

BUG=
R=paul.lind@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22684 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: CallIC customization stubs must accept that a vector slot is cleared.
balazs.kilvady@imgtec.com [Tue, 29 Jul 2014 19:36:40 +0000 (19:36 +0000)]
MIPS: CallIC customization stubs must accept that a vector slot is cleared.

Port r22668 (7be1212)

Original commit message:
The CallIC Array custom IC stub read from the type vector, expecting
to get an AllocationSite. But there are paths in the system where a
type vector can be re-created with default values, even though we
currently grant an exception to clearing of vector slots with
AllocationSites in them at gc time.

BUG=392114
LOG=N
R=paul.lind@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22683 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Inline Math.fround in optimized code.
balazs.kilvady@imgtec.com [Tue, 29 Jul 2014 19:26:01 +0000 (19:26 +0000)]
MIPS: Inline Math.fround in optimized code.

Port r22665 (7e3d70d)

BUG=v8:3469
LOG=N
R=paul.lind@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22682 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS64: Add support for architecture revision 6.
dusan.milosavljevic@imgtec.com [Tue, 29 Jul 2014 18:02:26 +0000 (18:02 +0000)]
MIPS64: Add support for architecture revision 6.

TEST=
BUG=
R=jkummerow@chromium.org, paul.lind@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22681 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoOnly generate a single normal IC per kind per slow-mode map.
verwaest@chromium.org [Tue, 29 Jul 2014 17:02:52 +0000 (17:02 +0000)]
Only generate a single normal IC per kind per slow-mode map.

BUG=
R=jkummerow@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22680 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoClean up name distinction between Keyed ICs and Element Handlers
verwaest@chromium.org [Tue, 29 Jul 2014 16:07:34 +0000 (16:07 +0000)]
Clean up name distinction between Keyed ICs and Element Handlers

BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22679 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRemove all compilation related interface from the StubCache
verwaest@chromium.org [Tue, 29 Jul 2014 16:04:07 +0000 (16:04 +0000)]
Remove all compilation related interface from the StubCache

BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22678 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix handling of potential string additions in hydrogen.
mstarzinger@chromium.org [Tue, 29 Jul 2014 14:53:11 +0000 (14:53 +0000)]
Fix handling of potential string additions in hydrogen.

R=titzer@chromium.org
TEST=mjsunit/regress/regress-3476
BUG=v8:3476
LOG=N

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22677 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoSupport for dynamic write-barrier counters everywhere.
mstarzinger@chromium.org [Tue, 29 Jul 2014 14:38:39 +0000 (14:38 +0000)]
Support for dynamic write-barrier counters everywhere.

R=jkummerow@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22676 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoActivate SSE2 for all Visual Studio builds
danno@chromium.org [Tue, 29 Jul 2014 14:31:12 +0000 (14:31 +0000)]
Activate SSE2 for all Visual Studio builds

BUG=
R=jkummerow@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22675 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoCheck for negative zero in floor when compiling with MSVC.
yangguo@chromium.org [Tue, 29 Jul 2014 14:20:05 +0000 (14:20 +0000)]
Check for negative zero in floor when compiling with MSVC.

R=danno@chromium.org
BUG=v8:3477
LOG=N

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22674 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoahum. Small fix.
verwaest@chromium.org [Tue, 29 Jul 2014 14:17:07 +0000 (14:17 +0000)]
ahum. Small fix.

BUG=
R=jkummerow@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22673 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRemove unnecessary ";"
verwaest@chromium.org [Tue, 29 Jul 2014 13:39:09 +0000 (13:39 +0000)]
Remove unnecessary ";"

BUG=
R=jkummerow@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22672 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix Object.freeze with field type tracking.
verwaest@chromium.org [Tue, 29 Jul 2014 13:30:29 +0000 (13:30 +0000)]
Fix Object.freeze with field type tracking.
Keep the descriptor properly intact while update the field type.

BUG=v8:3458
LOG=y
R=jkummerow@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22671 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRevert "Make --always-opt also optimize toplevel code."
mstarzinger@chromium.org [Tue, 29 Jul 2014 13:08:51 +0000 (13:08 +0000)]
Revert "Make --always-opt also optimize toplevel code."

TBR=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22670 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoPaint the tree green after r22666.
mstarzinger@chromium.org [Tue, 29 Jul 2014 12:57:25 +0000 (12:57 +0000)]
Paint the tree green after r22666.

R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22669 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoCallIC customization stubs must accept that a vector slot is cleared.
mvstanton@chromium.org [Tue, 29 Jul 2014 11:53:30 +0000 (11:53 +0000)]
CallIC customization stubs must accept that a vector slot is cleared.

The CallIC Array custom IC stub read from the type vector, expecting
to get an AllocationSite. But there are paths in the system where a
type vector can be re-created with default values, even though we
currently grant an exception to clearing of vector slots with
AllocationSites in them at gc time.

BUG=392114
LOG=N
R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22668 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoReduce max executable size limit.
hpayer@chromium.org [Tue, 29 Jul 2014 11:42:59 +0000 (11:42 +0000)]
Reduce max executable size limit.

BUG=395679
LOG=n
R=jarin@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22667 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMake --always-opt also optimize toplevel code.
mstarzinger@chromium.org [Tue, 29 Jul 2014 11:41:42 +0000 (11:41 +0000)]
Make --always-opt also optimize toplevel code.

R=jacob.bramley@arm.com, titzer@chromium.org, rossberg@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22666 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoInline Math.fround in optimized code.
yangguo@chromium.org [Tue, 29 Jul 2014 11:34:08 +0000 (11:34 +0000)]
Inline Math.fround in optimized code.

R=svenpanne@chromium.org
BUG=v8:3469
LOG=N

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22665 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[Auto-roll] Bump up version to 3.28.46.0
machenbach@chromium.org [Tue, 29 Jul 2014 09:34:11 +0000 (09:34 +0000)]
[Auto-roll] Bump up version to 3.28.46.0

TBR=machenbach@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22664 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoAdd generated test
verwaest@chromium.org [Tue, 29 Jul 2014 08:36:45 +0000 (08:36 +0000)]
Add generated test

BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22660 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRestore DefineApiAccessorProperty
verwaest@chromium.org [Tue, 29 Jul 2014 08:09:14 +0000 (08:09 +0000)]
Restore DefineApiAccessorProperty

BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22659 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoX87: Restructure the IC / Handler compilers
weiliang.lin@intel.com [Tue, 29 Jul 2014 07:54:38 +0000 (07:54 +0000)]
X87: Restructure the IC / Handler compilers

port r22622.

original commit message:
  Restructure the IC / Handler compilers.

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22658 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoWhitespace change to trigger bots.
machenbach@chromium.org [Tue, 29 Jul 2014 07:07:30 +0000 (07:07 +0000)]
Whitespace change to trigger bots.

TBR=machenbach@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22657 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoWhitespace change to trigger bots.
machenbach@chromium.org [Tue, 29 Jul 2014 06:30:08 +0000 (06:30 +0000)]
Whitespace change to trigger bots.

TBR=machenbach@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22656 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRename failure tag to page owner tag and add proper description.
hpayer@chromium.org [Mon, 28 Jul 2014 18:54:06 +0000 (18:54 +0000)]
Rename failure tag to page owner tag and add proper description.

BUG=
R=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22655 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMore accurate usages of Heap::AdjustLiveBytes().
ishell@chromium.org [Mon, 28 Jul 2014 18:15:35 +0000 (18:15 +0000)]
More accurate usages of Heap::AdjustLiveBytes().

R=hpayer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22654 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoI said, skip long-running mjsunit/array-functions-prototype-misc test.
ishell@chromium.org [Mon, 28 Jul 2014 16:28:02 +0000 (16:28 +0000)]
I said, skip long-running mjsunit/array-functions-prototype-misc test.

TBR=danno@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22653 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRegression test for chromium:388880 added.
ishell@chromium.org [Mon, 28 Jul 2014 15:33:24 +0000 (15:33 +0000)]
Regression test for chromium:388880 added.

BUG=chromium:388880
LOG=N
R=hpayer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22652 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix printf formatting.
ernstm@chromium.org [Mon, 28 Jul 2014 15:01:57 +0000 (15:01 +0000)]
Fix printf formatting.

TBR=hpayer@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22650 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoTrack size of incremental marking steps in GCTracer.
ernstm@chromium.org [Mon, 28 Jul 2014 14:48:53 +0000 (14:48 +0000)]
Track size of incremental marking steps in GCTracer.

- Track size of bytes marked incrementally
- Add method to compute marking speed in bytes/millisecond
- Distinguish between cumulative and differential marking stats.
- Fix methods that compute incremental marking stats.

R=hpayer@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22649 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoSkip long-running mjsunit/array-functions-prototype-misc.js test
ishell@chromium.org [Mon, 28 Jul 2014 14:38:35 +0000 (14:38 +0000)]
Skip long-running mjsunit/array-functions-prototype-misc.js test

TBR=danno@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22648 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRemoved IdleGlobalGC and just perform IdleNotification when incremental marking is on.
hpayer@chromium.org [Mon, 28 Jul 2014 14:18:40 +0000 (14:18 +0000)]
Removed IdleGlobalGC and just perform IdleNotification when incremental marking is on.

BUG=397026
LOG=n
R=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22647 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoTeach releases script to read bleeding_edge tags.
machenbach@chromium.org [Mon, 28 Jul 2014 13:49:07 +0000 (13:49 +0000)]
Teach releases script to read bleeding_edge tags.

The command 'git svn log' does unfortunately not provide the tag-revision relation. We therefore use 'svn log' to retrieve it from the remote repository.

BUG=
R=jarin@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22646 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoKeep new arrays allocated with 'new Array(N)' in fast mode (revisited)
danno@chromium.org [Mon, 28 Jul 2014 13:12:26 +0000 (13:12 +0000)]
Keep new arrays allocated with 'new Array(N)' in fast mode (revisited)

Also explicit length setting with a.length = N should remain in fast mode.

R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22645 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoUnbreak NaCL build
svenpanne@chromium.org [Mon, 28 Jul 2014 12:47:24 +0000 (12:47 +0000)]
Unbreak NaCL build

TBR=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22644 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoTrace every incremental marking step.
ernstm@chromium.org [Mon, 28 Jul 2014 12:32:55 +0000 (12:32 +0000)]
Trace every incremental marking step.

- This information is required in the chrome trace for a GC telemetry
  benchmark.

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22643 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix bogus assert in HeapIterator.
hpayer@chromium.org [Mon, 28 Jul 2014 12:28:28 +0000 (12:28 +0000)]
Fix bogus assert in HeapIterator.

BUG=397485
LOG=n
R=jarin@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22642 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[Auto-roll] Bump up version to 3.28.44.0
machenbach@chromium.org [Mon, 28 Jul 2014 12:04:13 +0000 (12:04 +0000)]
[Auto-roll] Bump up version to 3.28.44.0

TBR=machenbach@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22639 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoUse return value of GetPropertyAttributes to make compiler happy.
hpayer@chromium.org [Mon, 28 Jul 2014 12:00:05 +0000 (12:00 +0000)]
Use return value of GetPropertyAttributes to make compiler happy.

BUG=
R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22638 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoProperly propagate serialization flag when compiling hydrogen code stubs.
yangguo@chromium.org [Mon, 28 Jul 2014 11:47:10 +0000 (11:47 +0000)]
Properly propagate serialization flag when compiling hydrogen code stubs.

R=mvstanton@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22637 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRevert "Fix a potential overflow in SortedListBSearch".
yangguo@chromium.org [Mon, 28 Jul 2014 11:42:52 +0000 (11:42 +0000)]
Revert "Fix a potential overflow in SortedListBSearch".

This reverts r21960.

R=jochen@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22636 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMove extra_ic_state to the PropertyICCompiler
verwaest@chromium.org [Mon, 28 Jul 2014 10:55:32 +0000 (10:55 +0000)]
Move extra_ic_state to the PropertyICCompiler

BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22635 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoTests that the GC doesn't mistake non-pointer constant pool entries as pointers.
rmcilroy@chromium.org [Mon, 28 Jul 2014 10:04:36 +0000 (10:04 +0000)]
Tests that the GC doesn't mistake non-pointer constant pool entries as pointers.

Adds a test for ConstantPoolArray to ensure that the GC
doesn't mistake non-pointer entries as pointers and try
to modify them during scavenge operations.

Also adds asserts to ConstantPoolArray::set(int, *Object) to
ensure we don't add new-space pointers in constant pool
array.

R=hpayer@chromium.org

Committed: https://code.google.com/p/v8/source/detail?r=22608

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22634 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoReland r22460 - "Bootstrapper::DetachGlobal also need to unset g..."
jochen@chromium.org [Mon, 28 Jul 2014 09:15:10 +0000 (09:15 +0000)]
Reland r22460 - "Bootstrapper::DetachGlobal also need to unset g..."

| DetachGlobal detaches original context of a global proxy object.
|
| Before this patch, the constructor JSFunction still carried a
| reference to the old context after |Bootstrapper::DetachGlobal|
| call.
| This patch removes the reference by setting the constructor
| null.
|
| Review URL: https://codereview.chromium.org/397953009

TEST=http/tests/security/isolatedWorld w/ --enable-leak-detection
LOG=N
BUG=364377
R=dcarney@chromium.org

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

Patch from Kouhei Ueno <kouhei@chromium.org>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22633 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoAdded histogram to track distribution of requested idle notifications.
hpayer@chromium.org [Mon, 28 Jul 2014 09:13:33 +0000 (09:13 +0000)]
Added histogram to track distribution of requested idle notifications.

BUG=397026
LOG=n
R=rmcilroy@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22632 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[Auto-roll] Bump up version to 3.28.42.0
machenbach@chromium.org [Sat, 26 Jul 2014 00:34:19 +0000 (00:34 +0000)]
[Auto-roll] Bump up version to 3.28.42.0

TBR=machenbach@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22628 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Restructure the IC / Handler compilers
akos.palfi@imgtec.com [Fri, 25 Jul 2014 21:54:12 +0000 (21:54 +0000)]
MIPS: Restructure the IC / Handler compilers

Port r22622 (319e3252)

BUG=
R=paul.lind@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22626 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[Auto-roll] Bump up version to 3.28.41.0
machenbach@chromium.org [Fri, 25 Jul 2014 20:04:11 +0000 (20:04 +0000)]
[Auto-roll] Bump up version to 3.28.41.0

TBR=machenbach@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22625 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoChange Has* and Get*Attributes to return Maybe<*>, indicating possible exceptions.
verwaest@chromium.org [Fri, 25 Jul 2014 18:32:11 +0000 (18:32 +0000)]
Change Has* and Get*Attributes to return Maybe<*>, indicating possible exceptions.

BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22624 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRestructure the IC / Handler compilers
verwaest@chromium.org [Fri, 25 Jul 2014 17:50:53 +0000 (17:50 +0000)]
Restructure the IC / Handler compilers

BUG=
R=ishell@chromium.org, mvstanton@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22622 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[Auto-roll] Bump up version to 3.28.40.0
machenbach@chromium.org [Fri, 25 Jul 2014 15:34:10 +0000 (15:34 +0000)]
[Auto-roll] Bump up version to 3.28.40.0

TBR=machenbach@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22621 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoKraken recover after r20312.
ishell@chromium.org [Fri, 25 Jul 2014 13:00:06 +0000 (13:00 +0000)]
Kraken recover after r20312.

R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22620 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[Auto-roll] Bump up version to 3.28.39.0
machenbach@chromium.org [Fri, 25 Jul 2014 12:34:13 +0000 (12:34 +0000)]
[Auto-roll] Bump up version to 3.28.39.0

TBR=machenbach@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22618 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoSmi arrays are only guaranteed to be initialized in non-holey case
verwaest@chromium.org [Fri, 25 Jul 2014 12:27:55 +0000 (12:27 +0000)]
Smi arrays are only guaranteed to be initialized in non-holey case

BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22617 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoIn GrowMode, force the value to the right representation to avoid deopts between...
verwaest@chromium.org [Fri, 25 Jul 2014 11:48:25 +0000 (11:48 +0000)]
In GrowMode, force the value to the right representation to avoid deopts between storing the length and storing the value.

BUG=16459193
LOG=n
R=danno@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22616 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoAlways trace garbage collection events in GCTracer.
ernstm@chromium.org [Fri, 25 Jul 2014 07:32:28 +0000 (07:32 +0000)]
Always trace garbage collection events in GCTracer.

- always trace events in GCTracer, but only print stats when the command
  line flag is set.
- required to collect statistis that will be used to schedue garbage
  collection.
- we need to watch the perf bots after this lands, as it could regress
  performance.

R=hpayer@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22613 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[Auto-roll] Bump up version to 3.28.37.0
machenbach@chromium.org [Thu, 24 Jul 2014 19:05:05 +0000 (19:05 +0000)]
[Auto-roll] Bump up version to 3.28.37.0

TBR=machenbach@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22610 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRevert "Tests that the GC doesn't mistake non-pointer constant pool entries as pointers."
machenbach@chromium.org [Thu, 24 Jul 2014 18:59:19 +0000 (18:59 +0000)]
Revert "Tests that the GC doesn't mistake non-pointer constant pool entries as pointers."

This reverts commit r22608 for breaking win and arm64, ConstantPoolExtended and ConstantPoolSmall.

BUG=
TBR=rmcilroy@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22609 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoTests that the GC doesn't mistake non-pointer constant pool entries as pointers.
rmcilroy@chromium.org [Thu, 24 Jul 2014 18:13:16 +0000 (18:13 +0000)]
Tests that the GC doesn't mistake non-pointer constant pool entries as pointers.

Adds a test for ConstantPoolArray to ensure that the GC
doesn't mistake non-pointer entries as pointers and try
to modify them during scavenge operations.

Also adds asserts to ConstantPoolArray::set(int, *Object) to
ensure we don't add new-space pointers in constant pool
array.

R=hpayer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22608 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoUse result of SetOwnPropertyIgnoreAttributes in accessors
verwaest@chromium.org [Thu, 24 Jul 2014 17:33:34 +0000 (17:33 +0000)]
Use result of SetOwnPropertyIgnoreAttributes in accessors

BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22607 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix issue with setters and their holders in accessors.cc
verwaest@chromium.org [Thu, 24 Jul 2014 16:42:54 +0000 (16:42 +0000)]
Fix issue with setters and their holders in accessors.cc

BUG=3462
LOG=Y
R=verwaest@chromium.org

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22606 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoAdd event statistics to GCTracer.
ernstm@chromium.org [Thu, 24 Jul 2014 15:23:06 +0000 (15:23 +0000)]
Add event statistics to GCTracer.

- Add method to GCTracer to compute mean and max of the last few
  Scavenger, Mark Compactor and Incremental Marking events.

R=hpayer@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22605 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoAdd a histogram timer around low memory notifications from API
jochen@chromium.org [Thu, 24 Jul 2014 14:41:27 +0000 (14:41 +0000)]
Add a histogram timer around low memory notifications from API

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22604 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoStage for-of
yangguo@chromium.org [Thu, 24 Jul 2014 13:47:47 +0000 (13:47 +0000)]
Stage for-of

R=rossberg@chromium.org
BUG=

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

Patch from Andy Wingo <wingo@igalia.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22603 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFor-of on null or undefined is an error
yangguo@chromium.org [Thu, 24 Jul 2014 13:40:08 +0000 (13:40 +0000)]
For-of on null or undefined is an error

The latest ES6 draft changed the behavior of for-of on null / undefined,
which for once is a simplification.

R=rossberg@chromium.org
BUG=

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

Patch from Andy Wingo <wingo@igalia.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22602 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRevert 22595: "Keep new arrays allocated with 'new Array(N)' in fast mode"
danno@chromium.org [Thu, 24 Jul 2014 13:38:05 +0000 (13:38 +0000)]
Revert 22595: "Keep new arrays allocated with 'new Array(N)' in fast mode"

Due to failures in mjsunit/array-functions-prototype-misc

TBR=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22601 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMove GCTracer to separate files.
ernstm@chromium.org [Thu, 24 Jul 2014 13:06:38 +0000 (13:06 +0000)]
Move GCTracer to separate files.

- No functional changes.

R=hpayer@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22600 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoSKIP migration tests to improve unit test time (2x)
danno@chromium.org [Thu, 24 Jul 2014 12:39:01 +0000 (12:39 +0000)]
SKIP migration tests to improve unit test time (2x)

R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22599 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRevert r22597 (which should have been called: "Tests that the GC doesn't mistake...
rmcilroy@chromium.org [Thu, 24 Jul 2014 12:30:53 +0000 (12:30 +0000)]
Revert r22597 (which should have been called: "Tests that the GC doesn't mistake non-pointer constant pool entries as poitners.")

TBR=yangguo@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22598 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoUse heap iterator in store buffer when page was swept precisely.
rmcilroy@chromium.org [Thu, 24 Jul 2014 12:12:44 +0000 (12:12 +0000)]
Use heap iterator in store buffer when page was swept precisely.

BUG=
R=rmcilroy@chromium.org

Committed: https://code.google.com/p/v8/source/detail?r=22592

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22597 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFlag for serialization when compiling code stubs if --serialize-toplevel.
yangguo@chromium.org [Thu, 24 Jul 2014 12:11:30 +0000 (12:11 +0000)]
Flag for serialization when compiling code stubs if --serialize-toplevel.

R=mvstanton@chromium.org
BUG=v8:3465
LOG=N

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22596 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoKeep new arrays allocated with 'new Array(N)' in fast mode
danno@chromium.org [Thu, 24 Jul 2014 12:08:23 +0000 (12:08 +0000)]
Keep new arrays allocated with 'new Array(N)' in fast mode

Also explicit length setting with a.length = N should remain in fast mode.

R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22595 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoIntroduce NonJSProxyHolder returning Handle<JSObject> and return Handle<JSReceiver...
verwaest@chromium.org [Thu, 24 Jul 2014 11:33:46 +0000 (11:33 +0000)]
Introduce NonJSProxyHolder returning Handle<JSObject> and return Handle<JSReceiver> for GetHolder

BUG=
R=rossberg@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22594 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agore-land: Track history of events in GCTracer.
ernstm@chromium.org [Thu, 24 Jul 2014 11:16:01 +0000 (11:16 +0000)]
re-land: 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.

This is a re-land of https://codereview.chromium.org/391413006/ with
 - int instead of size_t in ring buffer unit test.
 - git cl format

R=hpayer@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22593 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoUse heap iterator in store buffer when page was swept precisely.
hpayer@chromium.org [Thu, 24 Jul 2014 10:45:37 +0000 (10:45 +0000)]
Use heap iterator in store buffer when page was swept precisely.

BUG=
R=rmcilroy@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22592 ce2b1a6d-e550-0410-aec6-3dcde31c8c00