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

Blocking call while performing ContextFinder.find when using OpenJDK 11+ #271

Open
Maheswari-Nagendran opened this issue May 12, 2023 · 1 comment

Comments

@Maheswari-Nagendran
Copy link

We have identified a blocking call with the help of Blockhound while trying to perform HTTP operations with reactor-netty.

We have tested this scenario enabling Blockhound and identified the blocking call with OpenJDK 11 and 17.

Attached the stack trace of the blocking call exception here : Stacktrace_blockhound.rtf

On analysing the blocking call trace and the OpenJDK changes, the blocking call is happening while,

AbstractJAXBProvider trying to write the request body which internally calls cached context to check the context exists in cache. For 1st time, its trying to create new context for cache using find method of contextFinder.java from jdk 8 jaxb module. But jaxb module has been removed from jdk 9 as mentioned here, its trying to utilise javax.xml.bind's contextFinder and blocking call detected in this line
Issue identified in 2.3.3 and 3.0.1 version as well

@antoniosanct
Copy link
Contributor

Fixed since 2fc2446

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