コード例 #1
0
 /// <summary>
 /// Force a garbage collection followed by a cycle collection.
 ///
 /// Will throw a DOM security error if called without UniversalXPConnect
 /// privileges in non-debug builds. Available to all callers in debug builds.
 ///
 /// @param aListener listener that receives information about the CC graph
 /// (see @mozilla.org/cycle-collector-logger;1 for a logger
 /// component)
 /// @param aExtraForgetSkippableCalls indicates how many times
 /// nsCycleCollector_forgetSkippable will
 /// be called before running cycle collection.
 /// -1 prevents the default
 /// nsCycleCollector_forgetSkippable call
 /// which happens after garbage collection.
 /// </summary>		
 public void GarbageCollect(nsICycleCollectorListener aListener, int aExtraForgetSkippableCalls)
 {
     _windowUtils.GarbageCollect(aListener, aExtraForgetSkippableCalls);
 }
コード例 #2
0
 /// <summary>
 /// Force a cycle collection without garbage collection.
 ///
 /// Will throw a DOM security error if called without UniversalXPConnect
 /// privileges in non-debug builds. Available to all callers in debug builds.
 ///
 /// @param aListener listener that receives information about the CC graph
 /// (see @mozilla.org/cycle-collector-logger;1 for a logger
 /// component)
 /// @param aExtraForgetSkippableCalls indicates how many times
 /// nsCycleCollector_forgetSkippable will
 /// be called before running cycle collection.
 /// -1 prevents the default
 /// nsCycleCollector_forgetSkippable call
 /// which happens after garbage collection.
 /// </summary>
 public void CycleCollect(nsICycleCollectorListener aListener, int aExtraForgetSkippableCalls)
 {
     _windowUtils.GarbageCollect(aListener, aExtraForgetSkippableCalls);
 }
コード例 #3
0
 /// <summary>
 /// Force a garbage collection followed by a cycle collection.
 ///
 /// Will throw a DOM security error if called without UniversalXPConnect
 /// privileges in non-debug builds. Available to all callers in debug builds.
 ///
 /// @param aListener listener that receives information about the CC graph
 /// (see @mozilla.org/cycle-collector-logger;1 for a logger
 /// component)
 /// @param aExtraForgetSkippableCalls indicates how many times
 /// nsCycleCollector_forgetSkippable will
 /// be called before running cycle collection.
 /// -1 prevents the default
 /// nsCycleCollector_forgetSkippable call
 /// which happens after garbage collection.
 /// </summary>
 public void GarbageCollect(nsICycleCollectorListener aListener, int aExtraForgetSkippableCalls)
 {
     //_windowUtils.Instance.GarbageCollect(aListener, aExtraForgetSkippableCalls);
     throw new NotImplementedException();
 }