Re: Could we add a lint warning for when the type parameter name overloads an existing type name?

2024-04-14 Thread David Alayachew
Whoops, I meant core-libs, not client libs. I always mix up the 2. Copy pasting below, so that people don't have to read the butchered version that pipermail spits out. Hello Amber Dev Team, Client Lib Team, and Compiler Dev Team, In the vein of smoothing the on-ramp for beginners, one of the bi

Re: RFR: 8327247: C2 uses up to 2GB of RAM to compile complex string concat in extreme cases [v3]

2024-04-14 Thread Claes Redestad
> This patch suggests a workaround to an issue with huge SCF MH expression > trees taking excessive JIT compilation resources by reviving (part of) the > simple bytecode-generating strategy that was originally available as an > all-or-nothing strategy choice. > > Instead of reintroducing a bin

Re: RFR: 8327247: C2 uses up to 2GB of RAM to compile complex string concat in extreme cases [v3]

2024-04-14 Thread Claes Redestad
On Sat, 13 Apr 2024 17:54:54 GMT, Brett Okken wrote: >> Possibly. I tried a few simple variants that initialized the `StringBuilder` >> capacity at various guesses, such as sum of constant sizes + some factor >> based on args, but across a diverse set of micros that gives both some wins >> and

Re: RFR: 8330196: Make java/lang/invoke/defineHiddenClass/BasicTest release agnostic

2024-04-14 Thread Johannes Kuhn
On Fri, 12 Apr 2024 23:55:01 GMT, Joe Darcy wrote: > Straightforward test update so it doesn't have to be trivially updated for > each JDK version. Marked as reviewed by jkuhn (Author). - PR Review: https://git.openjdk.org/jdk/pull/18769#pullrequestreview-1999661348