Results

Open
#1 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Quiet
Tech stack
java, shell
Domain
performance

Research direction

The issue contains benchmark results for JDK 25 and JDK 27 on an M1 MacBook Pro, including default and -Xms32m runs. No repository file, test, or entry point is named, and the issue does not define a change or acceptance criteria. Clarify whether the results should be documented, investigated, or used to create a benchmark regression test before starting.

Written by the indexing model from the issue text.

Description

An issue to share results.

On my MacBook Pro M1, at commit 7b967ffe999f26cf2d8bd9783ad9574a120fafe1 using OpenJDK 64-Bit Server VM (build 25.0.3+11-LTS, mixed mode, sharing) and OpenJDK 64-Bit Server VM (build 27-ea+23-2078, mixed mode, sharing).

With otherwise default command-line options

========================================
Running benchmarks for JDK 25
========================================
openjdk version "25.0.3" 2026-04-21 LTS
OpenJDK Runtime Environment (build 25.0.3+11-LTS)
OpenJDK 64-Bit Server VM (build 25.0.3+11-LTS, mixed mode, sharing)
Preparing AOT cache for JDK 25 (No COH)...
Preparing AOT cache for JDK 25 (With COH)...
Run 1/10... Done
Run 2/10... Done
Run 3/10... Done
Run 4/10... Done
Run 5/10... Done
Run 6/10... Done
Run 7/10... Done
Run 8/10... Done
Run 9/10... Done
Run 10/10... Done
========================================
Running benchmarks for JDK 27
========================================
openjdk version "27-ea" 2026-09-15
OpenJDK Runtime Environment (build 27-ea+23-2078)
OpenJDK 64-Bit Server VM (build 27-ea+23-2078, mixed mode, sharing)
Preparing AOT cache for JDK 27 (No COH)...
Preparing AOT cache for JDK 27 (With COH)...
Run 1/10... Done
Run 2/10... Done
Run 3/10... Done
Run 4/10... Done
Run 5/10... Done
Run 6/10... Done
Run 7/10... Done
Run 8/10... Done
Run 9/10... Done
Run 10/10... Done
========================================
Summary of runs
========================================
Configuration                   RSS (MB) Avg [Min, Max]         Startup (ms) Avg [Min, Max]
----------------------------------------------------------------------------------------
JDK 25 (AOT=false, COH=false)   150.70 [149, 155]               1015.80 [955, 1062]      
JDK 25 (AOT=false, COH=true)    149.90 [149, 153]               1011.50 [952, 1060]      
JDK 25 (AOT=true, COH=false)    117.50 [114, 120]               334.60 [293, 409]        
JDK 25 (AOT=true, COH=true)     120.80 [118, 122]               322.80 [289, 352]        
JDK 27 (AOT=false, COH=false)   182.10 [178, 189]               1010.00 [938, 1108]      
JDK 27 (AOT=false, COH=true)    183.50 [179, 187]               1052.30 [934, 1280]      
JDK 27 (AOT=true, COH=false)    122.90 [120, 125]               350.30 [313, 422]        
JDK 27 (AOT=true, COH=true)     126.00 [124, 128]               357.60 [331, 459]

  • With defaults (COH, no AOT), RSS increases from 151 MB to 182 MB (20.5%) from JDK 25 to 27 EA b23
With `-Xms32m`

========================================
Running benchmarks for JDK 25
========================================
openjdk version "25.0.3" 2026-04-21 LTS
OpenJDK Runtime Environment (build 25.0.3+11-LTS)
OpenJDK 64-Bit Server VM (build 25.0.3+11-LTS, mixed mode, sharing)
Preparing AOT cache for JDK 25 (No COH)...
Preparing AOT cache for JDK 25 (With COH)...
Run 1/10... Done
Run 2/10... Done
Run 3/10... Done
Run 4/10... Done
Run 5/10... Done
Run 6/10... Done
Run 7/10... Done
Run 8/10... Done
Run 9/10... Done
Run 10/10... Done
========================================
Running benchmarks for JDK 27
========================================
openjdk version "27-ea" 2026-09-15
OpenJDK Runtime Environment (build 27-ea+23-2078)
OpenJDK 64-Bit Server VM (build 27-ea+23-2078, mixed mode, sharing)
Preparing AOT cache for JDK 27 (No COH)...
Preparing AOT cache for JDK 27 (With COH)...
Run 1/10... Done
Run 2/10... Done
Run 3/10... Done
Run 4/10... Done
Run 5/10... Done
Run 6/10... Done
Run 7/10... Done
Run 8/10... Done
Run 9/10... Done
Run 10/10... Done
========================================
Summary of runs
========================================
Configuration                   RSS (MB) Avg [Min, Max]         Startup (ms) Avg [Min, Max]
----------------------------------------------------------------------------------------
JDK 25 (AOT=false, COH=false)   150.90 [149, 154]               996.10 [967, 1035]       
JDK 25 (AOT=false, COH=true)    149.30 [142, 156]               1040.10 [985, 1238]      
JDK 25 (AOT=true, COH=false)    117.30 [115, 120]               308.20 [290, 325]        
JDK 25 (AOT=true, COH=true)     120.90 [118, 122]               329.20 [301, 360]        
JDK 27 (AOT=false, COH=false)   164.00 [153, 187]               1012.90 [958, 1046]      
JDK 27 (AOT=false, COH=true)    164.20 [150, 190]               1019.80 [949, 1098]      
JDK 27 (AOT=true, COH=false)    120.80 [120, 123]               339.50 [319, 401]        
JDK 27 (AOT=true, COH=true)     119.10 [117, 123]               332.00 [301, 388]

  • With -Xms32m and otherwise defaults (COH, no AOT), RSS increases from 151 MB to 164 MB (8.6%) from JDK 25 to 27 EA b23
Dominant language
Shell
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.