Repository: incubator-weex
Updated Branches:
  refs/heads/0.11-dev 80ddeae8c -> 00def9e22


* [android] remove garbage collection during execjs


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/5210983d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/5210983d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/5210983d

Branch: refs/heads/0.11-dev
Commit: 5210983d9fb3cde739d8e88a6d5a011bdafd4fda
Parents: 8f3167d
Author: YorkShen <[email protected]>
Authored: Thu Mar 16 16:46:52 2017 +0800
Committer: YorkShen <[email protected]>
Committed: Thu Mar 16 16:46:52 2017 +0800

----------------------------------------------------------------------
 android/sdk/libs/armeabi/libweexv8.so           | Bin 3583820 -> 3583820 bytes
 android/sdk/libs/x86/libweexv8.so               | Bin 4340864 -> 4336768 bytes
 .../com/taobao/weex/bridge/WXBridgeManager.java |  10 ++--------
 3 files changed, 2 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5210983d/android/sdk/libs/armeabi/libweexv8.so
----------------------------------------------------------------------
diff --git a/android/sdk/libs/armeabi/libweexv8.so 
b/android/sdk/libs/armeabi/libweexv8.so
index b2c04a3..334b7a5 100755
Binary files a/android/sdk/libs/armeabi/libweexv8.so and 
b/android/sdk/libs/armeabi/libweexv8.so differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5210983d/android/sdk/libs/x86/libweexv8.so
----------------------------------------------------------------------
diff --git a/android/sdk/libs/x86/libweexv8.so 
b/android/sdk/libs/x86/libweexv8.so
index 808896a..73fc022 100755
Binary files a/android/sdk/libs/x86/libweexv8.so and 
b/android/sdk/libs/x86/libweexv8.so differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5210983d/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
----------------------------------------------------------------------
diff --git 
a/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java 
b/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
index 99b0d51..5ac4ea4 100755
--- a/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
+++ b/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
@@ -1358,16 +1358,10 @@ public class WXBridgeManager implements 
Callback,BactchExecutor {
     registerModules(domMap);
   }
 
+  //This method is deprecated because of performance issue.
+  @Deprecated
   public void notifyTrimMemory() {
-    post(new Runnable() {
-      @Override
-      public void run() {
-        if (!isJSFrameworkInit())
-          return;
 
-        invokeExecJS("", null, METHOD_NOTIFY_TRIM_MEMORY, new WXJSObject[0]);
-      }
-    });
   }
 
   public

Reply via email to