Version 3.21.9

Deprecated Persistent functions which were marked to be deprecated.

Allowed uncacheable identifiers to go generic (issue 2867).

Performance and stability improvements on all platforms.

git-svn-id: http://v8.googlecode.com/svn/trunk@16502 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/sweeper-thread.h b/src/sweeper-thread.h
index a170982..c36cfc3 100644
--- a/src/sweeper-thread.h
+++ b/src/sweeper-thread.h
@@ -43,6 +43,7 @@
 class SweeperThread : public Thread {
  public:
   explicit SweeperThread(Isolate* isolate);
+  ~SweeperThread() {}
 
   void Run();
   void Stop();
@@ -50,19 +51,13 @@
   void WaitForSweeperThread();
   intptr_t StealMemory(PagedSpace* space);
 
-  ~SweeperThread() {
-    delete start_sweeping_semaphore_;
-    delete end_sweeping_semaphore_;
-    delete stop_semaphore_;
-  }
-
  private:
   Isolate* isolate_;
   Heap* heap_;
   MarkCompactCollector* collector_;
-  Semaphore* start_sweeping_semaphore_;
-  Semaphore* end_sweeping_semaphore_;
-  Semaphore* stop_semaphore_;
+  Semaphore start_sweeping_semaphore_;
+  Semaphore end_sweeping_semaphore_;
+  Semaphore stop_semaphore_;
   FreeList free_list_old_data_space_;
   FreeList free_list_old_pointer_space_;
   FreeList private_free_list_old_data_space_;