MCPcopy Create free account
hub / github.com/NativeScript/android / NotifyGC

Method NotifyGC

test-app/runtime/src/main/cpp/Runtime.cpp:457–460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

455}
456
457bool Runtime::NotifyGC(JNIEnv* env, jobject obj) {
458 bool success = __sync_bool_compare_and_swap(&m_runGC, false, true);
459 return success;
460}
461
462bool Runtime::TryCallGC() {
463 auto success = m_gcFunc != nullptr;

Callers 1

notifyGcFast_implFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected