RFR: 8353439: Shell grouping of -XX:OnError= commands is surprising
Kevin Walls
kevinw at openjdk.org
Tue Apr 1 13:54:28 UTC 2025
On Tue, 1 Apr 2025 10:59:16 GMT, Kevin Walls <kevinw at openjdk.org> wrote:
> We should be consistent, and run all OnError items in a new shell. Currently the ; separator causes a new shell, but multiple -XX:OnError= options are grouped into the same shell.
>
> next_OnError_command() decides on where a new command starts. It should recognise newlines, and all commands will get their own shell.
These tests reference -XX:OnError and all still pass:
test/hotspot/jtreg/gc/epsilon/TestDieWithOnError.java
test/hotspot/jtreg/runtime/ErrorHandling/TestOnError.java
test/hotspot/jtreg/runtime/ErrorHandling/TimeoutInErrorHandlingTest.java
test/hotspot/jtreg/serviceability/sa/ClhsdbFlags.java
All of tiers 1,2,3 in CI also.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24354#issuecomment-2769429231
More information about the hotspot-dev
mailing list