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

Mandy Chung mchung at openjdk.org
Fri Sep 22 18:41:22 UTC 2023


On Thu, 14 Sep 2023 17:06:53 GMT, Mandy Chung <mchung at openjdk.org> 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, the initial batch size is changed to 3 which is a bug.  This causes the stack walker to fetch the second batch after walking 2 frames.

This pull request has now been integrated.

Changeset: 9b65b7dd
Author:    Mandy Chung <mchung at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9b65b7ddbe0696813c722dbfd2d97db3b301a7c1
Stats:     8 lines in 1 file changed: 1 ins; 2 del; 5 mod

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

Reviewed-by: bchristi

-------------

PR: https://git.openjdk.org/jdk/pull/15749


More information about the core-libs-dev mailing list