diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2017-05-02 11:05:13 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2017-05-02 11:05:13 -0400 |
commit | 2bb19aec989d5964b22f64cc01aa7cbe962e1e6b (patch) | |
tree | ae849919a967d66b8f9222acd7ef9d78a7f85ff6 /indra/llcommon/llhash.h | |
parent | 52899ed62a241d7875277b0f3412e2be78f7b3af (diff) |
DRTVWR-418, MAINT-6996: Update Mac LLMemory::getCurrentRSS().
Evidently the Mac implementation of LLMemory::getCurrentRSS() goes back to
OS X 10.3, because there was a helpful comment of the form:
------
The API used here is not capable of dealing with 64-bit memory sizes, but is
available before 10.4.
Once we start requiring 10.4, we can use the updated API, which looks like
this:
[new current implementation]
Of course, this doesn't gain us anything unless we start building the viewer
as a 64-bit executable, since that's the only way for our memory allocation to
exceed 2^32.
------
Hey, guess what, we're building 64-bit viewers now!
Thank you, whoever thoughtfully noted that, both for calling out the issue and
sparing us the research. (The comment goes back to Subversion days, so hg
blame shows only the merge-to-release changeset.)
Diffstat (limited to 'indra/llcommon/llhash.h')
0 files changed, 0 insertions, 0 deletions