-
Sub-task
-
Resolution: Delivered
-
P4
-
25
Previously, the events `jdk.SocketRead`, `jdk.SocketWrite`, `jdk.FileRead`, and `jdk.FileWrite` were recorded if the duration exceeded 20 ms in the default configuration (default.jfc). The threshold has been lowered to 1 ms. To prevent a high volume of events, a rate limit of 100 events per second is imposed on these events. To restore the previous behavior, you can set the throttle setting to "off" and the threshold to "20 ms". For example:
`-XX:StartFlightRecording:jdk.SocketRead#threshold=20ms,jdk.SocketRead#throttle=off`
The `jdk.JavaExceptionThrow` event was previously disabled by default, but is now enabled by default with a rate limit of 100 events per second. To disable this event, use:
`-XX:StartFlightRecording:jdk.JavaExceptionThrow#enabled=false`
`-XX:StartFlightRecording:jdk.SocketRead#threshold=20ms,jdk.SocketRead#throttle=off`
The `jdk.JavaExceptionThrow` event was previously disabled by default, but is now enabled by default with a rate limit of 100 events per second. To disable this event, use:
`-XX:StartFlightRecording:jdk.JavaExceptionThrow#enabled=false`