2017-06-10 5 views
0

私はアンドロイドアプリでグローバルリリースをリリースするように漏れを検出しようとしています。
XAMARINのトラブルシューティングガイドには、グローバル参照のログの詳細があります。
URL:https://developer.xamarin.com/guides/android/troubleshooting/troubleshooting/#Global_Reference_Messages
それは、次のようなグローバル参照を作成、どのオブジェクトを示しています。XAMARINでアンドロイドアプリの完全なグローバル参照ログを出力するには

 
I/monodroid-gref(12405): +g+ grefc 108 gwrefc 0 obj-handle 0x40517468/L -> new-handle 0x40517468/L from at Java.Lang.Object.RegisterInstance(IJavaObject instance, IntPtr value, JniHandleOwnership transfer) 
I/monodroid-gref(12405): at Java.Lang.Object.SetHandle(IntPtr value, JniHandleOwnership transfer) 
I/monodroid-gref(12405): at Java.Lang.Object..ctor(IntPtr handle, JniHandleOwnership transfer) 
I/monodroid-gref(12405): at Java.Lang.Thread+RunnableImplementor..ctor(System.Action handler, Boolean removable) 
I/monodroid-gref(12405): at Java.Lang.Thread+RunnableImplementor..ctor(System.Action handler) 
I/monodroid-gref(12405): at Android.App.Activity.RunOnUiThread(System.Action action) 
I/monodroid-gref(12405): at Mono.Samples.Hello.HelloActivity.UseLotsOfMemory(Android.Widget.TextView textview) 
I/monodroid-gref(12405): at Mono.Samples.Hello.HelloActivity.m__3(System.Object o) 

を - >私たちは、グローバル参照を作成し、 "Java.Lang.Object.RegisterInstanceに" を参照してくださいすることができます。
しかし、実際に私が唯一以下のようにlogcat内のアドレス情報を扱う、カウントを参照してください。

 
06-10 14:55:06.225 I/monodroid-gref(19580): +g+ grefc 926 gwrefc 0 obj-handle 0x19/I -> new-handle 0x101682/G from thread '(null)'(1) 
06-10 14:55:06.238 I/monodroid-gref(19580): +g+ grefc 927 gwrefc 0 obj-handle 0x5/I -> new-handle 0x10167e/G from thread 'Threadpool worker'(57) 
06-10 14:55:06.261 I/monodroid-gref(19580): -g- grefc 927 gwrefc 0 handle 0x10167e/G from thread 'Threadpool worker'(57) 
06-10 14:55:06.286 I/monodroid-gref(19580): +g+ grefc 927 gwrefc 0 obj-handle 0x19/I -> new-handle 0x201686/G from thread '(null)'(1) 
06-10 14:55:06.288 I/monodroid-gref(19580): +g+ grefc 928 gwrefc 0 obj-handle 0x1/I -> new-handle 0x20167e/G from thread 'Threadpool worker'(57) 
06-10 14:55:06.295 I/monodroid-gref(19580): +g+ grefc 929 gwrefc 0 obj-handle 0x200019/I -> new-handle 0x10168a/G from thread '(null)'(1) 
06-10 14:55:06.306 I/monodroid-gref(19580): -g- grefc 929 gwrefc 0 handle 0x1676/G from thread 'Threadpool worker'(57) 
06-10 14:55:06.351 I/monodroid-gref(19580): +g+ grefc 929 gwrefc 0 obj-handle 0x200019/I -> new-handle 0x101676/G from thread '(null)'(1) 
06-10 14:55:06.357 I/monodroid-gref(19580): +g+ grefc 930 gwrefc 0 obj-handle 0x100019/I -> new-handle 0x10168e/G from thread '(null)'(1) 

私は任意の設定を逃したのですか? 助けてください!

答えて

関連する問題