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

Side by Side Diff: src/heap.h

Issue 12221064: Implement many KeyedStoreStubs using Crankshaft (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Final review feedback Created 7 years, 9 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/flag-definitions.h ('k') | src/hydrogen.h » ('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 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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 // we reserve twice the amount needed for those in order to ensure 513 // we reserve twice the amount needed for those in order to ensure
514 // that new space can be aligned to its size. 514 // that new space can be aligned to its size.
515 intptr_t MaxReserved() { 515 intptr_t MaxReserved() {
516 return 4 * reserved_semispace_size_ + max_old_generation_size_; 516 return 4 * reserved_semispace_size_ + max_old_generation_size_;
517 } 517 }
518 int MaxSemiSpaceSize() { return max_semispace_size_; } 518 int MaxSemiSpaceSize() { return max_semispace_size_; }
519 int ReservedSemiSpaceSize() { return reserved_semispace_size_; } 519 int ReservedSemiSpaceSize() { return reserved_semispace_size_; }
520 int InitialSemiSpaceSize() { return initial_semispace_size_; } 520 int InitialSemiSpaceSize() { return initial_semispace_size_; }
521 intptr_t MaxOldGenerationSize() { return max_old_generation_size_; } 521 intptr_t MaxOldGenerationSize() { return max_old_generation_size_; }
522 intptr_t MaxExecutableSize() { return max_executable_size_; } 522 intptr_t MaxExecutableSize() { return max_executable_size_; }
523 int MaxNewSpaceAllocationSize() { return InitialSemiSpaceSize() * 3/4; }
523 524
524 // Returns the capacity of the heap in bytes w/o growing. Heap grows when 525 // Returns the capacity of the heap in bytes w/o growing. Heap grows when
525 // more spaces are needed until it reaches the limit. 526 // more spaces are needed until it reaches the limit.
526 intptr_t Capacity(); 527 intptr_t Capacity();
527 528
528 // Returns the amount of memory currently committed for the heap. 529 // Returns the amount of memory currently committed for the heap.
529 intptr_t CommittedMemory(); 530 intptr_t CommittedMemory();
530 531
531 // Returns the amount of executable memory currently committed for the heap. 532 // Returns the amount of executable memory currently committed for the heap.
532 intptr_t CommittedMemoryExecutable(); 533 intptr_t CommittedMemoryExecutable();
(...skipping 2493 matching lines...) Expand 10 before | Expand all | Expand 10 after
3026 AssertNoAllocation no_alloc; // i.e. no gc allowed. 3027 AssertNoAllocation no_alloc; // i.e. no gc allowed.
3027 3028
3028 private: 3029 private:
3029 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 3030 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
3030 }; 3031 };
3031 #endif // DEBUG 3032 #endif // DEBUG
3032 3033
3033 } } // namespace v8::internal 3034 } } // namespace v8::internal
3034 3035
3035 #endif // V8_HEAP_H_ 3036 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698