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

Side by Side Diff: src/heap.cc

Issue 14265024: Fix test/build failures (win64 compile warning, isolate test parallel compilation failure, gcmole i… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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/bootstrapper.cc ('k') | src/hydrogen.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 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 mark_sweeps_since_idle_round_started_(0), 156 mark_sweeps_since_idle_round_started_(0),
157 ms_count_at_last_idle_notification_(0), 157 ms_count_at_last_idle_notification_(0),
158 gc_count_at_last_idle_gc_(0), 158 gc_count_at_last_idle_gc_(0),
159 scavenges_since_last_idle_round_(kIdleScavengeThreshold), 159 scavenges_since_last_idle_round_(kIdleScavengeThreshold),
160 gcs_since_last_deopt_(0), 160 gcs_since_last_deopt_(0),
161 #ifdef VERIFY_HEAP 161 #ifdef VERIFY_HEAP
162 no_weak_embedded_maps_verification_scope_depth_(0), 162 no_weak_embedded_maps_verification_scope_depth_(0),
163 #endif 163 #endif
164 promotion_queue_(this), 164 promotion_queue_(this),
165 configured_(false), 165 configured_(false),
166 chunks_queued_for_free_(NULL) { 166 chunks_queued_for_free_(NULL),
167 relocation_mutex_(NULL) {
167 // Allow build-time customization of the max semispace size. Building 168 // Allow build-time customization of the max semispace size. Building
168 // V8 with snapshots and a non-default max semispace size is much 169 // V8 with snapshots and a non-default max semispace size is much
169 // easier if you can define it as part of the build environment. 170 // easier if you can define it as part of the build environment.
170 #if defined(V8_MAX_SEMISPACE_SIZE) 171 #if defined(V8_MAX_SEMISPACE_SIZE)
171 max_semispace_size_ = reserved_semispace_size_ = V8_MAX_SEMISPACE_SIZE; 172 max_semispace_size_ = reserved_semispace_size_ = V8_MAX_SEMISPACE_SIZE;
172 #endif 173 #endif
173 174
174 intptr_t max_virtual = OS::MaxVirtualMemory(); 175 intptr_t max_virtual = OS::MaxVirtualMemory();
175 176
176 if (max_virtual > 0) { 177 if (max_virtual > 0) {
(...skipping 7703 matching lines...) Expand 10 before | Expand all | Expand 10 after
7880 if (FLAG_parallel_recompilation) { 7881 if (FLAG_parallel_recompilation) {
7881 heap_->relocation_mutex_->Lock(); 7882 heap_->relocation_mutex_->Lock();
7882 #ifdef DEBUG 7883 #ifdef DEBUG
7883 heap_->relocation_mutex_locked_by_optimizer_thread_ = 7884 heap_->relocation_mutex_locked_by_optimizer_thread_ =
7884 heap_->isolate()->optimizing_compiler_thread()->IsOptimizerThread(); 7885 heap_->isolate()->optimizing_compiler_thread()->IsOptimizerThread();
7885 #endif // DEBUG 7886 #endif // DEBUG
7886 } 7887 }
7887 } 7888 }
7888 7889
7889 } } // namespace v8::internal 7890 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698