Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy compilation (replacement to snapshots) #132

Open
playXE opened this issue Aug 5, 2021 · 0 comments
Open

Lazy compilation (replacement to snapshots) #132

playXE opened this issue Aug 5, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@playXE
Copy link
Collaborator

playXE commented Aug 5, 2021

Snapshots are cool but they tend to consume some heap memory and require a fully initialized heap. When we will switch to Comet as our GC we should replace snapshots with lazy init.

Pros:

  • Same fast startup time
  • Less memory consumption. Memory is allocated on demand
  • Simplify code base. Snapshots require a lot of maintenance and it is quite hard to debug them.

Cons:

  • No way to create a fully initialized VM instance on the fly
@playXE playXE added the enhancement New feature or request label Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant