demos-java icon indicating copy to clipboard operation
demos-java copied to clipboard

Demo for JEP 483

Open AloisSeckar opened this issue 10 months ago • 5 comments

I made a false assumption that https://openjdk.org/jeps/483 is only a preview for JEP 514 and JEP 515 and so it was implemented.

However, there is more than that much more than that - it allows creating AOT cache, which is a topic worth covering and explaining.

Reference article is here - https://inside.java/2026/01/09/run-aot-cache/


Be sure you know and follow contribution guide. Feel free to ask first when in doubt to avoid any misunderstandings.

AloisSeckar avatar Jan 11 '26 18:01 AloisSeckar

Hi @AloisSeckar,

I’d like to work on this issue.

My plan is to add a clear demo for JEP 483, focusing on:

  • explaining the AOT cache concept introduced by JEP 483,
  • providing a runnable example consistent with the existing demo structure,
  • and adding short inline documentation/comments for clarity.

Please let me know if this approach sounds good. I’ll follow the contribution guidelines.

Harshit057 avatar Jan 14 '26 08:01 Harshit057

Thanks for your interest.

I wonder if we can provide runnable demo that will show something interesting for casual user. But I am looking forward for the result.

If you need help, let me know.

AloisSeckar avatar Jan 14 '26 08:01 AloisSeckar

@AloisSeckar Thanks for the assignment, I have started working on it already, but just a quick question for the demo, is it acceptable to rely on console output and timing differences (first run vs cached run), or would you prefer something more explicit (e.g. showing the cache directory / files created)?

Harshit057 avatar Jan 15 '26 19:01 Harshit057

Most of the demos rely on showing the features as console output, so it would be fine to focus on this.

AloisSeckar avatar Jan 15 '26 19:01 AloisSeckar

@AloisSeckar, I’ve updated the work. Please review it and let me know if any changes are needed.

Harshit057 avatar Jan 16 '26 17:01 Harshit057