Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1482)

Side by Side Diff: src/objects.h

Issue 227533006: Synchronize store buffer processing and concurrent sweeping. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 4789 matching lines...) Expand 10 before | Expand all | Expand 10 after
4800 4800
4801 4801
4802 // FreeSpace represents fixed sized areas of the heap that are not currently in 4802 // FreeSpace represents fixed sized areas of the heap that are not currently in
4803 // use. Used by the heap and GC. 4803 // use. Used by the heap and GC.
4804 class FreeSpace: public HeapObject { 4804 class FreeSpace: public HeapObject {
4805 public: 4805 public:
4806 // [size]: size of the free space including the header. 4806 // [size]: size of the free space including the header.
4807 inline int size(); 4807 inline int size();
4808 inline void set_size(int value); 4808 inline void set_size(int value);
4809 4809
4810 inline int synchronized_size();
4811 inline void synchronized_set_size(int value);
4812
4810 inline int Size() { return size(); } 4813 inline int Size() { return size(); }
4811 4814
4812 // Casting. 4815 // Casting.
4813 static inline FreeSpace* cast(Object* obj); 4816 static inline FreeSpace* cast(Object* obj);
4814 4817
4815 // Dispatched behavior. 4818 // Dispatched behavior.
4816 DECLARE_PRINTER(FreeSpace) 4819 DECLARE_PRINTER(FreeSpace)
4817 DECLARE_VERIFIER(FreeSpace) 4820 DECLARE_VERIFIER(FreeSpace)
4818 4821
4819 // Layout description. 4822 // Layout description.
(...skipping 6170 matching lines...) Expand 10 before | Expand all | Expand 10 after
10990 } else { 10993 } else {
10991 value &= ~(1 << bit_position); 10994 value &= ~(1 << bit_position);
10992 } 10995 }
10993 return value; 10996 return value;
10994 } 10997 }
10995 }; 10998 };
10996 10999
10997 } } // namespace v8::internal 11000 } } // namespace v8::internal
10998 11001
10999 #endif // V8_OBJECTS_H_ 11002 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mark-compact.cc ('k') | src/objects-inl.h » ('j') | src/spaces.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698