Re: [jdk21] RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider

2023-07-19 Thread Valerie Peng
On Wed, 19 Jul 2023 17:51:20 GMT, Valerie Peng wrote: > 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider /Integrate - PR Comment: https://git.openjdk.org/jdk21/pull/139#issuecomment-1642849132

Re: [jdk21] RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider

2023-07-19 Thread Valerie Peng
On Wed, 19 Jul 2023 21:02:56 GMT, Xue-Lei Andrew Fan wrote: >> 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider > > src/java.base/share/classes/com/sun/crypto/provider/PBKDF2KeyImpl.java line > 274: > >> 272: } >> 273: >> 274: SecretKey that = (

Re: [jdk21] RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider

2023-07-19 Thread Xue-Lei Andrew Fan
On Wed, 19 Jul 2023 17:51:20 GMT, Valerie Peng wrote: > 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider Marked as reviewed by xuelei (Reviewer). src/java.base/share/classes/com/sun/crypto/provider/PBKDF2KeyImpl.java line 274: > 272: } > 273: > 274:

Re: [jdk21] RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider

2023-07-19 Thread Anthony Scarpino
On Wed, 19 Jul 2023 17:51:20 GMT, Valerie Peng wrote: > 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider Marked as reviewed by ascarpino (Reviewer). - PR Review: https://git.openjdk.org/jdk21/pull/139#pullrequestreview-1537839835

Re: [jdk21] RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider

2023-07-19 Thread Sean Mullan
On Wed, 19 Jul 2023 17:51:20 GMT, Valerie Peng wrote: > 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider Marked as reviewed by mullan (Reviewer). - PR Review: https://git.openjdk.org/jdk21/pull/139#pullrequestreview-1537771538

[jdk21] RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider

2023-07-19 Thread Valerie Peng
8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider - Commit messages: - Backport 28c4d196cff8576b69cf115cda538ab1dad978d2 Changes: https://git.openjdk.org/jdk21/pull/139/files Webrev: https://webrevs.openjdk.org/?repo=jdk21&pr=139&range=00 Issue: https://bu

Re: RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider [v2]

2023-07-18 Thread Valerie Peng
On Fri, 14 Jul 2023 21:57:32 GMT, Valerie Peng wrote: >> This change adds back the Reference.ReachabilityFence(Object) call removed >> by [JDK-8301553](https://bugs.openjdk.org/browse/JDK-8301553). >> >> Please help review. >> Thanks! >> Valerie > > Valerie Peng has updated the pull request inc

Re: RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider [v2]

2023-07-18 Thread Sean Mullan
On Fri, 14 Jul 2023 21:57:32 GMT, Valerie Peng wrote: >> This change adds back the Reference.ReachabilityFence(Object) call removed >> by [JDK-8301553](https://bugs.openjdk.org/browse/JDK-8301553). >> >> Please help review. >> Thanks! >> Valerie > > Valerie Peng has updated the pull request inc

Re: RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider [v2]

2023-07-14 Thread Xue-Lei Andrew Fan
On Fri, 14 Jul 2023 21:57:32 GMT, Valerie Peng wrote: >> This change adds back the Reference.ReachabilityFence(Object) call removed >> by [JDK-8301553](https://bugs.openjdk.org/browse/JDK-8301553). >> >> Please help review. >> Thanks! >> Valerie > > Valerie Peng has updated the pull request inc

Re: RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider [v2]

2023-07-14 Thread Valerie Peng
> This change adds back the Reference.ReachabilityFence(Object) call removed by > [JDK-8301553](https://bugs.openjdk.org/browse/JDK-8301553). > > Please help review. > Thanks! > Valerie Valerie Peng has updated the pull request incrementally with one additional commit since the last revision:

Re: RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider [v2]

2023-07-14 Thread Valerie Peng
On Fri, 14 Jul 2023 03:04:13 GMT, Xue-Lei Andrew Fan wrote: > > > > It looks good to me to rollback to previous behaviors. I was just > > > > wondering, if the use of key in other methods, like > > > > hashCode()/equals(), has the similar issue? Thanks! > > > > > > > > > For the usage of hash

Re: RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider

2023-07-13 Thread Xue-Lei Andrew Fan
On Fri, 14 Jul 2023 02:37:09 GMT, Xue-Lei Andrew Fan wrote: > > > It looks good to me to rollback to previous behaviors. I was just > > > wondering, if the use of key in other methods, like hashCode()/equals(), > > > has the similar issue? Thanks! > > > > > > For the usage of hashCode()/equal

Re: RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider

2023-07-13 Thread Xue-Lei Andrew Fan
On Thu, 13 Jul 2023 21:01:06 GMT, Valerie Peng wrote: > > It looks good to me to rollback to previous behaviors. I was just > > wondering, if the use of key in other methods, like hashCode()/equals(), > > has the similar issue? Thanks! > > For the usage of hashCode()/equals(), there should be

Re: RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider

2023-07-13 Thread Sean Mullan
On Thu, 13 Jul 2023 20:58:45 GMT, Valerie Peng wrote: >> src/java.base/share/classes/com/sun/crypto/provider/PBKDF2KeyImpl.java line >> 1: >> >>> 1: /* >> >> I also think the change which moved the registering of the `Cleaner` outside >> the `finally` block in the constructor is not correct,

Re: RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider

2023-07-13 Thread Valerie Peng
On Thu, 13 Jul 2023 18:27:08 GMT, Sean Mullan wrote: >> This change adds back the Reference.ReachabilityFence(Object) call removed >> by [JDK-8301553](https://bugs.openjdk.org/browse/JDK-8301553). >> >> Please help review. >> Thanks! >> Valerie > > src/java.base/share/classes/com/sun/crypto/pro

Re: RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider

2023-07-13 Thread Valerie Peng
On Thu, 13 Jul 2023 04:15:54 GMT, Xue-Lei Andrew Fan wrote: > It looks good to me to rollback to previous behaviors. I was just wondering, > if the use of key in other methods, like hashCode()/equals(), has the similar > issue? Thanks! For the usage of hashCode()/equals(), there should be stro

Re: RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider

2023-07-13 Thread Valerie Peng
On Thu, 13 Jul 2023 18:16:21 GMT, Sean Mullan wrote: >> This change adds back the Reference.ReachabilityFence(Object) call removed >> by [JDK-8301553](https://bugs.openjdk.org/browse/JDK-8301553). >> >> Please help review. >> Thanks! >> Valerie > > src/java.base/share/classes/com/sun/crypto/pro

Re: RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider

2023-07-13 Thread Sean Mullan
On Thu, 13 Jul 2023 02:46:10 GMT, Valerie Peng wrote: > This change adds back the Reference.ReachabilityFence(Object) call removed by > [JDK-8301553](https://bugs.openjdk.org/browse/JDK-8301553). > > Please help review. > Thanks! > Valerie src/java.base/share/classes/com/sun/crypto/provider/PB

Re: RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider

2023-07-13 Thread Sean Mullan
On Thu, 13 Jul 2023 02:46:10 GMT, Valerie Peng wrote: > This change adds back the Reference.ReachabilityFence(Object) call removed by > [JDK-8301553](https://bugs.openjdk.org/browse/JDK-8301553). > > Please help review. > Thanks! > Valerie src/java.base/share/classes/com/sun/crypto/provider/PB

Re: RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider

2023-07-12 Thread Xue-Lei Andrew Fan
On Thu, 13 Jul 2023 02:46:10 GMT, Valerie Peng wrote: > This change adds back the Reference.ReachabilityFence(Object) call removed by > [JDK-8301553](https://bugs.openjdk.org/browse/JDK-8301553). > > Please help review. > Thanks! > Valerie It looks good to me to rollback to previous behaviors.

Re: RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider

2023-07-12 Thread Anthony Scarpino
On Thu, 13 Jul 2023 02:46:10 GMT, Valerie Peng wrote: > This change adds back the Reference.ReachabilityFence(Object) call removed by > [JDK-8301553](https://bugs.openjdk.org/browse/JDK-8301553). > > Please help review. > Thanks! > Valerie Looks good to me - Marked as reviewed by

RFR: 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider

2023-07-12 Thread Valerie Peng
This change adds back the Reference.ReachabilityFence(Object) call removed by [JDK-8301553](https://bugs.openjdk.org/browse/JDK-8301553). Please help review. Thanks! Valerie - Commit messages: - 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider Changes: htt