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

Add return value for writeJSMemoryStats #298

Open
cag62 opened this issue May 26, 2018 · 2 comments
Open

Add return value for writeJSMemoryStats #298

cag62 opened this issue May 26, 2018 · 2 comments

Comments

@cag62
Copy link

cag62 commented May 26, 2018

Can you change
writeJSMemoryStats() (file: OOJSConsole.m)
to return the heap size it receives (but ignores) from
dumpJSMemoryStatistics() (file: OODebugMonitor.m)
OR add a fn similar to writeJSMemoryStats that doesn't write, just returns the heap size?
Having the actual number would take the guess work out of tracking garbage generation.

@AnotherCommander
Copy link
Member

Before putting any work on this, can you please describe how you would want to use such a feature? Why is outputting the heap size in the log, as already is the case, not enough?

@cag62
Copy link
Author

cag62 commented May 28, 2018 via email

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

No branches or pull requests

2 participants