[vmkit-commits] [vmkit] r180479 - Added some comments on Incinerator optimization previously committed.

Peter Senna Tschudin peter.senna at gmail.com
Thu Apr 25 10:16:26 PDT 2013


Author: peter.senna
Date: Thu Apr 25 12:14:52 2013
New Revision: 180479

URL: http://llvm.org/viewvc/llvm-project?rev=180479&view=rev
Log:
Added some comments on Incinerator optimization previously committed.
(cherry picked from commit d8c95dee0f8c04d1d9be883b45674941182d05f7)

Modified:
    vmkit/trunk/lib/j3/VMCore/JnjvmIntOSGi.cpp

Modified: vmkit/trunk/lib/j3/VMCore/JnjvmIntOSGi.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/j3/VMCore/JnjvmIntOSGi.cpp?rev=180479&r1=180478&r2=180479&view=diff
==============================================================================
--- vmkit/trunk/lib/j3/VMCore/JnjvmIntOSGi.cpp (original)
+++ vmkit/trunk/lib/j3/VMCore/JnjvmIntOSGi.cpp Thu Apr 25 12:14:52 2013
@@ -90,6 +90,11 @@ extern "C" void Java_j3_vm_OSGi_associat
 #endif
 }
 
+/*
+	This Java native method must be called by the framework whenever a bundle
+	is uninstalled or updated. It activates the logic used to scan for stale
+	references to be performed in the next GC collection.
+*/
 extern "C" void Java_j3_vm_OSGi_notifyBundleUninstalled(jlong bundleID)
 {
 #if RESET_STALE_REFERENCES





More information about the vmkit-commits mailing list