Re: RFR: 8316305: Initial buffer size of StackWalker is too small caused by JDK-8285447 [v4]

2023-09-22 Thread Brent Christian
On Fri, 22 Sep 2023 17:32:32 GMT, Mandy Chung wrote: >> A trivial fix. [JDK-8285447](https://bugs.openjdk.org/browse/JDK-8285447) >> intends to change the initial batch size only for a stack walker with an >> estimated stack depth. For stack walkers without user-supplied estimated >> stack d

Re: RFR: 8316305: Initial buffer size of StackWalker is too small caused by JDK-8285447 [v4]

2023-09-22 Thread Mandy Chung
> A trivial fix. [JDK-8285447](https://bugs.openjdk.org/browse/JDK-8285447) > intends to change the initial batch size only for a stack walker with an > estimated stack depth. For stack walkers without user-supplied estimated > stack depth, the initial batch size is changed to 3 which is a bug

Re: RFR: 8316305: Initial buffer size of StackWalker is too small caused by JDK-8285447 [v3]

2023-09-21 Thread Mandy Chung
> A trivial fix. [JDK-8285447](https://bugs.openjdk.org/browse/JDK-8285447) > intends to change the initial batch size only for a stack walker with an > estimated stack depth. For stack walkers without user-supplied estimated > stack depth, the initial batch size is changed to 3 which is a bug

Re: RFR: 8316305: Initial buffer size of StackWalker is too small caused by JDK-8285447 [v2]

2023-09-21 Thread Mandy Chung
> A trivial fix. [JDK-8285447](https://bugs.openjdk.org/browse/JDK-8285447) > intends to change the initial batch size only for a stack walker with an > estimated stack depth. For stack walkers without user-supplied estimated > stack depth, the initial batch size is changed to 3 which is a bug

Re: RFR: 8316305: Initial buffer size of StackWalker is too small caused by JDK-8285447

2023-09-14 Thread Brent Christian
On Thu, 14 Sep 2023 21:15:48 GMT, Mandy Chung wrote: >> src/java.base/share/classes/java/lang/StackStreamFactory.java line 544: >> >>> 542: return walker.estimateDepth() == 0 >>> 543: ? SMALL_BATCH >>> 544: : Math.min(walker.estimat

Re: RFR: 8316305: Initial buffer size of StackWalker is too small caused by JDK-8285447

2023-09-14 Thread Brent Christian
On Thu, 14 Sep 2023 17:06:53 GMT, Mandy Chung wrote: > A trivial fix. [JDK-8285447](https://bugs.openjdk.org/browse/JDK-8285447) > intends to change the initial batch size only for a stack walker with an > estimated stack depth. For stack walkers without user-supplied estimated > stack depth

Re: RFR: 8316305: Initial buffer size of StackWalker is too small caused by JDK-8285447

2023-09-14 Thread Mandy Chung
On Thu, 14 Sep 2023 20:42:57 GMT, Brent Christian wrote: >> A trivial fix. [JDK-8285447](https://bugs.openjdk.org/browse/JDK-8285447) >> intends to change the initial batch size only for a stack walker with an >> estimated stack depth. For stack walkers without user-supplied estimated >> sta

Re: RFR: 8316305: Initial buffer size of StackWalker is too small caused by JDK-8285447

2023-09-14 Thread Brent Christian
On Thu, 14 Sep 2023 17:06:53 GMT, Mandy Chung wrote: > A trivial fix. [JDK-8285447](https://bugs.openjdk.org/browse/JDK-8285447) > intends to change the initial batch size only for a stack walker with an > estimated stack depth. For stack walkers without user-supplied estimated > stack depth

RFR: 8316305: Initial buffer size of StackWalker is too small caused by JDK-8285447

2023-09-14 Thread Mandy Chung
A trivial fix. [JDK-8285447](https://bugs.openjdk.org/browse/JDK-8285447) intends to change the initial batch size only for a stack walker with an estimated stack depth. For stack walkers without user-supplied estimated stack depth, the initial batch size is changed to 3 which is a bug. This