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 usage on CharPredicate.Digit #518
Comments
Is it the same bytecode that runs fine on 19 but "hangs" in 21? |
not exactly as we changed |
Hmm... if it's not deterministically exhibiting this behavior on one particular machine (setup) then I wonder how two different runs might differ from each other. |
There's one new instance per input, and also per thread
The input is coming from user, so it can be that it's partial. |
Can you show what your |
|
Hmm... this really is curious. In order to debug further it's be great to get a hold of a pathological input and try to reproduce the problem under the microscope... |
We're parsing Strings. I'm trying to get more data. But I cannot reproduce the issue locally, even with those inputs. |
Some update: this issue also occurs with JVM 19 (maybe less frequently, but I cannot be sure here). |
When updating from JVM 19 to JVM 21, we notice very high CPU usage.
A profiling reveals a method using a simple rule:
I don't know if anyone has already seen this behavior before, and/or has a clue where to look at.
The text was updated successfully, but these errors were encountered: