Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Computing directory structure... takes a long time #124

Closed
praveen-srinivasan opened this issue Aug 17, 2017 · 4 comments
Closed

Computing directory structure... takes a long time #124

praveen-srinivasan opened this issue Aug 17, 2017 · 4 comments

Comments

@praveen-srinivasan
Copy link

Hi,
I'm trying to import a large bazel project and CLion says it is "Computing directory structure..." for a long time (it hasn't finished yet). Is there something I can do to speed that up?

@brendandouglas
Copy link
Contributor

That's not something we've seen before -- do the .bazelproject directories entries contain an unusually large number of subdirectories?

Can you attach a jstack showing what CLion is doing?

@praveen-srinivasan
Copy link
Author

Here's a jstack output:

2017-08-20 18:34:24
Full thread dump OpenJDK 64-Bit Server VM (25.152-b6 mixed mode):

"Attach Listener" #121 daemon prio=9 os_prio=0 tid=0x00007f83d8001000 nid=0x406 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

Locked ownable synchronizers:
- None

"FetchExecutor-0" #120 daemon prio=5 os_prio=0 tid=0x00007f8328124800 nid=0x7bbc runnable [0x00007f835a7f0000]
java.lang.Thread.State: RUNNABLE
at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:242)
at java.io.File.isDirectory(File.java:849)
at com.google.idea.blaze.base.io.FileAttributeProvider.isDirectory(FileAttributeProvider.java:34)
at com.google.idea.blaze.base.sync.projectstructure.DirectoryStructure.walkDirectoryStructure(DirectoryStructure.java:70)
at com.google.idea.blaze.base.sync.projectstructure.DirectoryStructure.walkDirectoryStructure(DirectoryStructure.java:84)
at com.google.idea.blaze.base.sync.projectstructure.DirectoryStructure.walkDirectoryStructure(DirectoryStructure.java:84)
at com.google.idea.blaze.base.sync.projectstructure.DirectoryStructure.walkDirectoryStructure(DirectoryStructure.java:84)
at com.google.idea.blaze.base.sync.projectstructure.DirectoryStructure.walkDirectoryStructure(DirectoryStructure.java:84)
at com.google.idea.blaze.base.sync.projectstructure.DirectoryStructure.walkDirectoryStructure(DirectoryStructure.java:84)
at com.google.idea.blaze.base.sync.projectstructure.DirectoryStructure.walkDirectoryStructure(DirectoryStructure.java:84)
at com.google.idea.blaze.base.sync.projectstructure.DirectoryStructure.walkDirectoryStructure(DirectoryStructure.java:84)
at com.google.idea.blaze.base.sync.projectstructure.DirectoryStructure.walkDirectoryStructure(DirectoryStructure.java:84)
at com.google.idea.blaze.base.sync.projectstructure.DirectoryStructure.walkDirectoryStructure(DirectoryStructure.java:84)
at com.google.idea.blaze.base.sync.projectstructure.DirectoryStructure.walkDirectoryStructure(DirectoryStructure.java:84)
at com.google.idea.blaze.base.sync.projectstructure.DirectoryStructure.computeRootDirectoryStructure(DirectoryStructure.java:60)
at com.google.idea.blaze.base.sync.projectstructure.DirectoryStructure.lambda$getRootDirectoryStructure$0(DirectoryStructure.java:48)
at com.google.idea.blaze.base.sync.projectstructure.DirectoryStructure$$Lambda$1323/1948224337.call(Unknown Source)
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:111)
at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:58)
at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:75)
at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:212)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- <0x000000008f3d5e30> (a java.util.concurrent.ThreadPoolExecutor$Worker)

"BlazeExecutorImpl-15" #109 daemon prio=5 os_prio=0 tid=0x00007f8328116800 nid=0x2d0a waiting on condition [0x00007f8330f0c000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000009583f178> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"BlazeExecutorImpl-14" #108 daemon prio=5 os_prio=0 tid=0x00007f8328115800 nid=0x2d09 waiting on condition [0x00007f8398555000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000009583f178> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"BlazeExecutorImpl-13" #107 daemon prio=5 os_prio=0 tid=0x00007f8328114000 nid=0x2d08 waiting on condition [0x00007f8332310000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000009583f178> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"BlazeExecutorImpl-12" #106 daemon prio=5 os_prio=0 tid=0x00007f8328113000 nid=0x2d07 waiting on condition [0x00007f8358dee000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000009583f178> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"BlazeExecutorImpl-11" #105 daemon prio=5 os_prio=0 tid=0x00007f8328111800 nid=0x2d06 waiting on condition [0x00007f8398354000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000009583f178> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"BlazeExecutorImpl-10" #104 daemon prio=5 os_prio=0 tid=0x00007f8328110000 nid=0x2d05 waiting on condition [0x00007f839b1f4000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000009583f178> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"BlazeExecutorImpl-9" #103 daemon prio=5 os_prio=0 tid=0x00007f832810f000 nid=0x2d04 waiting on condition [0x00007f8398ba3000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000009583f178> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"BlazeExecutorImpl-8" #102 daemon prio=5 os_prio=0 tid=0x00007f832810e000 nid=0x2d03 waiting on condition [0x00007f83587ed000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000009583f178> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"BlazeExecutorImpl-7" #101 daemon prio=5 os_prio=0 tid=0x00007f832810d000 nid=0x2d02 waiting on condition [0x00007f8359df0000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000009583f178> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"BlazeExecutorImpl-6" #100 daemon prio=5 os_prio=0 tid=0x00007f832810c000 nid=0x2d01 waiting on condition [0x00007f8332511000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000009583f178> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"BlazeExecutorImpl-5" #99 daemon prio=5 os_prio=0 tid=0x00007f832810a800 nid=0x2d00 waiting on condition [0x00007f8332712000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000009583f178> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"BlazeExecutorImpl-4" #98 daemon prio=5 os_prio=0 tid=0x00007f8328109800 nid=0x2cff waiting on condition [0x00007f8330b0a000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000009583f178> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"BlazeExecutorImpl-3" #97 daemon prio=5 os_prio=0 tid=0x00007f8328109000 nid=0x2cfe waiting on condition [0x00007f8330909000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000009583f178> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"BlazeExecutorImpl-2" #71 daemon prio=5 os_prio=0 tid=0x00007f8328026800 nid=0x234b waiting on condition [0x00007f833110d000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000009583f178> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"BlazeExecutorImpl-1" #70 daemon prio=5 os_prio=0 tid=0x00007f8328025000 nid=0x234a waiting on condition [0x00007f833130e000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000009583f178> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"BlazeExecutorImpl-0" #65 daemon prio=5 os_prio=0 tid=0x00007f836c3f9800 nid=0x2345 waiting on condition [0x00007f833170e000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000009b207e38> (a com.google.common.util.concurrent.TrustedListenableFutureTask)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:471)
at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:78)
at com.google.idea.blaze.base.async.FutureUtil$Builder.lambda$run$0(FutureUtil.java:93)
at com.google.idea.blaze.base.async.FutureUtil$Builder$$Lambda$1165/124557647.execute(Unknown Source)
at com.google.idea.blaze.base.scope.Scope.push(Scope.java:37)
at com.google.idea.blaze.base.async.FutureUtil$Builder.run(FutureUtil.java:83)
at com.google.idea.blaze.base.sync.BlazeSyncTask.doSyncProject(BlazeSyncTask.java:460)
at com.google.idea.blaze.base.sync.BlazeSyncTask.syncProject(BlazeSyncTask.java:197)
at com.google.idea.blaze.base.sync.BlazeSyncTask.lambda$run$0(BlazeSyncTask.java:164)
at com.google.idea.blaze.base.sync.BlazeSyncTask$$Lambda$1121/1915408555.execute(Unknown Source)
at com.google.idea.blaze.base.scope.Scope.push(Scope.java:60)
at com.google.idea.blaze.base.scope.Scope.root(Scope.java:52)
at com.google.idea.blaze.base.sync.BlazeSyncTask.run(BlazeSyncTask.java:141)
at com.google.idea.blaze.base.async.executor.BlazeExecutor$2.run(BlazeExecutor.java:99)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:170)
at com.intellij.openapi.progress.impl.CoreProgressManager$$Lambda$85/240063582.run(Unknown Source)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:548)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:493)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157)
at com.google.idea.blaze.base.async.executor.BlazeExecutor$3.call(BlazeExecutor.java:108)
at com.google.idea.blaze.base.async.executor.BlazeExecutor$3.call(BlazeExecutor.java:105)
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:111)
at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:58)
at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:75)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- <0x000000009544f188> (a java.util.concurrent.ThreadPoolExecutor$Worker)

"ApplicationImpl pooled thread 11" #61 daemon prio=4 os_prio=0 tid=0x00007f83440aa000 nid=0x2341 waiting on condition [0x00007f8332913000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000008bce0730> (a java.util.concurrent.SynchronousQueue$TransferStack)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"ApplicationImpl pooled thread 5" #51 daemon prio=4 os_prio=0 tid=0x00007f8374001000 nid=0x231b waiting on condition [0x00007f835b1fb000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000008bce0730> (a java.util.concurrent.SynchronousQueue$TransferStack)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"MarlinRenderer Disposer" #42 daemon prio=10 os_prio=0 tid=0x00007f836cbe0000 nid=0x21d6 in Object.wait() [0x00007f83597ef000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x000000008ccacda0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
- locked <0x000000008ccacda0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
at sun.java2d.marlin.OffHeapArray$OffHeapDisposer.run(OffHeapArray.java:156)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"TimerQueue" #36 daemon prio=5 os_prio=0 tid=0x00007f834c00e800 nid=0x21c1 runnable [0x00007f835b9fc000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000008c32e808> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
at java.util.concurrent.DelayQueue.take(DelayQueue.java:223)
at javax.swing.TimerQueue.run(TimerQueue.java:174)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- <0x000000008caceb40> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)

"BaseDataReader: error stream of fsnotifier64" #29 prio=4 os_prio=0 tid=0x00007f836c596800 nid=0x21a4 runnable [0x00007f8399431000]
java.lang.Thread.State: RUNNABLE
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:255)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
- locked <0x000000008c314678> (a java.lang.UNIXProcess$ProcessPipeInputStream)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
- locked <0x000000008c1343a0> (a com.intellij.util.io.BaseInputStreamReader)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.Reader.read(Reader.java:140)
at com.intellij.util.io.BaseOutputReader.readAvailableBlocking(BaseOutputReader.java:137)
at com.intellij.util.io.BaseDataReader.readAvailable(BaseDataReader.java:85)
at com.intellij.util.io.BaseDataReader.doRun(BaseDataReader.java:163)
at com.intellij.util.io.BaseDataReader$1$1.run(BaseDataReader.java:66)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:194)
at com.intellij.util.io.BaseDataReader$1.run(BaseDataReader.java:63)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- <0x000000008c2ff400> (a java.util.concurrent.ThreadPoolExecutor$Worker)

"BaseDataReader: output stream of fsnotifier64" #28 prio=4 os_prio=0 tid=0x00007f836c595000 nid=0x21a3 runnable [0x00007f8399633000]
java.lang.Thread.State: RUNNABLE
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:255)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
- locked <0x000000008bf75a18> (a java.lang.UNIXProcess$ProcessPipeInputStream)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
- locked <0x000000008c3f5468> (a com.intellij.util.io.BaseInputStreamReader)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.Reader.read(Reader.java:140)
at com.intellij.util.io.BaseOutputReader.readAvailableBlocking(BaseOutputReader.java:137)
at com.intellij.util.io.BaseDataReader.readAvailable(BaseDataReader.java:85)
at com.intellij.util.io.BaseDataReader.doRun(BaseDataReader.java:163)
at com.intellij.util.io.BaseDataReader$1$1.run(BaseDataReader.java:66)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:194)
at com.intellij.util.io.BaseDataReader$1.run(BaseDataReader.java:63)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- <0x000000008c310fb0> (a java.util.concurrent.ThreadPoolExecutor$Worker)

"ProcessWaitFor: fsnotifier64" #27 prio=4 os_prio=0 tid=0x00007f836c594000 nid=0x21a2 in Object.wait() [0x00007f83a86d5000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x000000008c27db88> (a java.lang.UNIXProcess)
at java.lang.Object.wait(Object.java:502)
at java.lang.UNIXProcess.waitFor(UNIXProcess.java:395)
- locked <0x000000008c27db88> (a java.lang.UNIXProcess)
at com.intellij.execution.process.ProcessWaitFor$1.run(ProcessWaitFor.java:52)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- <0x000000008b69bf00> (a java.util.concurrent.ThreadPoolExecutor$Worker)

"AWT-EventQueue-0 2017.2.1#CL-172.3544.40 CLion, eap:false, os:Linux 4.2.0-42-generic, java-version:JetBrains s.r.o 1.8.0_152-release-915-b6" #25 prio=6 os_prio=0 tid=0x00007f839023f800 nid=0x219a waiting on condition [0x00007f839a7f0000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000008b86eb60> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.awt.EventQueue.getNextEvent(EventQueue.java:560)
at com.intellij.ide.IdeEventQueue.getNextEvent(IdeEventQueue.java:401)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Locked ownable synchronizers:
- None

"AWT-Shutdown" #26 prio=5 os_prio=0 tid=0x00007f839023e000 nid=0x2199 in Object.wait() [0x00007f839a9f1000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x000000008b12bcd0> (a java.lang.Object)
at java.lang.Object.wait(Object.java:502)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:295)
- locked <0x000000008b12bcd0> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"Periodic tasks thread" #24 daemon prio=5 os_prio=0 tid=0x00007f8390209000 nid=0x2198 runnable [0x00007f839adf2000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000008b12bce8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
at java.util.concurrent.DelayQueue.take(DelayQueue.java:223)
at com.intellij.util.concurrency.AppDelayQueue$1.run(AppDelayQueue.java:42)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"Timer-0" #22 daemon prio=5 os_prio=0 tid=0x00007f83901e4800 nid=0x2197 in Object.wait() [0x00007f839aff3000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.util.TimerThread.mainLoop(Timer.java:552)
- locked <0x000000008b12bc40> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:505)

Locked ownable synchronizers:
- None

"Netty Builtin Server 1" #17 prio=5 os_prio=0 tid=0x00007f839015f000 nid=0x2195 runnable [0x00007f83a82d4000]
java.lang.Thread.State: RUNNABLE
at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
- locked <0x000000008b12bc70> (a io.netty.channel.nio.SelectedSelectionKeySet)
- locked <0x000000008b132588> (a java.util.Collections$UnmodifiableSet)
- locked <0x000000008b06b348> (a sun.nio.ch.EPollSelectorImpl)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:752)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:408)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"process reaper" #16 daemon prio=10 os_prio=0 tid=0x00007f83900a0800 nid=0x2194 runnable [0x00007f83b8038000]
java.lang.Thread.State: RUNNABLE
at java.lang.UNIXProcess.waitForProcessExit(Native Method)
at java.lang.UNIXProcess.lambda$initStreams$3(UNIXProcess.java:289)
at java.lang.UNIXProcess$$Lambda$22/907000504.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- <0x000000008b06fdd0> (a java.util.concurrent.ThreadPoolExecutor$Worker)

"DestroyJavaVM" #15 prio=5 os_prio=0 tid=0x00007f842c00b800 nid=0x216a waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

Locked ownable synchronizers:
- None

"AWT-XAWT" #13 daemon prio=6 os_prio=0 tid=0x00007f842c93c800 nid=0x218b runnable [0x00007f83bae02000]
java.lang.Thread.State: RUNNABLE
at sun.awt.X11.XToolkit.waitForEvents(Native Method)
at sun.awt.X11.XToolkit.run(XToolkit.java:570)
at sun.awt.X11.XToolkit.run(XToolkit.java:534)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"Java2D Disposer" #11 daemon prio=10 os_prio=0 tid=0x00007f842c91b800 nid=0x218a in Object.wait() [0x00007f83bb413000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
- locked <0x000000008b1325d0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
at sun.java2d.Disposer.run(Disposer.java:148)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- None

"Service Thread" #10 daemon prio=9 os_prio=0 tid=0x00007f842c1d6000 nid=0x217f runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

Locked ownable synchronizers:
- None

"C1 CompilerThread3" #9 daemon prio=9 os_prio=0 tid=0x00007f842c1c2800 nid=0x217e waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

Locked ownable synchronizers:
- None

"C2 CompilerThread2" #8 daemon prio=9 os_prio=0 tid=0x00007f842c1c0800 nid=0x217d waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

Locked ownable synchronizers:
- None

"C2 CompilerThread1" #7 daemon prio=9 os_prio=0 tid=0x00007f842c1be800 nid=0x217c waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

Locked ownable synchronizers:
- None

"C2 CompilerThread0" #6 daemon prio=9 os_prio=0 tid=0x00007f842c1bc000 nid=0x217b waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

Locked ownable synchronizers:
- None

"Signal Dispatcher" #5 daemon prio=9 os_prio=0 tid=0x00007f842c1ba000 nid=0x217a runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

