Zachary Anderson
103881d01c
Make header include guards great again
...
i.e. #ifndef VM_WHATEVER -> #ifndef RUNTIME_VM_WHATEVER
This lets us remove a hack from the PRESUBMIT.py script that existed
for reasons that are no longer valid, and sets us up to add some
presubmit checks for the GN build.
R=asiva@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2450713004 .
2016-10-26 00:26:03 -07:00
koda@google.com
0311c0eac9
Revert "Eliminate fake-Isolate workaround from concurrent sweeper."
...
The ARM simulator still needs a current isolate for its atomics.
TBR=iposva@google.com
Review URL: https://codereview.chromium.org//1027243003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44637 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-23 17:17:41 +00:00
koda@google.com
b7e1dcac19
Eliminate fake-Isolate workaround from concurrent sweeper.
...
Add RawObject::Size(ClassTable*) to avoid remaning calls to Isolate::Current.
R=iposva@google.com
Review URL: https://codereview.chromium.org//1024063003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44611 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-20 20:37:38 +00:00
iposva@google.com
1cae9b9c40
- Fine grain locking of free list when sweeping concurrently.
...
Review URL: https://codereview.chromium.org//649743002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41049 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-10 19:44:41 +00:00
koda@google.com
e1e6e676ff
Lazy walkability of old-space bump allocation block.
...
Do not write a freelist-element header into remainder on every allocation.
Add ExclusivePageIterator that locks and ensures walkability, and reduces code duplication.
R=iposva@google.com
Review URL: https://codereview.chromium.org//571133002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40505 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 17:25:13 +00:00
iposva@google.com
2ee3263277
- Add and enable concurrent sweeper.
...
- Keep separate lists for normal sized executable and data pages.
R=koda@google.com
Review URL: https://codereview.chromium.org//503363005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39593 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-27 13:37:55 +00:00
iposva@google.com
9cc85d0ca2
- Address code review comment from https://codereview.chromium.org/488943002/
...
Review URL: https://codereview.chromium.org//468913011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39406 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-20 14:11:00 +00:00
koda@google.com
6c4eff32c9
If a large object is truncated, also truncate the page.
...
If GC sweeper finds a truncated large object, the page is shrunk to fit.
Allows reclaiming memory when a large string is externalized.
R=iposva@google.com
Review URL: https://codereview.chromium.org//355123002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37842 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-30 22:59:07 +00:00
iposva@google.com
69fcc15576
- Account for live size in marker.
...
R=koda@google.com
Review URL: https://codereview.chromium.org//253493002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35413 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-24 23:20:48 +00:00
iposva@google.com
5e1e9534db
- Implement the old sweeper.
...
Review URL: http://codereview.chromium.org//8898034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2485 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 22:37:35 +00:00