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

Reduce memory pressure from new objects during loading screen #3907

Merged
merged 1 commit into from May 20, 2017

Conversation

mezz
Copy link
Contributor

@mezz mezz commented May 20, 2017

I was debugging JEI's memory use during startup and ran across a small/simple improvement for Forge's loading screen.

Using Java Mission Control to (roughly) measure memory pressure at startup on the FC1 pack:

Larger stack trace view that led me to look at this code:
jmc_2017-05-20_12-40-39

Before PR (section takes about 10%):
jmc_2017-05-20_12-37-51

After PR (section takes about 3%):
jmc_2017-05-20_12-38-15

@mezz mezz added 1.11 Performance This request deals with performance, whether reporting issues or claiming to improve it. labels May 20, 2017
@LexManos LexManos merged commit 14d8151 into MinecraftForge:1.11.x May 20, 2017
@mezz mezz deleted the memory-pressure branch December 2, 2017 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.11 Performance This request deals with performance, whether reporting issues or claiming to improve it.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants