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

Unified Diff: src/optimizing-compiler-thread.h

Issue 27473006: Fix leak in optimizing compiler thread. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/optimizing-compiler-thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/optimizing-compiler-thread.h
diff --git a/src/optimizing-compiler-thread.h b/src/optimizing-compiler-thread.h
index a9e108c5cb18ee3df8e5e8c71622c4cefa85d1a5..8e36f5c195a6213fc1df0c7ec417b7d2a54b5d47 100644
--- a/src/optimizing-compiler-thread.h
+++ b/src/optimizing-compiler-thread.h
@@ -68,15 +68,7 @@ class OptimizingCompilerThread : public Thread {
for (int i = 0; i < osr_buffer_capacity_; i++) osr_buffer_[i] = NULL;
}
- ~OptimizingCompilerThread() {
- ASSERT_EQ(0, input_queue_length_);
-#ifdef DEBUG
- for (int i = 0; i < osr_buffer_capacity_; i++) {
- CHECK_EQ(NULL, osr_buffer_[i]);
- }
-#endif
- DeleteArray(osr_buffer_);
- }
+ ~OptimizingCompilerThread();
void Run();
void Stop();
« no previous file with comments | « no previous file | src/optimizing-compiler-thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698