Integrated: 8258652: Assert in JvmtiThreadState::cur_stack_depth() can noticeably slow down debugging single stepping
Chris Plummer
cjplummer at openjdk.java.net
Thu Jan 14 23:07:03 UTC 2021
On Fri, 18 Dec 2020 02:01:28 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> There is an assert in `JvmtiThreadState::cur_stack_depth()` that tends to slow down single stepping a lot when running the debuggee with a debug jvm. See CR for details. The fix is to allow disabling of this assert using the new EnableJVMTIStackDepthAsserts global, which defaults to true.
This pull request has now been integrated.
Changeset: 4f881ba5
Author: Chris Plummer <cjplummer at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/4f881ba5
Stats: 12 lines in 2 files changed: 8 ins; 0 del; 4 mod
8258652: Assert in JvmtiThreadState::cur_stack_depth() can noticeably slow down debugging single stepping
Reviewed-by: sspitsyn, dholmes, amenkov
-------------
PR: https://git.openjdk.java.net/jdk/pull/1835
More information about the serviceability-dev
mailing list