Re: RFR: 8353641: Deprecate core library permission classes for removal [v6]

2025-04-06 Thread Alan Bateman
On Fri, 4 Apr 2025 19:22:46 GMT, Roger Riggs wrote: >> Now that the Security Manager is permanently disabled, the following >> permission classes in the core libraries area can be deprecated for removal >> as they are no longer useful: FilePermission, LinkPermission, >> LoggingPermission, Prop

Re: RFR: 8353786: Migrate Vector API math library support to FFM API

2025-04-06 Thread Per Minborg
On Fri, 4 Apr 2025 22:52:24 GMT, Vladimir Ivanov wrote: > Migrate Vector API math library (SVML and SLEEF) linkage from native code (in > JVM) to Java FFM API. > > Since FFM API doesn't support vector calling conventions yet, migration > affects only symbol lookup for now. But it still enables

RFR: 8353787: Increased number of SHA-384-Digest java.util.jar.Attributes instances leading to higher memory footprint

2025-04-06 Thread Jaikiran Pai
Can I please get a review of this change which proposes to address the increase in memory footprint of an application that uses signed JAR files, signed with `SHA-384` digest algorithm? This addresses https://bugs.openjdk.org/browse/JDK-8353787. As noted in that issue and the linked mailing lis

Re: RFR: 8353659: SubmissionPublisherTest::testCap1Submit times out

2025-04-06 Thread Viktor Klang
On Sun, 6 Apr 2025 12:36:43 GMT, Viktor Klang wrote: > This PR reverts the deactivation changes of the updates to FJP introduced in > JDK-8319447. @AlanBateman @DougLea Testing-wise this is ready for review and, hopefully, integration. - PR Comment: https://git.openjdk.org/jdk/pu

Re: RFR: 8353659: SubmissionPublisherTest::testCap1Submit times out

2025-04-06 Thread Viktor Klang
On Sun, 6 Apr 2025 12:36:43 GMT, Viktor Klang wrote: > This PR reverts the deactivation changes of the updates to FJP introduced in > JDK-8319447. @AlanBateman @DougLea This is a draft PR for now. I need to run some additional tier-testing in order to promote to a "real" PR. - PR

RFR: 8353659: SubmissionPublisherTest::testCap1Submit times out

2025-04-06 Thread Viktor Klang
This PR reverts the deactivation changes of the updates to FJP introduced in JDK-8319447. - Commit messages: - Addresses deactivation races introduced by JDK-8319447 Changes: https://git.openjdk.org/jdk/pull/24473/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24473&range

Re: RFR: 8303374: Implement JEP 455: Primitive Types in Patterns, instanceof, and switch (Preview) [v57]

2025-04-06 Thread Luca Kellermann
On Wed, 31 Jan 2024 10:03:23 GMT, Aggelos Biboudis wrote: >> This is the proposed patch for Primitive types in patterns, instanceof, and >> switch (Preview). >> >> Draft spec here: https://cr.openjdk.org/~abimpoudis/instanceof/latest/ > > Aggelos Biboudis has updated the pull request with a ne

Re: RFR: 8353795: Add Writer.of(StringBuilder)

2025-04-06 Thread Markus KARG
On Sat, 5 Apr 2025 17:36:29 GMT, Markus KARG wrote: > This Pull Requests proposes an implementation for > [JDK-8353795](https://bugs.openjdk.org/browse/JDK-8353795): Adding the new > method `public static Writer Writer.of(StringBuilder)`, providing a > non-synchronized Writer implementation op

Re: Request for Enhancement: java.io.Writer.of(Appendable) as an efficient alternative to java.io.StringWriter

2025-04-06 Thread Markus KARG
Chen, thank you for your API documentation proposal. For me it is easier to have some code at hand to discuss about, so I have filed a Jira-Ticket https://bugs.openjdk.org/browse/JDK-8353795 with accompanying PR https://github.com/openjdk/jdk/pull/24469, and I would propose to continue our di

Re: RFR: 8350462: MethodTypeForm.LF_INTERPRET can cache the MemberName instead [v2]

2025-04-06 Thread Zihao Lin
> Modify the cache in MethodTypeForm that currently stores the LF_INTERPRET > Lambda form. Instead of caching the entire LambdaForm, change it to store a > SoftReference. This will avoid unnecessary memory usage. Zihao Lin has updated the pull request incrementally with one additional commit si

Re: RFR: 8350462: MethodTypeForm.LF_INTERPRET can cache the MemberName instead [v2]

2025-04-06 Thread Zihao Lin
On Sun, 6 Apr 2025 00:04:19 GMT, Chen Liang wrote: >> Zihao Lin has updated the pull request incrementally with one additional >> commit since the last revision: >> >> remove LF_INTERPRET > > src/java.base/share/classes/java/lang/invoke/MethodTypeForm.java line 71: > >> 69: // Indexes in