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

Side by Side Diff: src/heap.cc

Issue 2658008: Remove the SetExternalStringDiposeCallback API... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 6 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/heap.h ('k') | src/heap-inl.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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 int Heap::max_old_generation_size_ = 512*MB; 91 int Heap::max_old_generation_size_ = 512*MB;
92 int Heap::initial_semispace_size_ = 512*KB; 92 int Heap::initial_semispace_size_ = 512*KB;
93 size_t Heap::code_range_size_ = 0; 93 size_t Heap::code_range_size_ = 0;
94 #endif 94 #endif
95 95
96 // The snapshot semispace size will be the default semispace size if 96 // The snapshot semispace size will be the default semispace size if
97 // snapshotting is used and will be the requested semispace size as 97 // snapshotting is used and will be the requested semispace size as
98 // set up by ConfigureHeap otherwise. 98 // set up by ConfigureHeap otherwise.
99 int Heap::reserved_semispace_size_ = Heap::max_semispace_size_; 99 int Heap::reserved_semispace_size_ = Heap::max_semispace_size_;
100 100
101 ExternalStringDiposeCallback Heap::external_string_dispose_callback_ = NULL;
102
103 List<Heap::GCPrologueCallbackPair> Heap::gc_prologue_callbacks_; 101 List<Heap::GCPrologueCallbackPair> Heap::gc_prologue_callbacks_;
104 List<Heap::GCEpilogueCallbackPair> Heap::gc_epilogue_callbacks_; 102 List<Heap::GCEpilogueCallbackPair> Heap::gc_epilogue_callbacks_;
105 103
106 GCCallback Heap::global_gc_prologue_callback_ = NULL; 104 GCCallback Heap::global_gc_prologue_callback_ = NULL;
107 GCCallback Heap::global_gc_epilogue_callback_ = NULL; 105 GCCallback Heap::global_gc_epilogue_callback_ = NULL;
108 106
109 // Variables set based on semispace_size_ and old_generation_size_ in 107 // Variables set based on semispace_size_ and old_generation_size_ in
110 // ConfigureHeap. 108 // ConfigureHeap.
111 109
112 // Will be 4 * reserved_semispace_size_ to ensure that young 110 // Will be 4 * reserved_semispace_size_ to ensure that young
(...skipping 4543 matching lines...) Expand 10 before | Expand all | Expand 10 after
4656 void ExternalStringTable::TearDown() { 4654 void ExternalStringTable::TearDown() {
4657 new_space_strings_.Free(); 4655 new_space_strings_.Free();
4658 old_space_strings_.Free(); 4656 old_space_strings_.Free();
4659 } 4657 }
4660 4658
4661 4659
4662 List<Object*> ExternalStringTable::new_space_strings_; 4660 List<Object*> ExternalStringTable::new_space_strings_;
4663 List<Object*> ExternalStringTable::old_space_strings_; 4661 List<Object*> ExternalStringTable::old_space_strings_;
4664 4662
4665 } } // namespace v8::internal 4663 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/heap.h ('k') | src/heap-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698