search for: javaobject

Displaying 20 results from an estimated 59 matches for "javaobject".

2013 Sep 12
2
[LLVMdev] VmKit - Error in j3/precompiler after a big surgery to MMTk part
...igned long, unsigned long) () (gdb) bt #0 0x000000000107b180 in llvm::BumpPtrAllocator::Allocate(unsigned long, unsigned long) () #1 0x00000000005ae35d in j3::JavaMethod::marshalArguments(vmkit::ThreadAllocator&, __va_list_tag*) () #2 0x00000000005b04e4 in j3::JavaObject* j3::JavaMethod::invokeStaticAP<j3::JavaObject*, j3::JavaObject* (*)(j3::JavaConstantPool*, void*, void*)>(j3::Jnjvm*, j3::Class*, __va_list_tag*) () #3 0x00000000005af054 in j3::JavaMethod::invokeJavaObjectStatic(j3::Jnjvm*, j3::Class*, ...) () #4 0x00000000005cb662...
2012 Jun 09
0
[LLVMdev] VMKIT: Assertion at build
...read.so.0 0x000000393180ebe0 3 libc.so.6 0x0000003930830285 gsignal + 53 4 libc.so.6 0x0000003930831d30 abort + 272 5 vmjc 0x0000000000583cb7 ThrowNullPointerException + 71 6 vmjc 0x000000000050cf38 j3::JavaMethod::invokeIntSpecialAP(j3::Jnjvm*, j3::Class*, j3::JavaObject*, __va_list_tag*) + 56 7 vmjc 0x000000000050d715 j3::JavaMethod::invokeIntSpecial(j3::Jnjvm*, j3::Class*, j3::JavaObject*, ...) + 117 8 vmjc 0x0000000000524af8 j3::JavaObjectClass::getDeclaredConstructors(j3::JavaObjectClass*, bool) + 520 9 vmjc 0x000000000053049...
2011 Aug 24
0
[LLVMdev] VMKit build error
...other: llvm[2]: Building Release+Asserts mmtk-vmkit.jar all Thread 0x110000000 received a SIGSEGV: either the VM code or an external native 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 _ZN3mvm6Thr...
2011 Aug 23
2
[LLVMdev] VMKit build error
....com> 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       0x00002ac09...
2013 Sep 12
0
[LLVMdev] VmKit - Error in j3/precompiler after a big surgery to MMTk part
...ed long, > unsigned long) () > (gdb) bt > #0 0x000000000107b180 in llvm::BumpPtrAllocator::Allocate(unsigned long, > unsigned long) () > #1 0x00000000005ae35d in > j3::JavaMethod::marshalArguments(vmkit::ThreadAllocator&, __va_list_tag*) () > #2 0x00000000005b04e4 in j3::JavaObject* > j3::JavaMethod::invokeStaticAP<j3::JavaObject*, j3::JavaObject* > (*)(j3::JavaConstantPool*, void*, void*)>(j3::Jnjvm*, j3::Class*, > __va_list_tag*) () > #3 0x00000000005af054 in j3::JavaMethod::invokeJavaObjectStatic(j3::Jnjvm*, > j3::Class*, ...) () > #4 0x0000000000...
2008 Jul 01
2
[LLVMdev] vmkit on x86_64
...e vmkit on a x86_64 linux box with gcc-4.1.2, but I'm running into troubles because of various problems with casts between pointers and integers. Is there anybody who succeeded in this task? Az I see, some of the problems can be fixed with an appropriate typedef/macro declaration, but in VMCore/JavaObject.cpp some lowlevel bitmanipulation is used, to mark object references as locked - as I believe. BR, Zsombor p.s this fixes a typo in the current svn trunk $ svn diff VMCore/JavaJITOpcodes.cpp Index: VMCore/JavaJITOpcodes.cpp =================================================================== -...
2010 Jul 19
0
[LLVMdev] Fwd: Building VMKit
Hi Joshua, > $ j3 Hello > j3: JavaClass.cpp:480: j3::JavaObject* j3::Class::doNew(j3::Jnjvm*): > Assertion `(this->isInitializing() || > classLoader->getCompiler()->isStaticCompiling()) && "Uninitialized class > when allocating."' failed. > Aborted Regarding to j3 in 64 bit version, it should work now after we've...
2010 Jul 19
1
[LLVMdev] Fwd: Building VMKit
...v] Building VMKit To: nicolas geoffray <nicolas.geoffray at gmail.com> Thanks Nicolas, that worked great! Now, I'm having trouble invoking the compiler properly: $ llcj Hello.class -o=Hello.ll $ cat Hello.ll cat: Hello.ll: No such file or directory $ j3 Hello j3: JavaClass.cpp:480: j3::JavaObject* j3::Class::doNew(j3::Jnjvm*): Assertion `(this->isInitializing() || classLoader->getCompiler()->isStaticCompiling()) && "Uninitialized class when allocating."' failed. Aborted $ java Hello hello, world! "Hello" is a completely banal "hello world!&quot...
2011 Jan 11
2
[LLVMdev] VMKit link
...erence to `__sync_val_compare_and_swap_4' /root/llvm/vmkit/Debug+Asserts/lib/libJ3.a(JavaClass.o): In function `j3::Class::resolveClass()': /root/llvm/vmkit/lib/J3/VMCore/JavaClass.cpp:941: undefined reference to `__sync_val_compare_and_swap_1' /root/llvm/vmkit/Debug+Asserts/lib/libJ3.a(JavaObject.o): In function `j3::JavaObject::hashCode(j3::JavaObject*)': /root/llvm/vmkit/lib/J3/VMCore/JavaObject.cpp:59: undefined reference to `__sync_val_compare_and_swap_4' /root/llvm/vmkit/Debug+Asserts/lib/libClasspath.a(JavaUpcalls.o): In function `Java_sun_misc_Unsafe_compareAndSwapInt': /...
2008 Jul 01
0
[LLVMdev] vmkit on x86_64
...9;re having compilation problems, I suppose it's in the garbage collector directory (GCMmap2). If you could make the GC code x86_64 clean, I think that would be a major step to execute vmkit on your box. There should be little code in the virtual machines that need to be rewritten. For the JavaObject class, indeed, it's assuming the lock field is 32-bit. I plan to change that in order to store monitors in a hashtable. If you're willing to implement it, I'll be happy to help you out. Also, I don't know what is the current status of linux/x86_64 exception handling support in l...
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()) && "Uninitialized class when allocating."' failed. Aborted Am I doing something wrong?Any help regading how to use the VMKIT tools to convert J...
2010 Jul 20
0
[LLVMdev] Fwd: Building VMKit
...ere. Does this fit with any of the known > problems under 64-bit linux? > > Thanks, > Joshua > > > On Mon, Jul 19, 2010 at 4:45 PM, Minas Abrahamyan <minas.subs at gmail.com>wrote: > >> Hi Joshua, >> > $ j3 Hello >> > j3: JavaClass.cpp:480: j3::JavaObject* j3::Class::doNew(j3::Jnjvm*): >> > Assertion `(this->isInitializing() || >> > classLoader->getCompiler()->isStaticCompiling()) && "Uninitialized class >> > when allocating."' failed. >> > Aborted >> >> Regarding to j3 i...
2010 Jul 20
4
[LLVMdev] Fwd: Building VMKit
...ut of date). I'm not sure where to go from here. Does this fit with any of the known problems under 64-bit linux? Thanks, Joshua On Mon, Jul 19, 2010 at 4:45 PM, Minas Abrahamyan <minas.subs at gmail.com>wrote: > Hi Joshua, > > $ j3 Hello > > j3: JavaClass.cpp:480: j3::JavaObject* j3::Class::doNew(j3::Jnjvm*): > > Assertion `(this->isInitializing() || > > classLoader->getCompiler()->isStaticCompiling()) && "Uninitialized class > > when allocating."' failed. > > Aborted > > Regarding to j3 in 64 bit version, it sho...
2010 Jul 20
2
[LLVMdev] Fwd: Building VMKit
...t;> problems under 64-bit linux? >> >> Thanks, >> Joshua >> >> >> On Mon, Jul 19, 2010 at 4:45 PM, Minas Abrahamyan <minas.subs at gmail.com>wrote: >> >>> Hi Joshua, >>> > $ j3 Hello >>> > j3: JavaClass.cpp:480: j3::JavaObject* j3::Class::doNew(j3::Jnjvm*): >>> > Assertion `(this->isInitializing() || >>> > classLoader->getCompiler()->isStaticCompiling()) && "Uninitialized >>> class >>> > when allocating."' failed. >>> > Aborted >&g...
2010 Jul 09
2
[LLVMdev] vmkit build problems
Hi Chanwit, What problems did you have for compiling the latest revision? Could you give me a log? Thanks, Nicolas On Thu, Jul 8, 2010 at 10:05 PM, Chanwit Kaewkasi <chanwit at gmail.com> wrote: > Thank you, Nicolas. > But I still have no luck compiling the latest revision. However, > vmkit-0.27 is compiled and running fine on my machine. > > Thanks, > > Chanwit >
2009 Nov 20
3
[LLVMdev] VMKIT problem
...gt; >> 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()) && "Uninitialized >> class when allocating."' failed. >> Aborted >> >> Am I doing something wrong?Any...
2013 Apr 15
2
[LLVMdev] [vmkit]Problems when modifying J3
...LVMRuntime/* and in JnjvmModule.cpp. But JnjvmModule.cpp does not exist anymore. So my first question is : what is the equivalent of JnjvmModule.cpp right now ? Secondly, I also want to add attributes in class JavaVirtualClass. When I do I immediately got this error : vmjc: JavaClass.cpp:492: j3::JavaObject *j3::Class::doNew(j3::Jnjvm *): Assertion `this && "No class when allocating."' failed. I tried to change offsets in the class (like getDepthIndex(), getOffsetIndex()) but I still have this error. Do you know what I must change to fix this ? Maybe that I forgot to made the c...
2011 Aug 24
2
[LLVMdev] VMKit build error
...Release+Asserts mmtk-vmkit.jar all > Thread 0x110000000 received a SIGSEGV: either the VM code or an external > native 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 (0x...
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 0x000...
2010 Jul 20
0
[LLVMdev] Fwd: Building VMKit
...>> >>> Thanks, >>> Joshua >>> >>> >>> On Mon, Jul 19, 2010 at 4:45 PM, Minas Abrahamyan <minas.subs at gmail.com>wrote: >>> >>>> Hi Joshua, >>>> > $ j3 Hello >>>> > j3: JavaClass.cpp:480: j3::JavaObject* j3::Class::doNew(j3::Jnjvm*): >>>> > Assertion `(this->isInitializing() || >>>> > classLoader->getCompiler()->isStaticCompiling()) && "Uninitialized >>>> class >>>> > when allocating."' failed. >>>>...