eddieran commented on PR #16195: URL: https://github.com/apache/dubbo/pull/16195#issuecomment-4263771870
Thanks @RainYuY — added the toggle. Users can restore the legacy `dumpAllThreads(true, true)` behaviour by setting: ``` -Ddubbo.jstack-dump.locked-synchronizers=true ``` Default remains `false` since, as discussed in #16194, that flag triggers a full-heap safepoint scan that can freeze the JVM for tens of seconds on ZGC + large heaps. The opt-in gives operators the escape hatch for the rare cases where they need the j.u.c.lock ownership info. cc @zrlw FYI — I kept the default-safe semantics, which matches the [OpenJDK JDK-8324066](https://bugs.openjdk.org/browse/JDK-8324066) precedent. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
