redpanda-data / redpanda-data/openmessaging-benchmark
JVM options are questionable
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 40
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
There are quite a few questionable JVM options
- Running G1 with a 10ms pause time goal is theoretically possible but ZGC and Shenandoah are really better suited for this. Note you're trading throughput for latency.
-XX:+ParallelRefProcEnabledis default since JDK 17 https://www.oracle.com/java/technologies/javase/17-relnote-issues.html#JDK-8204686-XX:+AggressiveOptshas been removed in https://bugs.openjdk.org/browse/JDK-8150552-XX:+DoEscapeAnalysisis the default, checkjava -XX:+PrintFlagsFinal -version | grep DoEscapeAnalysis- biased locking has been removed in JDK 18 https://bugs.openjdk.org/browse/JDK-8256425
- Running G1 with a 10ms pause time goal is theoretically possible but ZGC and Shenandoah are really better suited for this. Note you're trading throughput for latency.
-XX:+ParallelRefProcEnabledis default since JDK 17 https://www.oracle.com/java/technologies/javase/17-relnote-issues.html#JDK-8204686-XX:+AggressiveOptshas been removed in https://bugs.openjdk.org/browse/JDK-8150552-XX:+DoEscapeAnalysisis the default, checkjava -XX:+PrintFlagsFinal -version | grep DoEscapeAnalysis- biased locking has been removed in JDK 18 https://bugs.openjdk.org/browse/JDK-8256425
-XX:+ParallelRefProcEnabledis default since JDK 17 https://www.oracle.com/java/technologies/javase/17-relnote-issues.html#JDK-8204686-XX:+AggressiveOptshas been removed in https://bugs.openjdk.org/browse/JDK-8150552-XX:+DoEscapeAnalysisis the default, checkjava -XX:+PrintFlagsFinal -version | grep DoEscapeAnalysis
- Running G1 with a 10ms pause time goal is theoretically possible but ZGC and Shenandoah are really better suited for this. Note you're trading throughput for latency.
-XX:+ParallelRefProcEnabledis default since JDK 17 https://www.oracle.com/java/technologies/javase/17-relnote-issues.html#JDK-8204686-XX:+AggressiveOptshas been removed in https://bugs.openjdk.org/browse/JDK-8150552-XX:+DoEscapeAnalysisis the default, checkjava -XX:+PrintFlagsFinal -version | grep DoEscapeAnalysis- biased locking has been removed in JDK 18 https://bugs.openjdk.org/browse/JDK-8256425
- Running G1 with a 10ms pause time goal is theoretically possible but ZGC and Shenandoah are really better suited for this. Note you're trading throughput for latency.
-XX:+ParallelRefProcEnabledis default since JDK 17 https://www.oracle.com/java/technologies/javase/17-relnote-issues.html#JDK-8204686-XX:+AggressiveOptshas been removed in https://bugs.openjdk.org/browse/JDK-8150552-XX:+DoEscapeAnalysisis the default, checkjava -XX:+PrintFlagsFinal -version | grep DoEscapeAnalysis- biased locking has been removed in JDK 18 https://bugs.openjdk.org/browse/JDK-8256425
- Running G1 with a 10ms pause time goal is theoretically possible but ZGC and Shenandoah are really better suited for this. Note you're trading throughput for latency.
-XX:+ParallelRefProcEnabledis default since JDK 17 https://www.oracle.com/java/technologies/javase/17-relnote-issues.html#JDK-8204686-XX:+AggressiveOptshas been removed in https://bugs.openjdk.org/browse/JDK-8150552-XX:+DoEscapeAnalysisis the default, checkjava -XX:+PrintFlagsFinal -version | grep DoEscapeAnalysis- biased locking has been removed in JDK 18 https://bugs.openjdk.org/browse/JDK-8256425
- Running G1 with a 10ms pause time goal is theoretically possible but ZGC and Shenandoah are really better suited for this. Note you're trading throughput for latency.
-XX:+ParallelRefProcEnabledis default since JDK 17 https://www.oracle.com/java/technologies/javase/17-relnote-issues.html#JDK-8204686-XX:+AggressiveOptshas been removed in https://bugs.openjdk.org/browse/JDK-8150552-XX:+DoEscapeAnalysisis the default, checkjava -XX:+PrintFlagsFinal -version | grep DoEscapeAnalysis- biased locking has been removed in JDK 18 https://bugs.openjdk.org/browse/JDK-8256425
- Running G1 with a 10ms pause time goal is theoretically possible but ZGC and Shenandoah are really better suited for this. Note you're trading throughput for latency.
-XX:+ParallelRefProcEnabledis default since JDK 17 https://www.oracle.com/java/technologies/javase/17-relnote-issues.html#JDK-8204686-XX:+AggressiveOptshas been removed in https://bugs.openjdk.org/browse/JDK-8150552-XX:+DoEscapeAnalysisis the default, checkjava -XX:+PrintFlagsFinal -version | grep DoEscapeAnalysis- biased locking has been removed in JDK 18 https://bugs.openjdk.org/browse/JDK-8256425
- Running G1 with a 10ms pause time goal is theoretically possible but ZGC and Shenandoah are really better suited for this. Note you're trading throughput for latency.
-XX:+ParallelRefProcEnabledis default since JDK 17 https://www.oracle.com/java/technologies/javase/17-relnote-issues.html#JDK-8204686-XX:+AggressiveOptshas been removed in https://bugs.openjdk.org/browse/JDK-8150552-XX:+DoEscapeAnalysisis the default, checkjava -XX:+PrintFlagsFinal -version | grep DoEscapeAnalysis- biased locking has been removed in JDK 18 https://bugs.openjdk.org/browse/JDK-8256425
- Running G1 with a 10ms pause time goal is theoretically possible but ZGC and Shenandoah are really better suited for this. Note you're trading throughput for latency.
-XX:+ParallelRefProcEnabledis default since JDK 17 https://www.oracle.com/java/technologies/javase/17-relnote-issues.html#JDK-8204686-XX:+AggressiveOptshas been removed in https://bugs.openjdk.org/browse/JDK-8150552-XX:+DoEscapeAnalysisis the default, checkjava -XX:+PrintFlagsFinal -version | grep DoEscapeAnalysis- biased locking has been removed in JDK 18 https://bugs.openjdk.org/browse/JDK-8256425
- Running G1 with a 10ms pause time goal is theoretically possible but ZGC and Shenandoah are really better suited for this. Note you're trading throughput for latency.
-XX:+ParallelRefProcEnabledis default since JDK 17 https://www.oracle.com/java/technologies/javase/17-relnote-issues.html#JDK-8204686-XX:+AggressiveOptshas been removed in https://bugs.openjdk.org/browse/JDK-8150552-XX:+DoEscapeAnalysisis the default, checkjava -XX:+PrintFlagsFinal -version | grep DoEscapeAnalysis- biased locking has been removed in JDK 18 https://bugs.openjdk.org/browse/JDK-8256425
-XX:+ParallelRefProcEnabledis default since JDK 17 https://www.oracle.com/java/technologies/javase/17-relnote-issues.html#JDK-8204686-XX:+AggressiveOptshas been removed in https://bugs.openjdk.org/browse/JDK-8150552-XX:+DoEscapeAnalysisis the default, checkjava -XX:+PrintFlagsFinal -version | grep DoEscapeAnalysis
- Running G1 with a 10ms pause time goal is theoretically possible but ZGC and Shenandoah are really better suited for this. Note you're trading throughput for latency.
-XX:+ParallelRefProcEnabledis default since JDK 17 https://www.oracle.com/java/technologies/javase/17-relnote-issues.html#JDK-8204686-XX:+AggressiveOptshas been removed in https://bugs.openjdk.org/browse/JDK-8150552-XX:+DoEscapeAnalysisis the default, checkjava -XX:+PrintFlagsFinal -version | grep DoEscapeAnalysis- biased locking has been removed in JDK 18 https://bugs.openjdk.org/browse/JDK-8256425
-XX:+ParallelRefProcEnabledis default since JDK 17 https://www.oracle.com/java/technologies/javase/17-relnote-issues.html#JDK-8204686-XX:+AggressiveOptshas been removed in https://bugs.openjdk.org/browse/JDK-8150552-XX:+DoEscapeAnalysisis the default, checkjava -XX:+PrintFlagsFinal -version | grep DoEscapeAnalysis
- Running G1 with a 10ms pause time goal is theoretically possible but ZGC and Shenandoah are really better suited for this. Note you're trading throughput for latency.
-XX:+ParallelRefProcEnabledis default since JDK 17 https://www.oracle.com/java/technologies/javase/17-relnote-issues.html#JDK-8204686-XX:+AggressiveOptshas been removed in https://bugs.openjdk.org/browse/JDK-8150552-XX:+DoEscapeAnalysisis the default, checkjava -XX:+PrintFlagsFinal -version | grep DoEscapeAnalysis- biased locking has been removed in JDK 18 https://bugs.openjdk.org/browse/JDK-8256425
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the JVM option sections at the referenced lines in the deploy.yaml files under driver-msk, driver-pravega, driver-kafka, driver-rocketmq, driver-nats-streaming, driver-bookkeeper, driver-rabbitmq, driver-redpanda, driver-nats, driver-nsq, and driver-pulsar. Review the linked JDK references and compare the options across deployments. Done means the questionable or obsolete JVM options are consistently addressed in all listed manifests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devops
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100