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

Side by Side Diff: src/heap.h

Issue 243087: Recommit coderanges putting code objects within a 2 GB range, reserving only ... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 2 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 | « no previous file | src/heap.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 kRootListLength 882 kRootListLength
883 }; 883 };
884 884
885 static Object* NumberToString(Object* number); 885 static Object* NumberToString(Object* number);
886 886
887 private: 887 private:
888 static int semispace_size_; 888 static int semispace_size_;
889 static int initial_semispace_size_; 889 static int initial_semispace_size_;
890 static int young_generation_size_; 890 static int young_generation_size_;
891 static int old_generation_size_; 891 static int old_generation_size_;
892 static size_t code_range_size_;
892 893
893 // For keeping track of how much data has survived 894 // For keeping track of how much data has survived
894 // scavenge since last new space expansion. 895 // scavenge since last new space expansion.
895 static int survived_since_last_expansion_; 896 static int survived_since_last_expansion_;
896 897
897 static int always_allocate_scope_depth_; 898 static int always_allocate_scope_depth_;
898 static bool context_disposed_pending_; 899 static bool context_disposed_pending_;
899 900
900 static const int kMaxMapSpaceSize = 8*MB; 901 static const int kMaxMapSpaceSize = 8*MB;
901 902
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
1591 } 1592 }
1592 static TranscendentalCache* caches_[kNumberOfCaches]; 1593 static TranscendentalCache* caches_[kNumberOfCaches];
1593 Element elements_[kCacheSize]; 1594 Element elements_[kCacheSize];
1594 Type type_; 1595 Type type_;
1595 }; 1596 };
1596 1597
1597 1598
1598 } } // namespace v8::internal 1599 } } // namespace v8::internal
1599 1600
1600 #endif // V8_HEAP_H_ 1601 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698