Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7706] Android: Evaluate our global reference hack in V8/emulator.

GitHub Issuen/a
TypeStory
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-03-21T12:50:52.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sRelease 2.0.0, Sprint 2012-06
ComponentsAndroid
Labelstbs-2.1.0
ReporterIngo Muschenetz
AssigneeIngo Muschenetz
Created2012-02-17T10:33:36.000+0000
Updated2017-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.

Comments

  1. Josh Roesslein 2012-03-06

    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.
  2. Marshall Culpepper 2012-03-12

    Since we've currently disabled this for 2.0.0, we will revisit removing it altogether for 2.1.0
  3. Marshall Culpepper 2012-03-21

    This was re-enabled and changed to use weak references for TIMOB-7779
  4. Lee Morris 2017-03-22

    Closing ticket as fixed.

JSON Source