[TIMOB-7706] Android: Evaluate our global reference hack in V8/emulator.
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-03-21T12:50:52.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | Release 2.0.0, Sprint 2012-06 |
Components | Android |
Labels | tbs-2.1.0 |
Reporter | Ingo Muschenetz |
Assignee | Ingo Muschenetz |
Created | 2012-02-17T10:33:36.000+0000 |
Updated | 2017-03-22T00:13:33.000+0000 |
Description
When we run an application that uses V8 runtime on an emulator we currently use a "hack" to
simulate global references. This was original put in place due to hitting the global reference limit (2000).
This may no longer be an issue since fixing proxy memory management and clearing out old references.
If we do determine this workaround is still needed, we should finish "weak reference" support.
See the TODO in JavaObject.cpp for details.
For Release 2.0.0 we will be switching off the global reference workaround used on emulator. We will hold off on removing it from platform completely until the next release. This will allow for some real world testing and confirm this workaround is not needed.
Since we've currently disabled this for 2.0.0, we will revisit removing it altogether for 2.1.0
This was re-enabled and changed to use weak references for TIMOB-7779
Closing ticket as fixed.