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

high cpu consumption from java file notification libary #75

Open
eostermueller opened this issue Jun 12, 2022 · 2 comments
Open

high cpu consumption from java file notification libary #75

eostermueller opened this issue Jun 12, 2022 · 2 comments

Comments

@eostermueller
Copy link
Owner

image

image

@eostermueller
Copy link
Owner Author

thread-dumps.zip

"main" #1 prio=5 os_prio=0 cpu=2231890.63ms elapsed=74353.14s tid=0x000001ee3d757000 nid=0xb50 runnable  [0x0000002720bfc000]
   java.lang.Thread.State: RUNNABLE
        at sun.nio.fs.WindowsNativeDispatcher.CreateFile0([email protected]/Native Method)
        at sun.nio.fs.WindowsNativeDispatcher.CreateFile([email protected]/WindowsNativeDispatcher.java:71)
        at sun.nio.fs.WindowsChannelFactory.open([email protected]/WindowsChannelFactory.java:308)
        at sun.nio.fs.WindowsChannelFactory.newFileChannel([email protected]/WindowsChannelFactory.java:168)
        at sun.nio.fs.WindowsFileSystemProvider.checkReadAccess([email protected]/WindowsFileSystemProvider.java:330)
        at sun.nio.fs.WindowsFileSystemProvider.checkAccess([email protected]/WindowsFileSystemProvider.java:367)
        at sun.nio.fs.AbstractFileSystemProvider.exists([email protected]/AbstractFileSystemProvider.java:151)
        at java.nio.file.Files.exists([email protected]/Files.java:2434)
        at com.github.eostermueller.perfgoat.BlockOnSentinelFile.block(BlockOnSentinelFile.java:74)
        at com.github.eostermueller.perfgoat.ITBlock.test(ITBlock.java:16)
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0([email protected]/Native Method)

@eostermueller
Copy link
Owner Author

Looks like this has been highlighted before:
https://bugs.openjdk.org/browse/JDK-8230055

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

1 participant