Skip to content

improve JDK 25 AOT cache usage #1824

Closed
Closed

Description

@martinlippert

As mentioned in #1774 (comment), we need to look into the AOT usage and output to see what can be done to further improve the AOT cache usage and reduce the number of classes that can't be cached.

For now, it looks like some JAR file signing of the Eclipse JARs prevent the Leyden AOT cache implementation from caching data for those classes, so we might need to remove the signatures (as a first idea).

Activity

  1. added this to the 5.2.0.RELEASE milestone on Mar 3, 2026
  2. added
    for: eclipse
    for: vscode
    on Mar 3, 2026
  3. martinlippert commented on Mar 23, 2026

    @martinlippert
    MemberAuthor

    Turning on detailed Leyden AOT logging, I can see lots of messages like:

    [warning][aot] Skipping org/eclipse/jdt/core/dom/PackageDeclaration: Signed JAR
    

    We can solve this by removing the signatures from the Eclipse JAR files in the packaged boot.ls bundle.

  4. martinlippert commented on Mar 23, 2026

    @martinlippert
    MemberAuthor

    Next suspicious log from Leyden, I see quite a bunch of those:

    [warning][aot] Skipping jdk/proxy2/$Proxy42: Unsupported location
    
  5. added a commit that references this issue on Mar 25, 2026
  6. martinlippert commented on Mar 30, 2026

    @martinlippert
    MemberAuthor

    Removing the signatures is all that I can think of around this at the moment, therefore closing this as done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: eclipsefor: vscodetheme: performancetype: enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions