Synchronized methods should be detected by BlockHound as blocking operations.
Motivation
A library you import on a Reactor project could make use of Synchronized method that will impact the performance of your project due to the nature of the construct.
Desired solution
BlockHound could detect those synchronized methods and/or synchronized statements and throw an exception when used.
Considered alternatives
Code inspection.
Additional context
Info from the Oracle webpage: https://docs.oracle.com/javase/tutorial/essential/concurrency/syncmeth.html.
I am not sure about the feasibility of this check but thought of raising it here.
Synchronized methods should be detected by BlockHound as blocking operations.
Motivation
A library you import on a Reactor project could make use of Synchronized method that will impact the performance of your project due to the nature of the construct.
Desired solution
BlockHound could detect those synchronized methods and/or synchronized statements and throw an exception when used.
Considered alternatives
Code inspection.
Additional context
Info from the Oracle webpage: https://docs.oracle.com/javase/tutorial/essential/concurrency/syncmeth.html.
I am not sure about the feasibility of this check but thought of raising it here.