Re: RFR: 6478546: FileInputStream.read() throws OutOfMemoryError when there is plenty available [v3]

2023-07-29 Thread Vyom Tewari
On Fri, 28 Jul 2023 19:59:15 GMT, Brian Burkhalter wrote: >> Limit native memory allocation and move write loop from the native layer >> into Java. This change should make the OOME reported in the issue much less >> likely. > > Brian Burkhalter has updated the pull request incrementally with on

RFR: 8311989: Test java/lang/Thread/virtual/Reflection.java timed out

2023-07-29 Thread Alan Bateman
This is a test only change to a test that exercises core reflection from virtual threads. One of the its tests (testNewInstance6) uses a custom scheduler in setup to check that calling a constructor reflectively, where the constructor parks, doesn't pin the underlying carrier. The test schedules

Re: RFR: 8310643: Misformatted copyright messages in FFM

2023-07-29 Thread David Holmes
On Wed, 26 Jul 2023 15:43:12 GMT, Per Minborg wrote: > This PR suggests updating some of the ill-formed copyright headers in the FFM > API and the implementation and test thereof. > > Some of the test files will have now the "classpath" exception. Is this > correct? src/java.base/share/classe

Re: RFR: 8313312: Add missing classpath exception copyright header [v2]

2023-07-29 Thread David Holmes
On Fri, 28 Jul 2023 17:39:18 GMT, Amit Kumar wrote: >> Adds `classpath exception` in multiple files, affects copyright header only. > > Amit Kumar has updated the pull request incrementally with one additional > commit since the last revision: > > revert java.lang.foreign changes > Please le