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

Improve memory consumption in Attribute#getValue #1

Open
Ingvord opened this issue Aug 31, 2012 · 0 comments
Open

Improve memory consumption in Attribute#getValue #1

Ingvord opened this issue Aug 31, 2012 · 0 comments

Comments

@Ingvord
Copy link
Contributor

Ingvord commented Aug 31, 2012

Originally reported by: HZG/WPN (Bitbucket: hzgwpn, GitHub: Unknown)


Currently each request to Attribute#getValue creates several 'junk' objects such as temporary Map.Entry instances (ConcurrentNavigableMap creates new objects when is being accessed).

This could be enchanced by usage of not-thread safe implementation of the map (wich returns references instead of objects) and excplicit Read/Write lock (or intrinsic lock) - investigation required.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant