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

Side by Side Diff: src/log.h

Issue 177493002: Introduce SynchronizedScope to allow heap access from compiler thread. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 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
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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 } 324 }
325 325
326 ~TimerEventScope() { 326 ~TimerEventScope() {
327 if (FLAG_log_internal_timer_events) LogTimerEvent(END); 327 if (FLAG_log_internal_timer_events) LogTimerEvent(END);
328 } 328 }
329 329
330 void LogTimerEvent(StartEnd se); 330 void LogTimerEvent(StartEnd se);
331 331
332 static const char* v8_recompile_synchronous; 332 static const char* v8_recompile_synchronous;
333 static const char* v8_recompile_concurrent; 333 static const char* v8_recompile_concurrent;
334 static const char* v8_recompile_synchronized;
334 static const char* v8_compile_full_code; 335 static const char* v8_compile_full_code;
335 static const char* v8_execute; 336 static const char* v8_execute;
336 static const char* v8_external; 337 static const char* v8_external;
337 338
338 private: 339 private:
339 Isolate* isolate_; 340 Isolate* isolate_;
340 const char* name_; 341 const char* name_;
341 }; 342 };
342 343
343 // ==== Events logged by --log-regexp ==== 344 // ==== Events logged by --log-regexp ====
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 int length) = 0; 538 int length) = 0;
538 539
539 NameBuffer* name_buffer_; 540 NameBuffer* name_buffer_;
540 }; 541 };
541 542
542 543
543 } } // namespace v8::internal 544 } } // namespace v8::internal
544 545
545 546
546 #endif // V8_LOG_H_ 547 #endif // V8_LOG_H_
OLDNEW
« no previous file with comments | « src/execution.cc ('k') | src/log.cc » ('j') | src/optimizing-compiler-thread.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698