Index: test/cctest/test-threads.cc |
diff --git a/test/cctest/test-threads.cc b/test/cctest/test-threads.cc |
index 4709961636f0995e25c2a57c22ded4ccfddf93d0..c43c420d0e6dcce1cbb42daf0d9d861a490eac25 100644 |
--- a/test/cctest/test-threads.cc |
+++ b/test/cctest/test-threads.cc |
@@ -33,28 +33,6 @@ |
#include "cctest.h" |
-TEST(Preemption) { |
- v8::Isolate* isolate = CcTest::isolate(); |
- v8::Locker locker(isolate); |
- v8::V8::Initialize(); |
- v8::HandleScope scope(isolate); |
- v8::Handle<v8::Context> context = v8::Context::New(isolate); |
- v8::Context::Scope context_scope(context); |
- |
- v8::Locker::StartPreemption(isolate, 100); |
- |
- v8::Handle<v8::Script> script = v8::Script::Compile( |
- v8::String::New("var count = 0; var obj = new Object(); count++;\n")); |
- |
- script->Run(); |
- |
- v8::Locker::StopPreemption(isolate); |
- v8::internal::OS::Sleep(500); // Make sure the timer fires. |
- |
- script->Run(); |
-} |
- |
- |
enum Turn { |
FILL_CACHE, |
CLEAN_CACHE, |