RFR: 8326611: Clean up vmTestbase/nsk/stress/stack tests

Andrey Turbanov aturbanov at openjdk.org
Mon Feb 26 08:53:53 UTC 2024


On Sat, 24 Feb 2024 04:10:06 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> The vmTestbase/nsk/stress/stack might be slightly refactored to improve reading. Mostly, simple refactoring.
> Test logic was not changed, except removing verbose mode and enabling printing.

test/hotspot/jtreg/vmTestbase/nsk/stress/stack/stack009.java line 60:

> 58:             try {
> 59:                 recurse(depth);
> 60:             } catch (StackOverflowError | OutOfMemoryError error1)  {

Suggestion:

            } catch (StackOverflowError | OutOfMemoryError error1) {

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17993#discussion_r1502234978


More information about the hotspot-runtime-dev mailing list