Locked ownable synchronizers:
- None

"Surrogate Locker Thread (Concurrent GC)" #4 daemon prio=9 os_prio=0 tid=0x00007f842c1b9000 nid=0x2179 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

Locked ownable synchronizers:
- None

"Finalizer" #3 daemon prio=8 os_prio=0 tid=0x00007f842c185800 nid=0x2178 in Object.wait() [0x00007f83fc2bd000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
- locked <0x000000008b4dbf58> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)

Locked ownable synchronizers:
- None

"Reference Handler" #2 daemon prio=10 os_prio=0 tid=0x00007f842c181000 nid=0x2177 in Object.wait() [0x00007f841c3d6000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:502)
at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
- locked <0x000000008b1320a8> (a java.lang.ref.Reference$Lock)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)

Locked ownable synchronizers:
- None

"VM Thread" os_prio=0 tid=0x00007f842c179800 nid=0x2176 runnable

"Gang worker#0 (Parallel GC Threads)" os_prio=0 tid=0x00007f842c01c800 nid=0x216b runnable

"Gang worker#1 (Parallel GC Threads)" os_prio=0 tid=0x00007f842c01e800 nid=0x216c runnable

"Gang worker#2 (Parallel GC Threads)" os_prio=0 tid=0x00007f842c020000 nid=0x216d runnable

"Gang worker#3 (Parallel GC Threads)" os_prio=0 tid=0x00007f842c022000 nid=0x216e runnable

"Gang worker#4 (Parallel GC Threads)" os_prio=0 tid=0x00007f842c023800 nid=0x216f runnable

"Gang worker#5 (Parallel GC Threads)" os_prio=0 tid=0x00007f842c025000 nid=0x2170 runnable

"Gang worker#6 (Parallel GC Threads)" os_prio=0 tid=0x00007f842c027000 nid=0x2171 runnable

"Gang worker#7 (Parallel GC Threads)" os_prio=0 tid=0x00007f842c028800 nid=0x2172 runnable

"Concurrent Mark-Sweep GC Thread" os_prio=0 tid=0x00007f842c099800 nid=0x2175 runnable

"Gang worker#0 (Parallel CMS Threads)" os_prio=0 tid=0x00007f842c096000 nid=0x2173 runnable

"Gang worker#1 (Parallel CMS Threads)" os_prio=0 tid=0x00007f842c097800 nid=0x2174 runnable

"VM Periodic Task Thread" os_prio=0 tid=0x00007f842c1d8800 nid=0x2180 waiting on condition

JNI global references: 3763

@praveen-srinivasan
Copy link
Author

praveen-srinivasan commented Aug 21, 2017

Here's the .bazelproject:

directories:
  # Add the directories you want added as source here
  # By default, we've added your entire workspace ('.')
  .
  


targets:
  # Add targets that reach the source code that you want to resolve here
  # By default, we've added all targets in your workspace
  //...

additional_languages:
  # Uncomment any additional languages you want supported
  # python

It's possible there are lots of files underneath, e.g. bazel- directories. Does the plugin know to ignore them?

@praveen-srinivasan
Copy link
Author

I addressed this by trimming some directories - will mark as closed for now.

blorente pushed a commit to blorente/intellij that referenced this issue Oct 3, 2023
Add an Action that modifies the local project view to ignore the CMake
cache directories.

Can be triggered manually, and it will trigger automatically on every
sync.
blorente pushed a commit to blorente/intellij that referenced this issue Oct 24, 2023
Add an Action that modifies the local project view to ignore the CMake
cache directories.

Can be triggered manually, and it will trigger automatically on every
sync.
blorente pushed a commit to blorente/intellij that referenced this issue Nov 1, 2023
Add an Action that modifies the local project view to ignore the CMake
cache directories.

Can be triggered manually, and it will trigger automatically on every
sync.
blorente pushed a commit to blorente/intellij that referenced this issue Jan 30, 2024
Add an Action that modifies the local project view to ignore the CMake
cache directories.

Can be triggered manually, and it will trigger automatically on every
sync.

fix(compat): Make the apple plugin compatible with v241
blorente pushed a commit to blorente/intellij that referenced this issue Jun 13, 2024
Add an Action that modifies the local project view to ignore the CMake
cache directories.

Can be triggered manually, and it will trigger automatically on every
sync.

fix(compat): Make the apple plugin compatible with v241
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants