On Fri, 18 Dec 2020 02:01:28 GMT, Chris Plummer <[email protected]> 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 works but I'm concerned if this sets a precedent for adding expensive assertions? Do we already have similar flags? ------------- PR: https://git.openjdk.java.net/jdk/pull/1835
