yangguo@chromium.org
|
fea1d2b145
|
Fix PagedSpace size accounting.
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/392163003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22433 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-07-16 13:36:46 +00:00 |
|
hpayer@chromium.org
|
8e1ece2573
|
Revert "Remove failure tag.".
TBR=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/398473002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22409 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-07-15 12:22:38 +00:00 |
|
hpayer@chromium.org
|
46135f289e
|
Remove failure tag.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/397613002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22408 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-07-15 11:11:15 +00:00 |
|
hpayer@chromium.org
|
9180b1a319
|
Remove sequential sweeping mode and perform lazy sweeping when no sweeper threads are active.
BUG=
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/396443004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22394 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-07-15 08:24:44 +00:00 |
|
titzer@chromium.org
|
f28f6102f8
|
Revert "Remove sequential sweeping mode and perform lazy sweeping when no sweeper threads are active."
Reason: broke win64 build
This reverts commit 221bfdd2da2b6f3c1cbe77c5d197f1ea626b0bd2.
TBR=hpayer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/393523002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22374 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-07-14 13:02:36 +00:00 |
|
hpayer@chromium.org
|
030df48ced
|
Remove sequential sweeping mode and perform lazy sweeping when no sweeper threads are active.
BUG=
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/384373002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22372 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-07-14 11:31:22 +00:00 |
|
dslomov@chromium.org
|
1b5958382a
|
Revert "Remove sequential sweeping mode and perform lazy sweeping when no sweeper threads are active."
This reverts commit r22346 for breaking GC stress tests.
TBR=hpayer@chromium.org
Review URL: https://codereview.chromium.org/386943003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22349 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-07-11 11:33:57 +00:00 |
|
hpayer@chromium.org
|
6d022494ec
|
Remove sequential sweeping mode and perform lazy sweeping when no sweeper threads are active.
BUG=
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/382793002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22346 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-07-11 09:51:34 +00:00 |
|
hpayer@chromium.org
|
634b90eb0e
|
Fix Windows compile error.
BUG=
R=dslomov@chromium.org
Review URL: https://codereview.chromium.org/386603003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22326 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-07-10 14:50:32 +00:00 |
|
hpayer@chromium.org
|
a087f30500
|
Fix Windows compile error.
BUG=
R=dslomov@chromium.org
Review URL: https://codereview.chromium.org/384743002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22322 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-07-10 13:57:07 +00:00 |
|
hpayer@chromium.org
|
ce916ff99a
|
Allow main thread to contribute to the sweeping phase.
BUG=
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/380653003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22318 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-07-10 12:07:28 +00:00 |
|
hpayer@chromium.org
|
d4c07acd66
|
Wait for sweeper threads only if we have to, i.e. if we globally have to finish sweeping or if we have to allocate from a certain space.
BUG=
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/361983003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22156 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-07-02 12:33:12 +00:00 |
|
jochen@chromium.org
|
a4506cd3f2
|
Move platform abstraction to base library
Also split v8-core independent methods from checks.h to base/logging.h and
merge v8checks with the rest of checks.
The CPU::FlushICache method is moved to CpuFeatures::FlushICache
RoundUp and related methods are moved to base/macros.h
Remove all layering violations from src/libplatform
BUG=none
R=jkummerow@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/358363002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22092 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-06-30 13:25:46 +00:00 |
|
hpayer@chromium.org
|
fd45684878
|
Waiting for sweeper threads is last resort in SlowAllocateRaw.
BUG=
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/356403002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22090 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-06-30 12:39:06 +00:00 |
|
svenpanne@chromium.org
|
dda110fd77
|
Make object accessors more const-correct.
Getting closer to making our IsFOO and FOO::cast methods const-correct...
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/349623002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21897 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-06-20 10:31:17 +00:00 |
|
ulan@chromium.org
|
944e7f09d2
|
Do GC if CodeRange fails to allocate a block.
BUG=305878
LOG=Y
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/332373002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21869 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-06-17 08:20:12 +00:00 |
|
dcarney@chromium.org
|
99d9abaf82
|
remove this == null
R=danno@chromium.org
BUG=chromium:381910
Review URL: https://codereview.chromium.org/336483002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21807 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-06-12 12:01:01 +00:00 |
|
jochen@chromium.org
|
799fc835f8
|
Move atomic ops and related files to base library
BUG=none
R=jkummerow@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/316133002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21693 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-06-05 12:14:47 +00:00 |
|
jochen@chromium.org
|
56a486c322
|
Use full include paths everywhere
- this avoids using relative include paths which are forbidden by the style guide
- makes the code more readable since it's clear which header is meant
- allows for starting to use checkdeps
BUG=none
R=jkummerow@chromium.org, danno@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/304153016
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21625 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-06-03 08:12:43 +00:00 |
|
hpayer@chromium.org
|
b8c3ee40ab
|
Tenure allocation sites only when semi-space is maximum size.
BUG=
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/309623007
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21623 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-06-03 07:55:38 +00:00 |
|
jochen@chromium.org
|
276adeda1a
|
Replace STATIC_CHECK with STATIC_ASSERT.
It's just an alias, and STATIC_ASSERT is used way more often
BUG=none
R=jkummerow@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/304553002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21527 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-05-27 13:43:29 +00:00 |
|
hpayer@chromium.org
|
de21c8a245
|
Simplify ConfigureHeap and change --max_new_space_size to --max_semi_space_size.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/271843005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21204 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-05-09 08:38:27 +00:00 |
|
yangguo@chromium.org
|
88144ee17f
|
Kiss goodbye to MaybeObject.
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/259173003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21086 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-04-30 12:25:18 +00:00 |
|
hpayer@chromium.org
|
930aa4a593
|
Don't unlink evacuation candidates before sweeping, move them to the end of their list of pages.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/256743004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21042 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-04-29 11:01:42 +00:00 |
|
bmeurer@chromium.org
|
d4b533d41b
|
Bulk update of Google copyright headers in source files.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/259183002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21035 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-04-29 06:42:26 +00:00 |
|
hpayer@chromium.org
|
3055867f78
|
Simplify old space allocation strategy.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/258733013
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21017 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-04-28 12:58:32 +00:00 |
|
jochen@chromium.org
|
8795d02bfd
|
Enter a description of the change.
Reland 20968 - "Merge v8utils.* and utils.*"
> BUG=none
> R=mstarzinger@chromium.org
> LOG=n
>
> Review URL: https://codereview.chromium.org/256753002
BUG=none
LOG=n
TBR=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/250733004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20984 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-04-25 13:47:01 +00:00 |
|
jochen@chromium.org
|
f2a1176f90
|
Revert 20968 - "Merge v8utils.* and utils.*"
> BUG=none
> R=mstarzinger@chromium.org
> LOG=n
>
> Review URL: https://codereview.chromium.org/256753002
BUG=none
LOG=n
TBR=danno@chromium.org
Review URL: https://codereview.chromium.org/250823003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20975 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-04-25 12:21:32 +00:00 |
|
jochen@chromium.org
|
c0380f6a56
|
Merge v8utils.* and utils.*
BUG=none
R=mstarzinger@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/256753002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20968 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-04-25 10:57:34 +00:00 |
|
hpayer@chromium.org
|
20107bf2d8
|
Remove lazy sweeping.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/254603002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20966 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-04-25 09:50:42 +00:00 |
|
yangguo@chromium.org
|
6d250412f1
|
Clean up some uses of Failures and MaybeObjects.
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/245963007
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20914 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-04-23 15:08:03 +00:00 |
|
jochen@chromium.org
|
dc4ba08d17
|
Allow the embedder to pass the virtual memory limit to v8
The getrlimit() call might be sandboxed, so it's not safe to use it.
BUG=none
R=mstarzinger@chromium.org
LOG=y
Review URL: https://codereview.chromium.org/228923002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20615 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-04-09 12:45:56 +00:00 |
|
hpayer@chromium.org
|
155225c69c
|
Use acquire/release stores and loads when reading and writing the parallel sweeping state of a page.
BUG=
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/214543008
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20301 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-03-27 13:26:25 +00:00 |
|
hpayer@chromium.org
|
51571d8ff9
|
Do not left-trim arrays when concurrent sweeping is active.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/207613004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20238 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-03-25 11:57:26 +00:00 |
|
hpayer@chromium.org
|
94dc107504
|
The sweeper thread should not write the page flags. Added a sweeping complete phase, where the main thread writes the given page flags.
BUG=
R=jarin@chromium.org, jochen@chromium.org
Review URL: https://codereview.chromium.org/163683003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19377 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-02-14 12:33:35 +00:00 |
|
hpayer@chromium.org
|
e18aff1c4b
|
Use NoBarrier_Load and NoBarrier_Store in FreeListCategory::Concatenate.
BUG=
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/138953018
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19355 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-02-13 15:01:10 +00:00 |
|
hpayer@chromium.org
|
81347246da
|
Make prev and next pointer in pages list AtomicWords and access them using acquire/release semantics.
BUG=
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/150413009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19332 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-02-12 15:40:23 +00:00 |
|
hpayer@chromium.org
|
559826f649
|
Make memento checks more stable. Add filler at the end of new space and check if object and memento are on the same new space page.
BUG=
R=bmeurer@chromium.org, mvstanton@chromium.org
Review URL: https://codereview.chromium.org/152613002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19024 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-02-03 12:20:15 +00:00 |
|
hpayer@chromium.org
|
83a1df2354
|
Remove Heap::MaxRegularSpaceAllocationSize and use Page::MaxRegularHeapObjectSize instead.
BUG=
R=mstarzinger@chromium.org, mvstanton@chromium.org
Review URL: https://codereview.chromium.org/141653016
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18776 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-01-23 13:02:27 +00:00 |
|
hpayer@chromium.org
|
a92e87e100
|
Make the full object memory size of a page available for a single allocation.
BUG=
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/145493004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18774 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-01-23 12:13:20 +00:00 |
|
hpayer@chromium.org
|
1d8c83e7ab
|
Enable concurrent sweeping. Added some extra debugging checks for concurrent sweeping.
BUG=
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/138903009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18722 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-01-21 19:30:27 +00:00 |
|
jochen@chromium.org
|
6b1ae170b9
|
Move the management of the already swept pages to MarkCompactCollector
That way, MCC doesn't need to know about the state the threads are in to
steal free memory from them.
BUG=v8:3104
R=hpayer@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/143283002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18706 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2014-01-21 11:41:18 +00:00 |
|
mstarzinger@chromium.org
|
9f4591c368
|
Add ability to disable inline bump-pointer allocation.
R=ulan@chromium.org, yurys@chromium.org
TEST=cctest/test-heap/DisableInlineAllocation
Review URL: https://codereview.chromium.org/69953023
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17752 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2013-11-14 15:14:37 +00:00 |
|
mstarzinger@chromium.org
|
102950d7a3
|
Remove dead FixedSpace class from the spaces hierarchy.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/66003003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17667 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2013-11-12 16:36:14 +00:00 |
|
mstarzinger@chromium.org
|
d8e85bf0e0
|
Remove dead Space::ReserveSpace implementations.
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/67813009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17648 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2013-11-12 14:15:29 +00:00 |
|
mstarzinger@chromium.org
|
a6795ea92e
|
Move old-space allocation tracking into Heap::AllocateRaw.
R=yurys@chromium.org
Review URL: https://codereview.chromium.org/68663002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17625 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2013-11-11 17:46:08 +00:00 |
|
ulan@chromium.org
|
0fd7c2a78a
|
Add counters to track the maximum amount of memory committed by the heap.
BUG=None
R=bmeurer@chromium.org, ulan@chromium.org
Review URL: https://chromiumcodereview.appspot.com/29203003
Patch from Ross McIlroy <rmcilroy@chromium.org>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17478 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2013-11-05 11:59:42 +00:00 |
|
hpayer@chromium.org
|
f8a4bd7c4e
|
Make top and limit field in AllocationInfo private, assert on non-aligned setting of these fields, and eliminate indirect access over top address on top pointer.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/40083002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17391 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2013-10-25 09:58:21 +00:00 |
|
yurys@chromium.org
|
15db1d7c3a
|
Track JS allocations as they arrive with no affection on performance when tracking is switched off.
BUG=277984
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/22852024
Patch from Alexandra Mikhaylova <amikhaylova@google.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17191 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2013-10-14 12:41:28 +00:00 |
|
bmeurer@chromium.org
|
8dbd822855
|
Reland "Deuglify V8_INLINE and V8_NOINLINE."
R=dslomov@chromium.org
Review URL: https://codereview.chromium.org/23604054
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16669 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
|
2013-09-12 08:57:10 +00:00 |
|