[llvm-commits] [vmkit] r50010 - /vmkit/trunk/lib/JnJVM/VMCore/JavaIsolate.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Sun Apr 20 16:43:03 PDT 2008
Author: geoffray
Date: Sun Apr 20 18:43:03 2008
New Revision: 50010
URL: http://llvm.org/viewvc/llvm-project?rev=50010&view=rev
Log:
Don't insert the thread in a service-vm environment
Modified:
vmkit/trunk/lib/JnJVM/VMCore/JavaIsolate.cpp
Modified: vmkit/trunk/lib/JnJVM/VMCore/JavaIsolate.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/VMCore/JavaIsolate.cpp?rev=50010&r1=50009&r2=50010&view=diff
==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/JavaIsolate.cpp (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/JavaIsolate.cpp Sun Apr 20 18:43:03 2008
@@ -507,7 +507,9 @@
isolate->bootstrapThread->initialise(0, isolate);
#ifdef MULTIPLE_GC
isolate->bootstrapThread->GC = isolate->GC;
+#ifndef SERVICE_VM
isolate->GC->inject_my_thread(0);
+#endif
mvm::jit::memoryManager->addGCForModule(isolate->module, isolate->GC);
#endif
JavaThread::threadKey->set(isolate->bootstrapThread);
More information about the llvm-commits
mailing list