Skip to content
This repository has been archived by the owner on Jul 15, 2021. It is now read-only.

Reproducible hang on Debian 9, oracle-java-13 and above #277

Open
geeohgeegeeoh opened this issue Sep 22, 2020 · 5 comments
Open

Reproducible hang on Debian 9, oracle-java-13 and above #277

geeohgeegeeoh opened this issue Sep 22, 2020 · 5 comments

Comments

@geeohgeegeeoh
Copy link

For the current code, I can reproduce a hang on oracle-java-13, oracle-java-14 and oracle-java-15.

oracle-java-11 is fine.

On FreeBSD 12, more recent OpenJDK to equivalent levels are fine btw.

I can give you a jstack thread dump if you want.

@lolepezy
Copy link
Contributor

I can give you a jstack thread dump if you want.

That would be very helpful! Especially for jdk 14.

@geeohgeegeeoh
Copy link
Author

Here's a jthread trace
java-threads.txt

@ties
Copy link
Contributor

ties commented Sep 28, 2020

Hi,

Two quick questions:

  • On what kind of machine (distribution/number of CPU cores) do you encounter this issue?
  • How long after startup do you encounter this?

This will help us when attempting to reproduce it :)

@geeohgeegeeoh
Copy link
Author

geeohgeegeeoh commented Sep 28, 2020 via email

@ties
Copy link
Contributor

ties commented Sep 29, 2020

I can reproduce this on a machine with a high number of cores (R730xd/28 cores/56 hyperthreads/openjdk 14). It seems like it gets stuck with the high amount of threads created and this is a symptom of an underlying bug.

I could work around it by limiting the number of threads (by setting _JAVA_OPTIONS="-XX:ActiveProcessorCount=16" in an environment variable). Please let me know if that is a suitable workaround for you for now.

@erikrozendaal could you take a look?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants