Repository navigation
Maven and program-run JVMs start C1-only, one GC thread (Part of #5882) - #5922
Merged
Merged
Conversation
…5882) JVM_SHORT_RUN_FLAGS (-XX:TieredStopAtLevel=1 -XX:+UseSerialGC) on Maven's own JVM (MAVEN_OPTS via maven_utf8_env: every harness Maven run, CICS Crucible's included), the equivalence run's argLine (the direct java run and surefire's fork alike), the --one-jvm session JVM, and CICS Crucible's -DargLine. A run lives seconds: C2 never pays back, and its threads take the cores the other parallel cases need. Measured on 4 pinned cores, det sweep --jobs 4 (the CI shard shape), 2 runs each: java_direct non-Db2 88/81 s -> 64/61 s, Db2 117/90 s -> 52/71 s; whole sweep non-Db2 105/94 s -> 81/76 s. 16/16 case comparisons SAME (verdicts, outputs, coverage, COBOL files). Four cold Maven test-compiles: 20.9 s -> 8.4-10.1 s, class files identical. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
enabled auto-merge (squash)
October 21, 2026 22:04
Owner
Author
|
No description provided. |
squid-protocol
added a commit
that referenced
this pull request
Oct 21, 2026
…art of #5882) (#5926) * CICS Crucible: a shard measures four cases at once (--jobs, Part of #5882) A shard ran its ~11 cases one after another on a 4-vCPU runner: the case times add up to the shard's wall time (154 s of 155 s locally). cics_crucible.py --jobs N measures N cases at once, each in a spawned process (quiet() redirects a whole process's fds, so not threads); the parent prints each case's lines in case order and merges cells, coverage and the ports' actual / entries collectors, so results and log are the sequential run's. The workflow passes --jobs 4. Shard 1/4 on 4 pinned cores: 155 s -> 101 s; with #5922's C1 flags 57 s (2.7x). results.json cells / coverage / oracle / shard SAME at --jobs 2, 3 and 4; the log line for line the same. Co-Authored-By: Claude Opus 5.5 <[email protected]> * CICS Crucible: two shards, not four, now that a shard runs four cases at once (Part of #5882) Each measure job costs ~40 s of setup (checkout, clone, pip, JDK, Maven cache, oracle image) and a runner slot of the shared pool; with --jobs 4 two shards (22 / 21 cases, 607 / 608 recorded seconds) finish about with runner-tests. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #5882 (CI speed). Follow-up to #5920, which did the same for javac; the two merge cleanly in either order.
What it does:
maven_exe.JVM_SHORT_RUN_FLAGS(-XX:TieredStopAtLevel=1 -XX:+UseSerialGC) on:MAVEN_OPTSthroughmaven_utf8_env, so every harness Maven run, CICS Crucible's includedjava ... EquivalenceMainrun and surefire's fork alike, which keeps test_mutation_tooling's "direct flags = Maven's" check true--one-jvmsession JVM's command (its per-run stdin only forwards-Dproperties)-DargLineThe owner OK'd applying it to the program-run JVM. The JIT tier changes speed, not what the program computes (Java 17 floating point is strict at every tier).
Measured on 4 pinned cores with
--jobs 4(a det shard's shape), baseline = #5920's tree, two interleaved runs each:Same results: 16/16 case comparisons SAME (
ab_compare.py: verdicts, outputs, coverage, every task's COBOL files). The Maven class files are identical.On CI run 39658216307, java_direct was 816 s and java_maven 239 s of shard 1/6. The
detjob's Shard timings will show the effect.Evidence: editing equivalence_java.py marks evidence records stale on "harness" (re-proven by the scheduled job), as any harness change and #5920 already do. maven_exe.py is not in HARNESS.
Tests: the 44 test files that reference maven_utf8_env / MAVEN_OPTS / JVM_UTF8_FLAGS / start_session / run_maven / cics_crucible, plus test_mutation_tooling: 1075 passed, 45 skipped. Ruff: no new findings.
🤖 Generated with Claude Code