LWN.net Logo

useful to trigger gc in userspace?

useful to trigger gc in userspace?

Posted Jan 6, 2013 21:01 UTC (Sun) by ahornby (subscriber, #3366)
Parent article: The mempressure control group proposal

This is a potential route to remove the need for predetermined heap sizes in the JVM and other GC based systems. The low memory message for the control group would be an appropriate time to trigger a full compacting GC rather than once heap hits some arbitrary per process limit.


(Log in to post comments)

useful to trigger gc in userspace?

Posted Jan 7, 2013 12:30 UTC (Mon) by renox (subscriber, #23785) [Link]

Yes, and hopefully it could be used to make application with GCs much better "good citizens" on a shared computer, see "Garbage Collection Without Paging" (their Linux patch was rejected)
http://lambda-the-ultimate.org/node/2391

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds