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

Side by Side Diff: src/heap.h

Issue 244022: Allocate all executable code within a 2 GB code range. (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 869 matching lines...) Expand 10 before | Expand all | Expand 10 after
880 kSymbolTableRootIndex, 880 kSymbolTableRootIndex,
881 kStrongRootListLength = kSymbolTableRootIndex, 881 kStrongRootListLength = kSymbolTableRootIndex,
882 kRootListLength 882 kRootListLength
883 }; 883 };
884 884
885 private: 885 private:
886 static int semispace_size_; 886 static int semispace_size_;
887 static int initial_semispace_size_; 887 static int initial_semispace_size_;
888 static int young_generation_size_; 888 static int young_generation_size_;
889 static int old_generation_size_; 889 static int old_generation_size_;
890 static size_t code_range_size_;
890 891
891 // For keeping track of how much data has survived 892 // For keeping track of how much data has survived
892 // scavenge since last new space expansion. 893 // scavenge since last new space expansion.
893 static int survived_since_last_expansion_; 894 static int survived_since_last_expansion_;
894 895
895 static int always_allocate_scope_depth_; 896 static int always_allocate_scope_depth_;
896 static bool context_disposed_pending_; 897 static bool context_disposed_pending_;
897 898
898 static const int kMaxMapSpaceSize = 8*MB; 899 static const int kMaxMapSpaceSize = 8*MB;
899 900
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
1589 } 1590 }
1590 static TranscendentalCache* caches_[kNumberOfCaches]; 1591 static TranscendentalCache* caches_[kNumberOfCaches];
1591 Element elements_[kCacheSize]; 1592 Element elements_[kCacheSize];
1592 Type type_; 1593 Type type_;
1593 }; 1594 };
1594 1595
1595 1596
1596 } } // namespace v8::internal 1597 } } // namespace v8::internal
1597 1598
1598 #endif // V8_HEAP_H_ 1599 #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