Skip to content

enable single node ZGC testing - #768

Open
occasional-handbook wants to merge 3 commits into
developfrom
lr/single-zgc-node
Open

occasional-handbook wants to merge 3 commits into
developfrom
lr/single-zgc-node

Conversation

@occasional-handbook

Copy link
Copy Markdown

Before this PR

we cannot test ZGC on a single node, it is all-or-nothing. Instead, we could allow a single node to use ZGC, and compare performance more directly.

After this PR

==COMMIT_MSG==
==COMMIT_MSG==

Possible downsides?

@changelog-app

changelog-app Bot commented Sep 2, 2026

Copy link
Copy Markdown

Generate changelog in changelog/@unreleased

Type (Select exactly one)

  • Feature (Adding new functionality)
  • Improvement (Improving existing functionality)
  • Fix (Fixing an issue with existing functionality)
  • Break (Creating a new major version by breaking public APIs)
  • Deprecation (Removing functionality in a non-breaking way)
  • Migration (Automatically moving data/functionality to a new system)

Description

enable single node ZGC testing

Check the box to generate changelog(s)

  • Generate changelog entry

@occasional-handbook
occasional-handbook marked this pull request as draft September 2, 2026 17:39
@occasional-handbook
occasional-handbook marked this pull request as ready for review September 3, 2026 10:13
parker89
parker89 previously approved these changes Sep 3, 2026

@parker89 parker89 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for RC

@policy-bot
policy-bot Bot dismissed parker89’s stale review September 3, 2026 13:21

Invalidated by push of e6cbdcc

Comment thread launchlib/config.go
AllowHeapShrink bool `yaml:"allowHeapShrink,omitempty"`
// ZGCCanaryHostnameSuffix replaces the SLS Packaging GC profile options on the host whose name has the
// configured suffix.
ZGCCanaryHostnameSuffix string `yaml:"zgcCanaryHostnameSuffix,omitempty"`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we were to release this beyond RC, I think we should change this to be more broad and flexible.

For example, an option where you can more generally override config on canary node0, for some fraction of nodes. This way you can canary settings other than GC (like string interning settings -XX:+UseStringDeduplication), and also canary different fractions of nodes (instead of just one node: node0).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants