bmeurer@chromium.org
b15a082d56
Fix implementation of bit count functions.
...
The bit counting functions provided by CompilerIntrinsics were undefined
for zero, which was easily overlooked and unsafe in general. Also their
implementation was kinda hacky and mostly untested. Fixed the
implementation and moved the functions to base/bits.h.
TEST=base-unittests,cctest,compiler-unittests,mjsunit
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/494633002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23229 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-20 12:10:41 +00:00
hpayer@chromium.org
1605474d70
Use actual incremental marking throughput in IdleNotification to estimate marking step size.
...
BUG=
R=jochen@chromium.org , ulan@chromium.org
Review URL: https://codereview.chromium.org/465473002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23224 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-20 10:33:03 +00:00
rossberg@chromium.org
8394975ec7
Expose well-known Symbols to C++ API.
...
BUG=341423
LOG=Y
R=arv@chromium.org , dcarney@chromium.org , rossberg@chromium.org
Review URL: https://codereview.chromium.org/483173002
Patch from Yutaka Hirano <yhirano@chromium.org>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23196 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-19 12:08:46 +00:00
ulan@chromium.org
ed668b8f2c
Trace scavenger throughput.
...
BUG=
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/487753003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23195 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-19 12:07:59 +00:00
vegorov@chromium.org
948a0dea44
When marking dependent code for deoptimization print the group that is being deoptimized.
...
Otherwise it is impossible to figure out from the --trace-deoptimization output what is going on.
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/467183002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23191 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-19 10:56:49 +00:00
hpayer@chromium.org
91599ffc6c
Do not install fillers when right trimming large objects.
...
BUG=
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/487703002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23183 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-19 08:35:39 +00:00
yangguo@chromium.org
84edfa3d0c
Purge unused internalized string accessors.
...
R=marja@chromium.org
Review URL: https://codereview.chromium.org/471923002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23141 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-18 07:54:19 +00:00
jarin@chromium.org
18a10e3482
Fix pointer iteration for maps.
...
BUG=
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/475463003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23114 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-14 07:41:33 +00:00
mstarzinger@chromium.org
1d2a0759f2
Fix predictable mode to make time pass faster.
...
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/460413002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23087 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-12 17:54:41 +00:00
jkummerow@chromium.org
2c6d5cfb27
Old space cannot be assumed to be iterable between GCs, even if swept precisely.
...
This is because allocation folding can cause uninitialized and hence uniterable fragments. Trying to inspect them causes SizeFromMap() crashes.
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/467693002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23084 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-12 15:29:03 +00:00
dslomov@chromium.org
d2fe3e68ea
Add "own" symbols support.
...
"Own" symbols are symbols that can only denote own properties of
objects.
R=hpayer@chromium.org , verwaest@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=23056
Review URL: https://codereview.chromium.org/464473002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23083 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-12 15:28:20 +00:00
hpayer@chromium.org
24fceeeabb
Move store-buffer to heap and remove some unnecessary includes.
...
BUG=
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/463523002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23046 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-11 14:22:24 +00:00
hpayer@chromium.org
9de4492497
Fix precisely sweeping asserts.
...
BUG=
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/463503002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23041 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-11 13:45:00 +00:00
hpayer@chromium.org
1efd68d977
Measure incremental marking speed in bytes per millisecond based on pure incremental marking steps.
...
BUG=
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/463453002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23035 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-11 12:46:03 +00:00
hpayer@chromium.org
604eaa0d27
Move objects-visiting into heap.
...
BUG=
R=jochen@chromium.org , mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/443933002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22971 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-07 12:21:01 +00:00
hpayer@chromium.org
c76318bc30
Precise sweeping makes zapping of garbage memory when trimming arrays obsolete
...
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/439863006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22867 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-05 12:09:23 +00:00
hpayer@chromium.org
a359e112c3
Precise sweeping makes zapping of garbage memory in UpdatePointer obsolete.
...
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/440073002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22865 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-05 12:04:58 +00:00
hpayer@chromium.org
112e089cf7
Move ClearNonLiveReferences and friends into the gc.
...
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/440063002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22864 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-05 11:58:24 +00:00
mstarzinger@chromium.org
7c667b812d
Move left and right trimming of FixedArray into Heap.
...
R=hpayer@chromium.org
BUG=v8:3231
LOG=n
Review URL: https://codereview.chromium.org/200443004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22858 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-05 11:16:11 +00:00
hpayer@chromium.org
d3ee3df4e4
Force incremental marking when called from idle notification.
...
BUG=
R=ernstm@chromium.org , jochen@chromium.org
Review URL: https://codereview.chromium.org/426243002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22854 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-05 09:40:09 +00:00
jochen@chromium.org
c608c2f0be
Move a bunch of GC related files to heap/ subdirectory
...
BUG=none
R=hpayer@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/437993003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22850 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-05 08:18:22 +00:00