0
$\begingroup$

I been thinking about an improvement to a garbage collector (details not important for this question) and wished to know how often does a object have no reference to other objects. Clearly this will depend on the language.

Many people must have research this and published the data, yet I can't come up with the correct words to type into Google.

$\endgroup$
  • $\begingroup$ I don't know either but maybe you can just experiment this somehow. You may choose random code samples from github on a specific topic. Then you can run this on a environment that you build and calculate how often it happens. $\endgroup$ – Alican Şafak Özdek Jul 11 at 11:07
  • $\begingroup$ How is this a computer science question? Obtaining these statistics seems tp be a trivial (?), if bothersome, technical task. $\endgroup$ – Raphael Jul 12 at 6:28
  • $\begingroup$ @Raphael I am hoping it has been studied and published for a set of representatives workloads, hence it is a question about computer science literature. $\endgroup$ – Ian Ringrose Jul 12 at 10:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.