| Index: third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/heap/HeapTest.cpp b/third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| index 33fc012fda391c2e0a6e07dd9b81f442c57162f0..69bd7ef9b8ed7af7e59e385809d0d703b6f8811f 100644
|
| --- a/third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| @@ -520,7 +520,7 @@
|
| void runThread() override
|
| {
|
| OwnPtr<GlobalIntWrapperPersistent> longLivingPersistent;
|
| - ThreadState::attachCurrentThread(false);
|
| + ThreadState::attachCurrentThread();
|
|
|
| longLivingPersistent = createGlobalPersistent(0x2a2a2a2a);
|
| int gcCount = 0;
|
| @@ -579,7 +579,7 @@
|
| private:
|
| void runThread() override
|
| {
|
| - ThreadState::attachCurrentThread(false);
|
| + ThreadState::attachCurrentThread();
|
|
|
| int gcCount = 0;
|
| while (!done()) {
|
| @@ -673,7 +673,7 @@
|
|
|
| void runThread() override
|
| {
|
| - ThreadState::attachCurrentThread(false);
|
| + ThreadState::attachCurrentThread();
|
|
|
| PersistentChain::create(100);
|
|
|
| @@ -4730,7 +4730,7 @@
|
| private:
|
| static void sleeperMainFunc()
|
| {
|
| - ThreadState::attachCurrentThread(false);
|
| + ThreadState::attachCurrentThread();
|
| s_sleeperRunning = true;
|
|
|
| // Simulate a long running op that is not entering a safepoint.
|
| @@ -5415,7 +5415,7 @@
|
| {
|
| MutexLocker locker(workerThreadMutex());
|
|
|
| - ThreadState::attachCurrentThread(false);
|
| + ThreadState::attachCurrentThread();
|
|
|
| {
|
| // Create a worker object that is not kept alive except the
|
| @@ -5536,7 +5536,7 @@
|
| {
|
| MutexLocker locker(workerThreadMutex());
|
|
|
| - ThreadState::attachCurrentThread(false);
|
| + ThreadState::attachCurrentThread();
|
|
|
| {
|
| Persistent<WeakCollectionType> collection = allocateCollection();
|
| @@ -5697,7 +5697,7 @@
|
| static void workerThreadMain()
|
| {
|
| MutexLocker locker(workerThreadMutex());
|
| - ThreadState::attachCurrentThread(false);
|
| + ThreadState::attachCurrentThread();
|
|
|
| DestructorLockingObject* dlo = DestructorLockingObject::create();
|
| ASSERT_UNUSED(dlo, dlo);
|
| @@ -6384,7 +6384,7 @@
|
| {
|
| // Step 2: Create an object and store the pointer.
|
| MutexLocker locker(workerThreadMutex());
|
| - ThreadState::attachCurrentThread(false);
|
| + ThreadState::attachCurrentThread();
|
| *object = DestructorLockingObject::create();
|
| wakeMainThread();
|
| parkWorkerThread();
|
| @@ -6508,7 +6508,7 @@
|
| private:
|
| void runThread() override
|
| {
|
| - ThreadState::attachCurrentThread(false);
|
| + ThreadState::attachCurrentThread();
|
| EXPECT_EQ(42, threadSpecificIntWrapper().value());
|
| ThreadState::detachCurrentThread();
|
| atomicDecrement(&m_threadsToFinish);
|
|
|