Index: src/profile-generator.h |
diff --git a/src/profile-generator.h b/src/profile-generator.h |
index 5611b6fa4ed3bf05f6937e3012a2f6781dab7796..c6d6f4cbc63fdd8d2cffb4b4b8bcb61302d22015 100644 |
--- a/src/profile-generator.h |
+++ b/src/profile-generator.h |
@@ -299,6 +299,9 @@ class CpuProfilesCollection { |
// Called from profile generator thread. |
void AddPathToCurrentProfiles(const Vector<CodeEntry*>& path); |
+ // Limits the number of profiles that can be simultaneously collected. |
+ static const int kMaxSimultaneousProfiles = 100; |
+ |
private: |
const char* GetName(int args_count); |
const char* GetFunctionName(String* name) { |