Integrated: 8367801: jtreg failure_handler - don't use the -L option for ps command

Jaikiran Pai jpai at openjdk.org
Fri Sep 19 01:39:42 UTC 2025


On Wed, 17 Sep 2025 05:20:29 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Can I please get a review of this trivial change to a jtreg failure handler command?
> 
> As noted in https://bugs.openjdk.org/browse/JDK-8367801, the change in this PR removes the use of "-L" option from the "ps" command to reduce the noise in the output of "ps". I have verified that the command continues to function properly when run as a failure handler action and it no longer contains the thread entries in the output.
> 
> The use of "-L" was introduced when this support to run failure handlers was first introduced in https://bugs.openjdk.org/browse/JDK-8132961. So there's wasn't explicit prior reason for including the "-L" option.

This pull request has now been integrated.

Changeset: 7ec3fa5f
Author:    Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7ec3fa5f0a7408bf70e6226814d80dabd8a1a93c
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8367801: jtreg failure_handler - don't use the -L option for ps command

Reviewed-by: ayang, shade

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

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


More information about the build-dev mailing list