[jdk21] RFR: 8307185: pkcs11 native libraries make JNI calls into java code while holding GC lock

2023-07-21 Thread Daniel Jeliński
Hi all, This pull request contains a backport of commit [354c6605](https://github.com/openjdk/jdk/commit/354c6605e32790ca421869636d8bf5456fc51717) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository. The commit being backported was authored by Daniel Jeliński on 20 Jul 2023 and was

Re: RFR: 8309305: sun/security/ssl/SSLSocketImpl/BlockedAsyncClose.java fails with jtreg test timeout [v2]

2023-07-21 Thread Daniel Jeliński
On Tue, 13 Jun 2023 14:24:20 GMT, Matthew Donovan wrote: >> This PR improves the reliability of the BlockedAsyncClose test by addressing >> an edge case/race condition between the two test threads. The purpose of the >> test is to verify that an SSLSocket can be closed if a thread is blocked in

Integrated: 8309305: sun/security/ssl/SSLSocketImpl/BlockedAsyncClose.java fails with jtreg test timeout

2023-07-21 Thread Matthew Donovan
On Thu, 8 Jun 2023 14:25:26 GMT, Matthew Donovan wrote: > This PR improves the reliability of the BlockedAsyncClose test by addressing > an edge case/race condition between the two test threads. The purpose of the > test is to verify that an SSLSocket can be closed if a thread is blocked in a

Withdrawn: 8308144: HttpClient - uncontrolled memory consumption in SSLFlowDelegate.Reader

2023-07-21 Thread duke
On Thu, 25 May 2023 20:17:39 GMT, zhurs wrote: > When using HttpClient to make requests to HTTPS resources, there is an issue > where the entire file is being downloaded into memory without the ability to > limit the buffer size. > If the SSLEngine cannot decode the entire buffer due to the alg

RFR: 6478546: FileInputStream.read() throws OutOfMemoryError when there is plenty available

2023-07-21 Thread Brian Burkhalter
Limit native memory allocation and move write loop from the native layer into Java. This change should make the OOME reported in the issue much less likely. - Commit messages: - 6478546: FileInputStream.read() throws OutOfMemoryError when there is plenty available Changes: https:/

Re: RFR: 6478546: FileInputStream.read() throws OutOfMemoryError when there is plenty available

2023-07-21 Thread Brian Burkhalter
On Fri, 21 Jul 2023 22:40:00 GMT, Brian Burkhalter wrote: > Limit native memory allocation and move write loop from the native layer into > Java. This change should make the OOME reported in the issue much less likely. The cost of native memory allocation appears to degrade the throughput of re