Re: RFR: 8168469: Memory leak in JceSecurity [v2]

2023-05-12 Thread Valerie Peng
On Wed, 10 May 2023 10:03:46 GMT, Sergey Chernyshev wrote: >> Hi all, >> >> I would like to propose a patch for an issue discussed in [1][2] that fixes >> an OOME in the current code base. The issue appears when a SunJCE provider >> object reference is stored in a non-static variable, which ev

Re: RFR: 8168469: Memory leak in JceSecurity [v2]

2023-05-10 Thread Sergey Chernyshev
On Tue, 9 May 2023 23:37:05 GMT, Valerie Peng wrote: >> Sergey Chernyshev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> addressed review comment > > src/java.base/share/classes/javax/crypto/JceSecurity.java.template line 217: > >> 215

Re: RFR: 8168469: Memory leak in JceSecurity [v2]

2023-05-10 Thread Sergey Chernyshev
> Hi all, > > I would like to propose a patch for an issue discussed in [1][2] that fixes > an OOME in the current code base. The issue appears when a SunJCE provider > object reference is stored in a non-static variable, which eventually leads > to a Java heap OOME. > > The solution proposed

Re: RFR: 8168469: Memory leak in JceSecurity

2023-05-09 Thread Valerie Peng
On Tue, 25 Apr 2023 21:16:41 GMT, Sergey Chernyshev wrote: > Hi all, > > I would like to propose a patch for an issue discussed in [1][2] that fixes > an OOME in the current code base. The issue appears when a SunJCE provider > object reference is stored in a non-static variable, which eventua

Re: RFR: 8168469: Memory leak in JceSecurity

2023-05-08 Thread Valerie Peng
On Tue, 25 Apr 2023 21:16:41 GMT, Sergey Chernyshev wrote: > Hi all, > > I would like to propose a patch for an issue discussed in [1][2] that fixes > an OOME in the current code base. The issue appears when a SunJCE provider > object reference is stored in a non-static variable, which eventua

Re: RFR: 8168469: Memory leak in JceSecurity

2023-05-04 Thread Sergey Chernyshev
On Tue, 25 Apr 2023 21:16:41 GMT, Sergey Chernyshev wrote: > Hi all, > > I would like to propose a patch for an issue discussed in [1][2] that fixes > an OOME in the current code base. The issue appears when a SunJCE provider > object reference is stored in a non-static variable, which eventua

RFR: 8168469: Memory leak in JceSecurity

2023-04-25 Thread Sergey Chernyshev
Hi all, I would like to propose a patch for an issue discussed in [1][2] that fixes an OOME in the current code base. The issue appears when a SunJCE provider object reference is stored in a non-static variable, which eventually leads to a Java heap OOME. The solution proposed earlier [1] rais