JDK-8293000 : Review running times of jshell regression tests
  • Type: Sub-task
  • Component: tools
  • Sub-Component: jshell
  • Affected Version: 20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-08-26
  • Updated: 2022-10-03
  • Resolved: 2022-09-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 20
20 masterFixed
Description
Multiple jshell regression tests are among the longest-running the langtools regression test suite including:

    ./jdk/jshell/ClassMembersTest.jtr 107729
    ./jdk/jshell/ToolBasicTest.jtr 92187
    ./jdk/jshell/ToolSimpleTest.jtr 61737 
    ./jdk/jshell/VariablesTest.jtr 52343 
    ./jdk/jshell/FailOverExecutionControlHangingListenTest.jtr 42135
    ./jdk/jshell/FailOverExecutionControlDyingLaunchTest.jtr 42081
    ./jdk/jshell/FailOverExecutionControlHangingLaunchTest.jtr 41896 
    ./jdk/jshell/CompletionSuggestionTest.jtr 37872 
    ./jdk/jshell/SimpleRegressionTest.jtr 31444 
Comments
Changeset: b4e1e416 Author: Adam Sotona <asotona@openjdk.org> Date: 2022-09-30 08:57:50 +0000 URL: https://git.openjdk.org/jdk/commit/b4e1e416dacb6099a780f2250cef737834c19d56
30-09-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/10428 Date: 2022-09-26 17:21:07 +0000
26-09-2022

Removed Thread.sleep from ./jdk/jshell/ToolBasicTest 9931
26-09-2022

Using local execution control: ./jdk/jshell/ClassMembersTest.jtr 4979 ./jdk/jshell/ToolSimpleTest.jtr 7479 ./jdk/jshell/CompletionSuggestionTest.jtr 3953 ./jdk/jshell/SimpleRegressionTest.jtr 2707
26-09-2022

Join of 6 individual tests into a single test in ExecutionControlTestBase gives following numbers: ./jdk/jshell/FailOverExecutionControlHangingListenTest.jtr 7181 ./jdk/jshell/FailOverExecutionControlDyingLaunchTest.jtr 7216 ./jdk/jshell/FailOverExecutionControlHangingLaunchTest.jtr 7168
26-09-2022

I'm adding number of tests and my measured numbers for progress tracking: ./jdk/jshell/ClassMembersTest.jtr (149) 23964 ./jdk/jshell/ToolBasicTest.jtr (39) 24281 ./jdk/jshell/ToolSimpleTest.jtr (58) 9410 ./jdk/jshell/VariablesTest.jtr (34) 4307 ./jdk/jshell/FailOverExecutionControlHangingListenTest.jtr (6) 31221 ./jdk/jshell/FailOverExecutionControlDyingLaunchTest.jtr (6) 31221 ./jdk/jshell/FailOverExecutionControlHangingLaunchTest.jtr (6) 31303 ./jdk/jshell/CompletionSuggestionTest.jtr (44) 10523 ./jdk/jshell/SimpleRegressionTest.jtr (18) 3629
26-09-2022