Re: RFR: 8324657: Intermittent OOME on exception message create [v2]

2024-01-25 Thread Roger Riggs
> When an exception handler for an OutOfMemoryError uses string concatenation > to compose an exception message, the invoke dynamic string format > implementation may itself exhaust memory, preventing the exception from being > handled. > Explicit use of String.concat() call can improve exceptio

Re: RFR: 8324657: Intermittent OOME on exception message create

2024-01-24 Thread Sergey Bylokhov
On Mon, 22 Jan 2024 20:52:32 GMT, Roger Riggs wrote: > When an exception handler for an OutOfMemoryError uses string concatenation > to compose an exception message, the invoke dynamic string format > implementation may itself exhaust memory, preventing the exception from being > handled. > Ex

Re: RFR: 8324657: Intermittent OOME on exception message create

2024-01-24 Thread Naoto Sato
On Mon, 22 Jan 2024 20:52:32 GMT, Roger Riggs wrote: > When an exception handler for an OutOfMemoryError uses string concatenation > to compose an exception message, the invoke dynamic string format > implementation may itself exhaust memory, preventing the exception from being > handled. > Ex

Re: RFR: 8324657: Intermittent OOME on exception message create

2024-01-24 Thread Iris Clark
On Mon, 22 Jan 2024 20:52:32 GMT, Roger Riggs wrote: > When an exception handler for an OutOfMemoryError uses string concatenation > to compose an exception message, the invoke dynamic string format > implementation may itself exhaust memory, preventing the exception from being > handled. > Ex

Re: RFR: 8324657: Intermittent OOME on exception message create

2024-01-24 Thread Lance Andersen
On Mon, 22 Jan 2024 20:52:32 GMT, Roger Riggs wrote: > When an exception handler for an OutOfMemoryError uses string concatenation > to compose an exception message, the invoke dynamic string format > implementation may itself exhaust memory, preventing the exception from being > handled. > Ex

RFR: 8324657: Intermittent OOME on exception message create

2024-01-24 Thread Roger Riggs
When an exception handler for an OutOfMemoryError uses string concatenation to compose an exception message, the invoke dynamic string format implementation may itself exhaust memory, preventing the exception from being handled. Explicit use of String.concat() call can improve exception handling.