Skip to content

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

@Abacn

Description

@Abacn

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions