[llvm-commits] [vmkit] r50059 - /vmkit/trunk/lib/JnJVM/VMCore/ServiceDomain.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Mon Apr 21 14:26:35 PDT 2008
Author: geoffray
Date: Mon Apr 21 16:26:35 2008
New Revision: 50059
URL: http://llvm.org/viewvc/llvm-project?rev=50059&view=rev
Log:
Add the service's GC in the memory manager map.
Modified:
vmkit/trunk/lib/JnJVM/VMCore/ServiceDomain.cpp
Modified: vmkit/trunk/lib/JnJVM/VMCore/ServiceDomain.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/VMCore/ServiceDomain.cpp?rev=50059&r1=50058&r2=50059&view=diff
==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/ServiceDomain.cpp (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/ServiceDomain.cpp Mon Apr 21 16:26:35 2008
@@ -75,6 +75,10 @@
service->protectModule = mvm::Lock::allocNormal();
service->TheModuleProvider = new JnjvmModuleProvider(service->module,
service->functions);
+
+#ifdef MULTIPLE_GC
+ mvm::jit::memoryManager->addGCForModule(service->module, service->GC);
+#endif
JavaJIT::initialiseJITIsolateVM(service);
service->name = "service";
More information about the llvm-commits
mailing list