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

Side by Side Diff: src/platform-solaris.cc

Issue 9192010: Parallelize cpplint in presubmit and fix usage of DISALLOW_* macros. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 11 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 2011 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
11 // with the distribution. 11 // with the distribution.
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 752
753 const int interval_; 753 const int interval_;
754 RuntimeProfilerRateLimiter rate_limiter_; 754 RuntimeProfilerRateLimiter rate_limiter_;
755 755
756 // Protects the process wide state below. 756 // Protects the process wide state below.
757 static Mutex* mutex_; 757 static Mutex* mutex_;
758 static SignalSender* instance_; 758 static SignalSender* instance_;
759 static bool signal_handler_installed_; 759 static bool signal_handler_installed_;
760 static struct sigaction old_signal_handler_; 760 static struct sigaction old_signal_handler_;
761 761
762 private:
762 DISALLOW_COPY_AND_ASSIGN(SignalSender); 763 DISALLOW_COPY_AND_ASSIGN(SignalSender);
763 }; 764 };
764 765
765 Mutex* SignalSender::mutex_ = OS::CreateMutex(); 766 Mutex* SignalSender::mutex_ = OS::CreateMutex();
766 SignalSender* SignalSender::instance_ = NULL; 767 SignalSender* SignalSender::instance_ = NULL;
767 struct sigaction SignalSender::old_signal_handler_; 768 struct sigaction SignalSender::old_signal_handler_;
768 bool SignalSender::signal_handler_installed_ = false; 769 bool SignalSender::signal_handler_installed_ = false;
769 770
770 771
771 Sampler::Sampler(Isolate* isolate, int interval) 772 Sampler::Sampler(Isolate* isolate, int interval)
(...skipping 19 matching lines...) Expand all
791 } 792 }
792 793
793 794
794 void Sampler::Stop() { 795 void Sampler::Stop() {
795 ASSERT(IsActive()); 796 ASSERT(IsActive());
796 SignalSender::RemoveActiveSampler(this); 797 SignalSender::RemoveActiveSampler(this);
797 SetActive(false); 798 SetActive(false);
798 } 799 }
799 800
800 } } // namespace v8::internal 801 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/platform-openbsd.cc ('k') | src/platform-win32.cc » ('j') | tools/presubmit.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698