Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Enable to configure --add-modules jvm flag #30281

Open
1 of 16 tasks
Abacn opened this issue Feb 9, 2024 · 0 comments · May be fixed by #34289
Open
1 of 16 tasks

[Feature Request]: Enable to configure --add-modules jvm flag #30281

Abacn opened this issue Feb 9, 2024 · 0 comments · May be fixed by #34289

Comments

@Abacn
Copy link
Contributor

Abacn commented Feb 9, 2024

What would you like to happen?

There are interests to leverage the new Vector API (AVX2 CPU instructions) in Java [1], which requires special JVM flags for activation (--add-modules=jdk.incubator.vector). However, Java SDK container current does not expose this option. But similarly, we do support user config --add-opens JVM options:

if modules, ok := pipelineOptions.GetStructValue().GetFields()["jdkAddOpenModules"]; ok {

We may consider add similar support for --add-modules flags.

[1] https://docs.oracle.com/en/java/javase/21/docs/api/jdk.incubator.vector/jdk/incubator/vector/package-summary.html

Issue Priority

Priority: 3 (nice-to-have improvement)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant