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

Use G1 garbage collector #1

Closed
hanslovsky opened this issue Sep 18, 2019 · 4 comments
Closed

Use G1 garbage collector #1

hanslovsky opened this issue Sep 18, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@hanslovsky
Copy link
Collaborator

cf https://dzone.com/articles/choosing-the-right-gc

@hanslovsky hanslovsky added the enhancement New feature or request label Sep 18, 2019
@hanslovsky
Copy link
Collaborator Author

I will not include this in the next release as this should probably wait for scijava/jgo#58

@hanslovsky
Copy link
Collaborator Author

@igorpisarev, once scijava/jgo#58 is merged, launch_paintera should handle setting the appropriate garbage collector, i.e.

  1. If any garbage collector is specified (probably best to check if any of the legal gc settings is already present), do not do anything,
  2. Add -XX:+UseG1GC flag (and -- if necessary) otherwise.

@igorpisarev
Copy link

igorpisarev commented Mar 23, 2020

That's cool! I haven't tried the G1 garbage collector so it would be interesting to see how it performs. I just read that it was made the default in Java 9+, so it seems that we won't need to set it explicitly when we update to Java 13.

@cmhulbert
Copy link
Contributor

Since version 0.26.0, Paintera target Java 11. As such, this can be closed.

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

3 participants