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

Add the ability to customize recompile settings #72

Merged
merged 2 commits into from
Dec 13, 2023

Conversation

shartte
Copy link
Contributor

@shartte shartte commented Dec 13, 2023

This also sets the default memory used for the recompiler to 1g.
I've ran tests, it also would run with 512m, but seems slightly faster with 1g (~10s).

These new options can also be used to run GC analysis on the javac process:

set ORG_GRADLE_PROJECT_neogradle.subsystems.recompiler.jvmArgs=-verbose:gc -Xlog:gc*,safepoint=info:file=C:\directory\gc.log:uptimemillis

(and then run garbagecat on it...)

@marchermans marchermans merged commit 0bcead8 into neoforged:NG_7.0 Dec 13, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants