search for: jnjvm

Displaying 20 results from an estimated 82 matches for "jnjvm".

2009 Nov 20
2
[LLVMdev] VMKIT problem
Hi, I intent to use VMKIT to convert java byte codes to LLVM IR I have installed VMKIT 0.26, on running jnjvm (as ./jnjvm Hello.class) in Release/bin I get the same error irrespective of class content : jnjvm: JavaClass.cpp:469: jnjvm::JavaObject* jnjvm::Class::doNew(jnjvm::Jnjvm*): Assertion `(this->isInitializing() || classLoader->getCompiler()->isStaticCompiling()) && "Uninitializ...
2009 Nov 20
3
[LLVMdev] VMKIT problem
...ps on > vmkit.llvm.org getting started page, especially for GNU Classpath? > > Thanks! > Nicolas > > Nataraj Sundar wrote: >> >> Hi, >> >> I intent to use VMKIT to convert java byte codes to LLVM IR >> >> I have installed VMKIT 0.26, on running jnjvm (as ./jnjvm >> Hello.class) in Release/bin I get the same error irrespective of class >> content : >> >> jnjvm: JavaClass.cpp:469: jnjvm::JavaObject* >> jnjvm::Class::doNew(jnjvm::Jnjvm*): Assertion `(this->isInitializing() >> || classLoader->getCompiler()-...
2011 Aug 23
2
[LLVMdev] VMKit build error
I'm trying to build the SVN version of VMKit and I'm getting this error while building. I have llvm and clang built from SVN too. Any help? llvm[2]: Building Release+Asserts mmtk-vmkit.jar all vmjc: JavaClass.cpp:442: j3::JavaObject *j3::Class::doNew(j3::Jnjvm *): Assertion `this && "No class when allocating."' failed. 0 vmjc 0x0000000000e9c44f 1 vmjc 0x0000000000e9cf8a 2 libpthread.so.0 0x00002ac09794bc60 3 libc.so.6 0x00002ac09874cd05 gsignal + 53 4 libc.so.6 0x00002ac098750ab6 abort + 390 5...
2009 Nov 20
0
[LLVMdev] VMKIT problem
...latform are you running on? Did you follow all the steps on vmkit.llvm.org getting started page, especially for GNU Classpath? Thanks! Nicolas Nataraj Sundar wrote: > Hi, > > I intent to use VMKIT to convert java byte codes to LLVM IR > > I have installed VMKIT 0.26, on running jnjvm (as ./jnjvm > Hello.class) in Release/bin I get the same error irrespective of class > content : > > jnjvm: JavaClass.cpp:469: jnjvm::JavaObject* > jnjvm::Class::doNew(jnjvm::Jnjvm*): Assertion `(this->isInitializing() > || classLoader->getCompiler()->isStaticCompiling()...
2009 Dec 09
2
[LLVMdev] How to run vmjc created .bc files?
...b/libc.so.6 #2 0xf41918f8 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6 #3 0xf418f7d5 in ?? () from /usr/lib/libstdc++.so.6 #4 0xf418f812 in std::terminate () from /usr/lib/libstdc++.so.6 #5 0xf418f94a in __cxa_throw () from /usr/lib/libstdc++.so.6 #6 0x0806d4d0 in jnjvm::JavaThread::throwPendingException () #7 0x0808c118 in jnjvm::JavaMethod::invokeJavaObjectStaticAP () #8 0x0808c2ba in jnjvm::JavaMethod::invokeJavaObjectStatic () #9 0x0806e3a0 in jnjvm::Jnjvm::loadAppClassLoader () #10 0x08072488 in jnjvm::Jnjvm::loadBootstrap () #11 0x080725e5 in jnjvm::Jnjvm...
2009 Nov 20
2
[LLVMdev] VMKIT problem
Thanks Nicolas, Gaël I followed your instructions and installed compatible versions of llvm, vmkit and GNU Classpath also I unzipped glibj.zip and pointed GNU Classpath lib variable to the the unzipped files during vmkit configure. That error has vanished. Now when I run jnjvm or vmkit in Release/bin on any file I'm getting a new error : " terminate called without an active exception Aborted " Any help is much appreciated, -Nataraj. On Fri, Nov 20, 2009 at 2:40 PM, Nicolas Geoffray < nicolas.geoffray at gmail.com> wrote: > Hi Nataraj, >...
2011 Aug 23
2
[LLVMdev] VMKit build error
...trying to build the SVN version of VMKit and I'm getting this error >> while building. >> I have llvm and clang built from SVN too. >> Any help? >> llvm[2]: Building Release+Asserts mmtk-vmkit.jar all >> vmjc: JavaClass.cpp:442: j3::JavaObject *j3::Class::doNew(j3::Jnjvm *): >> Assertion `this && "No class when allocating."' failed. >> 0  vmjc            0x0000000000e9c44f >> 1  vmjc            0x0000000000e9cf8a >> 2  libpthread.so.0 0x00002ac09794bc60 >> 3  libc.so.6       0x00002ac09874cd05 gsignal + 53 >&gt...
2009 Nov 20
0
[LLVMdev] VMKIT problem
...Classpath? > > > > Thanks! > > Nicolas > > > > Nataraj Sundar wrote: > >> > >> Hi, > >> > >> I intent to use VMKIT to convert java byte codes to LLVM IR > >> > >> I have installed VMKIT 0.26, on running jnjvm (as ./jnjvm > >> Hello.class) in Release/bin I get the same error irrespective of class > >> content : > >> > >> jnjvm: JavaClass.cpp:469: jnjvm::JavaObject* > >> jnjvm::Class::doNew(jnjvm::Jnjvm*): Assertion `(this->isInitializing() > >&g...
2011 Aug 23
0
[LLVMdev] VMKit build error
...wrote: > I'm trying to build the SVN version of VMKit and I'm getting this error > while building. > I have llvm and clang built from SVN too. > Any help? > llvm[2]: Building Release+Asserts mmtk-vmkit.jar all > vmjc: JavaClass.cpp:442: j3::JavaObject *j3::Class::doNew(j3::Jnjvm *): > Assertion `this && "No class when allocating."' failed. > 0  vmjc            0x0000000000e9c44f > 1  vmjc            0x0000000000e9cf8a > 2  libpthread.so.0 0x00002ac09794bc60 > 3  libc.so.6       0x00002ac09874cd05 gsignal + 53 > 4  libc.so.6       0x0...
2011 Aug 24
0
[LLVMdev] VMKit build error
...ve method is bogus. Aborting... ; 0x5cfeed (0x1100fe410) in _Z14sigsegvHandleriP7siginfoPv ; 0x2b889c232c60 in Unknown method ; 0x561499 (0x1100fe900) in _ZN2j310JavaObject7acquireEPS0_ ; 0x55b464 (0x1100fe920) in _ZN2j35Class7acquireEv ; 0x546d1e (0x1100fe940) in _ZN2j35Class15initialiseClassEPNS_5JnjvmE ; 0x54a649 (0x1100feb30) in _ZN2j35Jnjvm13loadBootstrapEv ; 0x58fd57 (0x1100feb80) in _Z17mainCompilerStartPN2j310JavaThreadE ; 0x5cfa1e (0x1100fed60) in _ZN3mvm6Thread19internalThreadStartEPS0_ 0 vmjc 0x0000000000e9c44f 1 vmjc 0x0000000000e9cf8a 2 libpthread.so.0 0x00002b...
2009 Nov 20
0
[LLVMdev] VMKIT problem
...as, Gaël > > I followed your instructions and installed compatible versions of llvm, > vmkit and GNU Classpath also I unzipped glibj.zip and pointed GNU > Classpath lib variable to the the unzipped files during vmkit configure. > That error has vanished. > > Now when I run jnjvm or vmkit in Release/bin on any file I'm getting a > new error : > > " terminate called without an active exception > Aborted " > > Any help is much appreciated, > > -Nataraj. > > > > On Fri, Nov 20, 2009 at 2:40 PM, Nicolas Geoffray > &l...
2009 Apr 18
2
[LLVMdev] [patch] vmkit compiled using gcc
I have tested compiling vmkit using gcc3.4 and gcc4.4 Some vmkit files required that I added some explicit typecasts and #includes in order to compile. I have attached my changes against the vmkit svn trunk rev 69439 Using this patch both versions of gcc managed to compiled vmkit on my machine. Cheers Xerxes -------------- next part -------------- An embedded and charset-unspecified text was
2009 Apr 18
0
[LLVMdev] [patch] vmkit compiled using gcc
Applied thanks! http://lists.cs.uiuc.edu/pipermail/vmkit-commits/2009-April/000815.html Btw, what are the error messages for these? > - char * res = strstr(haystack, needle); > + char * res = (char *)strstr(haystack, needle); > - char* ptr = strrchr(name, '/'); > + char* ptr = (char*)strrchr(name, '/'); Nicolas Xerxes Rånby wrote: > I have tested compiling
2010 Apr 09
2
[LLVMdev] VMKit assertion failure
...c. Could you run j3 in gdb and get me a backtrace? Sure: (gdb) bt #0 0x950be44e in __semwait_signal () #1 0x950e93e6 in _pthread_cond_wait () #2 0x950e8dcd in pthread_cond_wait$UNIX2003 () #3 0x000be2d2 in mvm::Cond::wait (this=0x20527c4, l=0x2052790) at ctlock.cpp:151 #4 0x00020137 in j3::Jnjvm::waitForExit (this=0x20525a8) at Jnjvm.cpp: 1225 #5 0x00001cf6 in main (argc=4, argv=0xbffff070, envp=0xbffff084) at Main.cpp:47 I'll try installing VMKit in a virtual Linux for comparison. Konrad.
2010 Apr 09
3
[LLVMdev] VMKit assertion failure
...() #5 0x955e910c in __gxx_personality_v0 () #6 0x955e914b in std::terminate () #7 0x955e9261 in __cxa_throw () #8 0x000130ae in j3::JavaThread::throwException (this=0x20000000, obj=0x1bcfc00) at JavaThread.cpp:73 #9 0x0002352b in j3::Class::initialiseClass (this=0x20e5c60, vm=0x20525a8) at Jnjvm.cpp:249 #10 0x000242e5 in j3::Jnjvm::loadBootstrap (this=0x20525a8) at Jnjvm.cpp:1134 #11 0x000243f1 in j3::Jnjvm::mainJavaStart (thread=0x20000000) at Jnjvm.cpp:1246 #12 0x000bea10 in mvm::Thread::internalThreadStart (th=0x20000000) at ctthread.cpp:275 #13 0x950e8155 in _pthread_start () #14...
2009 Nov 20
1
[LLVMdev] VMKIT problem
...gt; I followed your instructions and installed compatible versions of llvm, >> vmkit and GNU Classpath also I unzipped glibj.zip and pointed GNU Classpath >> lib variable to the the unzipped files during vmkit configure. That error >> has vanished. >> >> Now when I run jnjvm or vmkit in Release/bin on any file I'm getting a new >> error : >> >> " terminate called without an active exception >> Aborted " >> >> Any help is much appreciated, >> >> -Nataraj. >> >> >> >> On Fri, Nov 20, 2...
2008 Jul 31
3
[LLVMdev] LLVM JIT: How to install a callback for a function loaded in at runtime
Hello, This is probably a bit of a beginner's question but I am new to LLVM I have been examining the possibility of constructing something similar to the JnJVM for a language which supports dynamic class loading. The problem I am having is determining how the JIT system allows for dynamic loading of functions into the JIT. The paper indicates the JnJVM use some sort of callback when the JIT hits a call it cannot yet resolve. How do I install such a handle...
2010 Apr 09
0
[LLVMdev] VMKit assertion failure
...> > > Sure: > > (gdb) bt > #0 0x950be44e in __semwait_signal () > #1 0x950e93e6 in _pthread_cond_wait () > #2 0x950e8dcd in pthread_cond_wait$UNIX2003 () > #3 0x000be2d2 in mvm::Cond::wait (this=0x20527c4, l=0x2052790) at > ctlock.cpp:151 > #4 0x00020137 in j3::Jnjvm::waitForExit (this=0x20525a8) at Jnjvm.cpp:1225 > #5 0x00001cf6 in main (argc=4, argv=0xbffff070, envp=0xbffff084) at > Main.cpp:47 > > I'll try installing VMKit in a virtual Linux for comparison. > > Konrad. > > -------------- next part -------------- An HTML attachmen...
2009 Dec 08
0
[LLVMdev] How to run vmjc created .bc files?
...taining all the class files you need. > Also, I have an addition to the Java standard library backported from Java > 7, which is necessary for my project. JSR166: > http://gee.cs.oswego.edu/dl/concurrency-interest/ > > Add it to the big .jar file. > Of course, I'm not sure JnJvm supports multiple cores, but this is more a > proof of concept than anything. > > OK, if it has native functions, chances are jnjvm does not implement them. > Should I just insert the necessary classes into glibj.zip and recompile > libvmjc.so? > > You can do that, or just in...
2009 Aug 20
2
[LLVMdev] Issues with HelloWorld on VMKit
HI I tried to follow the procedure at http://vmkit.llvm.org/get_started.html . Builds of LLVM and classpath went fine (after fixing a few dependency problems). After compiling a simple HelloWorld with javac I got ../vmkit/Debug/bin/jnjvm HelloWorld hang for a while and then spits out a terminate called without an active exception Abort I also tried to compile on a machine with gcc 4.1 and Instead I got jnjvm: /mnt/sdb1/ladyvm/vmkit/include/mvm/VirtualMachine.h:369: T* mvm::VirtualMachine::IPToMethod(void*) [with T = jnjvm::Ja...