RFR: 8327105: compiler.compilercontrol.share.scenario.Executor should listen on loopback address only

Jaikiran Pai jpai at openjdk.org
Fri Mar 1 13:12:01 UTC 2024


Can I please get a review of this test-only change which proposes to address https://bugs.openjdk.org/browse/JDK-8327105?

The commit here changes the internal test class `compiler.compilercontrol.share.scenario.Executor` to bind to a loopback address to prevent other hosts on the network to unexpected communicate on the `ServerSocket`.

The original interference was noticed in some `tier7` tests which use this `Executor` class. With the change proposed in this PR, `tier1`, `tier2`, `tier3` and `tier7`, `tier8` have been run and that issue hasn't been noticed in this class anymore.

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

Commit messages:
 - 8327105: compiler.compilercontrol.share.scenario.Executor should listen on loopback address only

Changes: https://git.openjdk.org/jdk/pull/18079/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18079&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8327105
  Stats: 7 lines in 2 files changed: 3 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/18079.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18079/head:pull/18079

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


More information about the hotspot-compiler-dev mailing list