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

Side by Side Diff: src/top.h

Issue 2715004: [Isolates]... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: Address comments/make StackGuard::ThreadLocal::Initialize/Clear side-effects visible 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
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 private: 370 private:
371 // The context that initiated this JS execution. 371 // The context that initiated this JS execution.
372 static ThreadLocalTop thread_local_; 372 static ThreadLocalTop thread_local_;
373 static void InitializeThreadLocal(); 373 static void InitializeThreadLocal();
374 static void PrintStackTrace(FILE* out, ThreadLocalTop* thread); 374 static void PrintStackTrace(FILE* out, ThreadLocalTop* thread);
375 static void MarkCompactPrologue(bool is_compacting, 375 static void MarkCompactPrologue(bool is_compacting,
376 ThreadLocalTop* archived_thread_data); 376 ThreadLocalTop* archived_thread_data);
377 static void MarkCompactEpilogue(bool is_compacting, 377 static void MarkCompactEpilogue(bool is_compacting,
378 ThreadLocalTop* archived_thread_data); 378 ThreadLocalTop* archived_thread_data);
379 379
380 // Debug.
381 // Mutex for serializing access to break control structures.
382 static Mutex* break_access_;
383
384 friend class SaveContext; 380 friend class SaveContext;
385 friend class AssertNoContextChange; 381 friend class AssertNoContextChange;
386 friend class ExecutionAccess; 382 friend class ExecutionAccess;
387 383
388 static void FillCache(); 384 static void FillCache();
389 }; 385 };
390 386
391 387
392 // If the GCC version is 4.1.x or 4.2.x an additional field is added to the 388 // If the GCC version is 4.1.x or 4.2.x an additional field is added to the
393 // class as a work around for a bug in the generated code found with these 389 // class as a work around for a bug in the generated code found with these
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 449
454 class ExecutionAccess BASE_EMBEDDED { 450 class ExecutionAccess BASE_EMBEDDED {
455 public: 451 public:
456 ExecutionAccess(); 452 ExecutionAccess();
457 ~ExecutionAccess(); 453 ~ExecutionAccess();
458 }; 454 };
459 455
460 } } // namespace v8::internal 456 } } // namespace v8::internal
461 457
462 #endif // V8_TOP_H_ 458 #endif // V8_TOP_H_
OLDNEW
« src/execution.cc ('K') | « src/runtime.cc ('k') | src/top.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698