Re: RFR: 8308293: A linker should expose the layouts it supports [v3]

2023-05-21 Thread Per Minborg
On Fri, 19 May 2023 11:08:10 GMT, Maurizio Cimadamore wrote: >> This patch adds an instance method on `Linker`, namely >> `Linker::canonicalLayouts` which returns all the layouts known by the linker >> as implementing some ABI type. For instance, if I call this on my machine >> (Linux/x64) I

Re: RFR: 8308235: ThreadContainer registry accumulates weak refs [v2]

2023-05-21 Thread Alan Bateman
On Fri, 19 May 2023 08:26:31 GMT, Viktor Klang wrote: >> Alan Bateman has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains four additional >> commits

Re: RFR: 8308235: ThreadContainer registry accumulates weak refs [v2]

2023-05-21 Thread Alan Bateman
> ThreadContainers is an internal class used to make thread pools and other > groupings of threads discoverable for observability. Some refactoring in 2021 > (in the loom repo, and before integration) accidentally changed the creation > of a weak reference so that it no longer associated with th

javac to emit static flag for local and anonymous classes in static contexts

2023-05-21 Thread -
Hello, While looking at https://bugs.openjdk.org/browse/JDK-8162500 and https://bugs.openjdk.org/browse/JDK-8162501 I realized that the static flag in InnerClasses attribute alone is not sufficient to check if an inner class is static; this flag is simply not emitted on local and anonymous classes.

Integrated: 8300543 Compiler Implementation for Pattern Matching for switch

2023-05-21 Thread Jan Lahoda
On Fri, 17 Mar 2023 12:15:58 GMT, Jan Lahoda wrote: > This is the first draft of a patch for JEP 440 and JEP 441. Changes included: > > - the pattern matching for switch and record patterns features are made > final, together with updates to tests. > - parenthesized patterns are removed. > -

Re: Exposing checked exceptions that a MethodHandle can throw

2023-05-21 Thread Remi Forax
- Original Message - > From: "-" > To: "core-libs-dev" > Sent: Sunday, May 21, 2023 6:52:44 AM > Subject: Exposing checked exceptions that a MethodHandle can throw > Hello, > I am eliciting a discussion on the feasibility of tracking checked > exceptions thrown by a MethodHandle. It is a

Re: RFR: 8308108: Support Unicode extension for collation settings [v4]

2023-05-21 Thread Alan Bateman
On Fri, 19 May 2023 21:13:37 GMT, Naoto Sato wrote: >> This change intends to interpret the BCP47 U extension wrt collation >> settings in the given `Locale`, then applies them to the created instances >> in the 1-arg factory method in `Collator`. A corresponding CSR has also been >> drafted.

RFR: 8308475: Make the thread dump files generated by jcmd Thread.dump_to_file jtreg failure handler action easily accessible

2023-05-21 Thread Jaikiran Pai
Can I please get a review of this change which proposes to improve the accessibility of the thread dump files that are generated by the `jcmd Thread.dump_to_file` command configured in the failure handler configurations? This addresses https://bugs.openjdk.org/browse/JDK-8308475. The changes i

Re: RFR: 8308475: Make the thread dump files generated by jcmd Thread.dump_to_file jtreg failure handler action easily accessible

2023-05-21 Thread Jaikiran Pai
On Sun, 21 May 2023 09:19:47 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which proposes to improve the > accessibility of the thread dump files that are generated by the `jcmd > Thread.dump_to_file` command configured in the failure handler > configurations? This addres