Skip to content

Comments

[GR-68708] Enable uncached Bytecode DSL interpreter.#652

Closed
graalvmbot wants to merge 7 commits intomasterfrom
ss/uncached-bci-dsl
Closed

[GR-68708] Enable uncached Bytecode DSL interpreter.#652
graalvmbot wants to merge 7 commits intomasterfrom
ss/uncached-bci-dsl

Conversation

@graalvmbot
Copy link
Collaborator

results for little local benchmark that imports multiple stdlib modules, java heap size:

  • manual interpreter: ~95MB
  • bytecode DSL w/o uncached: ~178MB
  • bytecode DSL uncached limit 1: ~110MB
  • bytecode DSL uncached limit 10000: ~107MB

benchmarks:

  • interpreter micro benchmarks: positive effect (>10% for multiple benchmarks) except one 15% regression
  • no significant effect on JMH context init benchmarks

Local experiments with various limit sizes:

  • startup-imports benchmark is added in separate PR
  • PGO builds with profiling runs done with given limit
Average:
    +-----------------+----------+------------------+
    | Build           | Startup  | Startup-Imports  |
    +-----------------+----------+------------------+
    | limit 5         | 0.922    | 6.305<<          |
    | limit 9         | 0.891    | 6.560            |
    | limit 17        | 0.883<<  | 6.570            |
    | limit 129       | 0.885    | 6.361            |
    | master          | 0.919    | 7.018            |
    | limit 2         | 0.961    | 6.640            |
    +-----------------+----------+------------------+

Best iteration:
    +-----------------+----------+------------------+
    | Build           | Startup  | Startup-Imports  |
    +-----------------+----------+------------------+
    | limit 5         | 0.890    | 5.683<<          |
    | limit 9         | 0.869    | 6.075            |
    | limit 17        | 0.870    | 6.087            |
    | limit 129       | 0.868<<  | 5.932            |
    | master          | 0.890    | 6.493            |
    | limit 2         | 0.943    | 5.915            |
    +-----------------+----------+------------------+

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Feb 20, 2026
@graalvmbot graalvmbot closed this Feb 20, 2026
@graalvmbot graalvmbot deleted the ss/uncached-bci-dsl branch February 20, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants