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

Side by Side Diff: src/platform-freebsd.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 2006-2008 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 821 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 833
834 const int interval_; 834 const int interval_;
835 RuntimeProfilerRateLimiter rate_limiter_; 835 RuntimeProfilerRateLimiter rate_limiter_;
836 836
837 // Protects the process wide state below. 837 // Protects the process wide state below.
838 static Mutex* mutex_; 838 static Mutex* mutex_;
839 static SignalSender* instance_; 839 static SignalSender* instance_;
840 static bool signal_handler_installed_; 840 static bool signal_handler_installed_;
841 static struct sigaction old_signal_handler_; 841 static struct sigaction old_signal_handler_;
842 842
843 private:
843 DISALLOW_COPY_AND_ASSIGN(SignalSender); 844 DISALLOW_COPY_AND_ASSIGN(SignalSender);
844 }; 845 };
845 846
846 Mutex* SignalSender::mutex_ = OS::CreateMutex(); 847 Mutex* SignalSender::mutex_ = OS::CreateMutex();
847 SignalSender* SignalSender::instance_ = NULL; 848 SignalSender* SignalSender::instance_ = NULL;
848 struct sigaction SignalSender::old_signal_handler_; 849 struct sigaction SignalSender::old_signal_handler_;
849 bool SignalSender::signal_handler_installed_ = false; 850 bool SignalSender::signal_handler_installed_ = false;
850 851
851 852
852 Sampler::Sampler(Isolate* isolate, int interval) 853 Sampler::Sampler(Isolate* isolate, int interval)
(...skipping 20 matching lines...) Expand all
873 874
874 875
875 void Sampler::Stop() { 876 void Sampler::Stop() {
876 ASSERT(IsActive()); 877 ASSERT(IsActive());
877 SignalSender::RemoveActiveSampler(this); 878 SignalSender::RemoveActiveSampler(this);
878 SetActive(false); 879 SetActive(false);
879 } 880 }
880 881
881 882
882 } } // namespace v8::internal 883 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/platform-cygwin.cc ('k') | src/platform-linux.cc » ('j') | tools/presubmit.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698