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

ARTEMIS-1586 Reduce GC pressure due to String allocations on Core protocol #1755

Closed

Conversation

michaelandrepearce
Copy link
Contributor

Using Google guava Interners, intern SimpleString creation within stack, so to avoid new SimpleString objects which represent the same thing.

@michaelandrepearce
Copy link
Contributor Author

michaelandrepearce commented Jan 5, 2018

@franz1981 i'd like to offer this alternative approach, i think its less invasive, deals with reducing SimpleString object creation on heap much more widely e.g. not just single case, and is much less code / easier to maintain.

@michaelandrepearce michaelandrepearce force-pushed the ARTEMIS-1586 branch 3 times, most recently from 43660e9 to f5906b9 Compare January 6, 2018 00:06
…tocol

Using Google guava Interners, intern SimpleString creation within stack, so to avoid new SimpleString objects which represent the same thing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants