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

Side by Side Diff: src/v8.cc

Issue 14057003: Remove profiler thread related methods from RuntimeProfiler (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Removed unused static fields 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/runtime-profiler.cc ('k') | no next file » | 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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 FLAG_gc_global = true; 268 FLAG_gc_global = true;
269 FLAG_max_new_space_size = (1 << (kPageSizeBits - 10)) * 2; 269 FLAG_max_new_space_size = (1 << (kPageSizeBits - 10)) * 2;
270 } 270 }
271 if (FLAG_trace_hydrogen) FLAG_parallel_recompilation = false; 271 if (FLAG_trace_hydrogen) FLAG_parallel_recompilation = false;
272 OS::SetUp(); 272 OS::SetUp();
273 CPU::SetUp(); 273 CPU::SetUp();
274 use_crankshaft_ = FLAG_crankshaft 274 use_crankshaft_ = FLAG_crankshaft
275 && !Serializer::enabled() 275 && !Serializer::enabled()
276 && CPU::SupportsCrankshaft(); 276 && CPU::SupportsCrankshaft();
277 OS::PostSetUp(); 277 OS::PostSetUp();
278 RuntimeProfiler::GlobalSetUp();
279 ElementsAccessor::InitializeOncePerProcess(); 278 ElementsAccessor::InitializeOncePerProcess();
280 LOperand::SetUpCaches(); 279 LOperand::SetUpCaches();
281 SetUpJSCallerSavedCodeData(); 280 SetUpJSCallerSavedCodeData();
282 SamplerRegistry::SetUp(); 281 SamplerRegistry::SetUp();
283 ExternalReference::SetUp(); 282 ExternalReference::SetUp();
284 } 283 }
285 284
286 void V8::InitializeOncePerProcess() { 285 void V8::InitializeOncePerProcess() {
287 CallOnce(&init_once, &InitializeOncePerProcessImpl); 286 CallOnce(&init_once, &InitializeOncePerProcessImpl);
288 } 287 }
289 288
290 } } // namespace v8::internal 289 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/runtime-profiler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698