[llvm-commits] [vmkit] r52020 - /vmkit/trunk/lib/JnJVM/Classpath/ClasspathVMThrowable.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Thu Jun 5 13:56:28 PDT 2008
Author: geoffray
Date: Thu Jun 5 15:56:28 2008
New Revision: 52020
URL: http://llvm.org/viewvc/llvm-project?rev=52020&view=rev
Log:
Jitted methods are not allocated by the GC anymore.
Modified:
vmkit/trunk/lib/JnJVM/Classpath/ClasspathVMThrowable.cpp
Modified: vmkit/trunk/lib/JnJVM/Classpath/ClasspathVMThrowable.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/Classpath/ClasspathVMThrowable.cpp?rev=52020&r1=52019&r2=52020&view=diff
==============================================================================
--- vmkit/trunk/lib/JnJVM/Classpath/ClasspathVMThrowable.cpp (original)
+++ vmkit/trunk/lib/JnJVM/Classpath/ClasspathVMThrowable.cpp Thu Jun 5 15:56:28 2008
@@ -74,12 +74,7 @@
ArrayObject* recGetStackTrace(int** stack, uint32 first, uint32 rec) {
Jnjvm* vm = JavaThread::get()->isolate;
if (stack[first] != 0) {
-#ifdef MULTIPLE_GC
- int *begIp = (int*)mvm::Thread::get()->GC->begOf(stack[first]);
-#else
- int *begIp = (int*)Collector::begOf(stack[first]);
-#endif
- JavaMethod* meth = JavaJIT::IPToJavaMethod(begIp);
+ JavaMethod* meth = JavaJIT::IPToJavaMethod(stack[first]);
if (meth) {
ArrayObject* res = recGetStackTrace(stack, first + 1, rec + 1);
res->elements[rec] = consStackElement(meth, stack[first]);
More information about the llvm-commits
mailing list