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

Side by Side Diff: src/objects.h

Issue 6903154: Revert "This implements per-isolate locking and unlocking, including tests" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 7 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
« no previous file with comments | « src/isolate.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 5906 matching lines...) Expand 10 before | Expand all | Expand 10 after
5917 // iterating or updating after gc. 5917 // iterating or updating after gc.
5918 class Relocatable BASE_EMBEDDED { 5918 class Relocatable BASE_EMBEDDED {
5919 public: 5919 public:
5920 explicit inline Relocatable(Isolate* isolate); 5920 explicit inline Relocatable(Isolate* isolate);
5921 inline virtual ~Relocatable(); 5921 inline virtual ~Relocatable();
5922 virtual void IterateInstance(ObjectVisitor* v) { } 5922 virtual void IterateInstance(ObjectVisitor* v) { }
5923 virtual void PostGarbageCollection() { } 5923 virtual void PostGarbageCollection() { }
5924 5924
5925 static void PostGarbageCollectionProcessing(); 5925 static void PostGarbageCollectionProcessing();
5926 static int ArchiveSpacePerThread(); 5926 static int ArchiveSpacePerThread();
5927 static char* ArchiveState(Isolate* isolate, char* to); 5927 static char* ArchiveState(char* to);
5928 static char* RestoreState(Isolate* isolate, char* from); 5928 static char* RestoreState(char* from);
5929 static void Iterate(ObjectVisitor* v); 5929 static void Iterate(ObjectVisitor* v);
5930 static void Iterate(ObjectVisitor* v, Relocatable* top); 5930 static void Iterate(ObjectVisitor* v, Relocatable* top);
5931 static char* Iterate(ObjectVisitor* v, char* t); 5931 static char* Iterate(ObjectVisitor* v, char* t);
5932 private: 5932 private:
5933 Isolate* isolate_; 5933 Isolate* isolate_;
5934 Relocatable* prev_; 5934 Relocatable* prev_;
5935 }; 5935 };
5936 5936
5937 5937
5938 // A flat string reader provides random access to the contents of a 5938 // A flat string reader provides random access to the contents of a
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
6714 } else { 6714 } else {
6715 value &= ~(1 << bit_position); 6715 value &= ~(1 << bit_position);
6716 } 6716 }
6717 return value; 6717 return value;
6718 } 6718 }
6719 }; 6719 };
6720 6720
6721 } } // namespace v8::internal 6721 } } // namespace v8::internal
6722 6722
6723 #endif // V8_OBJECTS_H_ 6723 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698