Java 11 on latest Mac OS seems to lock the file system for minutes at a time

357 Views Asked by At

Since upgrading to java 11 on my Macbook Pro (latest OS, etc.) compiling projects seems to often lock the entire file system for long periods of time. Anyone else having this problem? Any ideas how to debug it?

Update: I did a dtruss on the process and I see endless output like this. I don't know if this is significant or not.

gettimeofday(0x700001D00D98, 0x0, 0x0)       = 0 0
gettimeofday(0x7000011DCE18, 0x0, 0x0)       = 0 0
psynch_cvwait(0x7F8EF6417C10, 0x89A0100089B00, 0x0)      = -1 316
gettimeofday(0x700001D00D98, 0x0, 0x0)       = 0 0
psynch_cvwait(0x7F8EF6417C10, 0x89B0100089C00, 0x0)      = -1 316
gettimeofday(0x700001D00D98, 0x0, 0x0)       = 0 0
psynch_cvwait(0x7F8EF6417C10, 0x89C0100089D00, 0x0)      = -1 316
gettimeofday(0x700001D00D98, 0x0, 0x0)       = 0 0
psynch_cvwait(0x7F8EF6417C10, 0x89D0100089E00, 0x0)      = -1 316
gettimeofday(0x700001D00D98, 0x0, 0x0)       = 0 0
psynch_cvwait(0x7F8EF6417C10, 0x89E0100089F00, 0x0)      = -1 316

Just endless calls to that and then every once in a while:

stat64("<xxxx>.class\0", 0x700000CCBF30, 0x0)        = 0 0
lstat64("<xxxx>.class\0", 0x700000CCBDE8, 0x0)       = 0 0

Update: well, it's in the bug db now: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8257477

0

There are 0 best solutions below