Re: RFR: JDK-8262994: Refactor String.split to help method inlining

2022-12-28 Thread Sergey Tsypanov
On Tue, 27 Dec 2022 20:12:51 GMT, Christian Wimmer wrote: > The method `String.split` contains a fast-path when the regular expression > parameter is not really a regular expression, but just a single split > character. > This fast path vs. slow path check can be constant folded when the regula

Withdrawn: JDK-8298170 : Introduce a macro for exception check, free and return

2022-12-28 Thread Matthias Baesken
On Tue, 6 Dec 2022 15:20:26 GMT, Matthias Baesken wrote: > We have a number of places in the codebase where a macro could help when we > check an exception and afterwrads free something and return. This pull request has been closed without being integrated. - PR: https://git.open

Re: RFR: JDK-8298170 : Introduce a macro for exception check, free and return

2022-12-28 Thread Matthias Baesken
On Tue, 6 Dec 2022 15:20:26 GMT, Matthias Baesken wrote: > We have a number of places in the codebase where a macro could help when we > check an exception and afterwrads free something and return. okay, if keeping the block in the code that contains free and return, we probably just stay wit

RFR: JDK-8299388: java/util/regex/NegativeArraySize.java fails on Alpine and sometimes Windows

2022-12-28 Thread Matthias Baesken
The test java/util/regex/NegativeArraySize.java seems to have high memory requirements, and these requirements lead to some errors. On Alpine Linux we run regularly into this error when executing the test: result: Failed. Unexpected exit from test [exit code: 137] This seems to be OOM related. Pro

Re: RFR: 8240567: MethodTooLargeException thrown while creating a jlink image [v8]

2022-12-28 Thread Oliver Kopp
> Fix for [JDK-8240567](https://bugs.openjdk.org/browse/JDK-8240567): > "MethodTooLargeException thrown while creating a jlink image". > > Java still has a 64kb limit: A method may not be longer than 64kb. The idea > of the fix is to split up the generated methods in several smaller methods Oli