[kaffe] retrieving method arguments in jit
Hai How to retrieve method argument in jit? For example, if I have a method : Java code - for(int a=0;a10;a++) { test(int a) { //do something with a } } I need access to value of a in the method soft_fixup(..) in JIT. Can anyone tell me how to get that? Thanks --Ram ___ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] turning off optimization during make
Hai How to turn off optimization during make of kaffe? I want to configure and them make kaffe build without any optimization turned on. Thanks --Ram ___ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] problem in building jit-interpreter
Hai WHen I try to build kaffe,I get the error support.c:456: warning: `jfloat' is promoted to `double' when passed through `...' support.c:456: warning: (so you should pass `double' not `jfloat' to `va_arg') support.c:525: error: can't find a register in class `INDEX_REGS' while reloading `asm' support.c:551: error: can't find a register in class `GENERAL_REGS' while reloading `asm' make[2]: *** [support.o] Error 1 Can someone tell me the reason for this? This was for kaffe1.0.b2,a patch that is present on the site:http://www.flux.utah.edu/~tullmann/kaffe/jitintrp/. Thanks --Ram ___ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] problem in building the jit+interpreter patch
Hai On the following website http://www.flux.utah.edu/~tullmann/kaffe/jitintrp/ , there is a patch available. If someone has recently worked with this patch,please tell me how to build it. For the normal kaffe, the steps are build are : configure, make , make install. But this does not work for this patch. The steps I followed are: 1../configure --with-engine=jit 2. make (the errors come here). I would appreciate the help. Thanks = C.Kalyan Ram 2221,S St Apt #23,Lincoln NE-68503 Email:[EMAIL PROTECTED] Ph:(402)742-9671 University Of Nebraska-Lincoln ___ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] invoking interpreter execution in jit3
Hai Is it possible to invoke the interpreter execution engine in the Jit3? For example, for a particular method I want the interpreter mode of kaffe to execute rather than the jit3. Thanks --Ram = C.Kalyan Ram 2221,S St Apt #23,Lincoln NE-68503 Email:[EMAIL PROTECTED] Ph:(402)742-9671 University Of Nebraska-Lincoln ___ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] tracing kaffe during jit
Hi I want to trace kaffe as jit is being done on method so that I can see where the flow is going from one method to another.Can you point me to an old archive that answers this or any other way? Thanks Ram = C.Kalyan Ram 2221,S St Apt #23,Lincoln NE-68503 Email:[EMAIL PROTECTED] Ph:(402)742-9671 University Of Nebraska-Lincoln ___ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] shutdown a thread
Hai I have implemented a pthread in kaffe interpreter and the problem is kaffe does not shutdown after the program executes because the pthread is still running in machine.c.Is there a way to kill the thread after the execution so that kaffe VM shuts down cleanly. Any insights would be appreciated. Thanks Ram __ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] disposing thread before shutdown
Hai I have implemented a pthread which runs in the machine.c file of intrepter engine.I want the thread to stop before virtual machine shut down.From where should I send a signal to stop the thread? Any suggestions would be helpful. Thanks __ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] question on jit
Hai Can anyone point me to a file and function in kaffe where exactly the execution of machine code (after jit) in jit mode is done?I can see that in soft_fixup_trampoline in soft.c,trampoline is replaced to point to the native code.For example,in intrp mode, runVirtualMachine in machine.c is where bytecode execution is done.My guess is samething happens in jit at machine code level.Where is it done? Thanks Ram __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] accessing a variable
Hai I started a thread in thread.c file which is running a tcp client(this is working fine on kaffe).In that thread,I am having a data structure(like an array).But for simplicity,I am using a small integer variable.I need to be able to access that variable from kaffe.def file which is part of intrp/machine.c(interpreter version of kaffe).I put a variable in thread.h (because it is included in machine.c file)and tried to print that variable in kaffe.def.But when I make,kaffe says multiple definition or sometimes unrecognized.Is there is any workaround for that?How to make a variable in thread.c be recognized in kaffe.def? Any insights will be appreciated! Thanks Ram __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] using pthreads with kaffe
Hai I want to start a thread along with kaffe using pthread.In thread.c file,I included #include pthread.h and I wrote a thread routine.But when I do make install, error is generated saying pthread_create()..not found.How to make kaffe recognize this library? Any help is appreciated. Thanks Ram __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] thread in kaffe
Hai I want to create a dummy thread that starts with kaffe VM.I want to store an array of integers in that thread.Can someone give me suggestions or any pointers?Can I use functions in thread.c file in kaffe/kaffevm? Thanks -Ram __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] help with make install
Hai When I change anything in kaffe.def file,I generally go to intrp directory and open the machine.c file and press a space and then at the top directory do the make install for recompiling the kaffe.When I just modify the kaffe.def file,there is no change. Is there a better way to recompile the kaffe with make install after modifying kaffe.def file? Thanks --Ram __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] tomcat working on kaffe interpreter
Hai Tomcat-4.1.29 is working fine on kaffe-1.1.2 interpreter with JAVA_OPTS = -ss200k -mx256M -Dbuild.compiler=kjc export JAVA_OPTS But the only problem is after starting tomcat,if i start the browser and type http://localhost:8080,it gives connection timeout and if close the browser and restart again and type the above url,it opened.Why is it giving server timeout first time? But,it is working fine from next time. Thanks -Ram __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] tomcat not working on kaffe interpreter
Hai I am using kaffe-1.1.2 and tomcat-4.1.29.I am trying to run tomcat on kaffe interpreter .I started it as ./catalina.sh run.Tomcat is starting and in the browser when i type http://localhost:8080 - I get the following message after sometime: An error occured while loading http://localhost:8080 Timeout on server localhost If I repeatedly restart browser and type http://localhost:8080, I get the following message: An error occured while loading http://localhost:8080 Connection to localhost broken At the tomcat console: kaffe-bin: lookup.c:getMethodSignatureClass:Assertion 'class-state = CSTATE_DOING_LINK' failed Aborted Please help me in running tomcat on kaffe interpreter. Thanks --Ram __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] setting up tomcat 4.1.27 on kaffe
Hai I am using kaffe-1.1.2 and tomcat 4.1.27.I made the fix suggested in conf/web.xml.The error i am getting when i type in the browser http://localhost:8080 is could not connect to host localport(port 8080).My environmental variables are : export CLASSPATH=/usr/local/kaffe/jre/lib/rt.jar:/usr/local/kaffe/lib/kjc.jar export CATALINA_HOME=/opt/tomcat-4/bin export PATH=/usr/local/kaffe/bin:$PATH:$CATALINA_HOME export JAVA_HOME=/usr/local/kaffe export JAVA_OPTS=-mx256M I also copied struts_legacy.jar in $CATALINA_HOME/server/lib. what am i missing?I am really struggling to make tomcat work in kaffe. Thanks --Ram __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] help with running tomcat on kaffe
Hai I want to run tomcat on kaffe.In the previous mail,i got a fix for that but it is not working for me.i am working on the version of tomcat-4.1.29. I implemented the fix by adding the following code in conf/web.xml: init-param param-namecompiler/param-name param-valuekjc/param-value /init-param I restarted tomcat but it is still showing in the application manager of tomcat,the vendor is sun jvm. What am i missing?I am working on only binary version of tomcat. Thanks -Ram __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] tomcat
Hai Can the kaffe virtual machine run the tomcat server? If there are any special steps,please give me pointers Thank you -Ram __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] bytecode verifier
Hai Does the interpreter version of the kaffe virtual machine has a bytecode verifier? On the home page of kaffe, it says that kaffe lacks verifier? Thank you = C.Kalyan Ram 2221,S St Apt #23,Lincoln NE-68503 Email:[EMAIL PROTECTED] Ph:(402)742-9671 University Of Nebraska-Lincoln __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] installation on solaris
Hi, How to install kaffe on solarits?I would appreciate any pointers for this? Thank you -Ram __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] rmi support
Hai Does kaffe support rmi applications?If yes,are there any special steps to run the rmi applications in kaffe. Thank you Ram = C.Kalyan Ram 2221,S St Apt #23,Lincoln NE-68503 Email:[EMAIL PROTECTED] Ph:(402)742-9671 University Of Nebraska-Lincoln __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] method ID
Hai Does each java method or any method have a method ID in the kaffe?I mean does kaffe assign for each method its own id... Any help is greatly appreciated Thanks Ram = C.Kalyan Ram 2221,S St Apt #23,Lincoln NE-68503 Email:[EMAIL PROTECTED] Ph:(402)742-9671 University Of Nebraska-Lincoln __ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe