Re: [kaffe] Some problem with xprofiler

2005-05-16 Thread Timothy Stack
On Mon, May 16, 2005 at 11:32:14PM +0800, Jiangzhou He wrote: HelloWorld.class can run normally by kaffe without any parameter. But when I run it with -Xxprof to start xprofiler, kaffe don't terminate after executing main(), so I must press Ctrl+C to stop it manually. Only kaffe-jit-symbols.s

Re: [kaffe] Lock patch

2005-03-08 Thread Timothy Stack
On Mar 8, 2005, at 5:38 AM, Helmer Krämer wrote: If *lkp does not point to a heavy lock, a new one is allocated on the heap. I just want to interject a little note here, which I'm not sure is even relevant... Basically, Pat Tullmann (i think) once observed that the maximum number of heavy locks

Re: [kaffe] DArwin6 JIT3

2005-02-21 Thread Timothy Stack
On Feb 20, 2005, at 4:04 PM, Dalibor Topic wrote: Michael Franz wrote: On Sun, 20 Feb 2005 08:29:10 -0700, Timothy Stack [EMAIL PROTECTED] wrote: On Feb 20, 2005, at 5:21 AM, Dalibor Topic wrote: As for why stuff doesn't work, have you guys tried reverting my last changes to sysdepCallMethod

Re: [kaffe] DArwin6 JIT3

2005-02-21 Thread Timothy Stack
On Feb 20, 2005, at 12:52 PM, Dalibor Topic wrote: Timothy Stack wrote: On Feb 20, 2005, at 5:21 AM, Dalibor Topic wrote: As for why stuff doesn't work, have you guys tried reverting my last changes to sysdepCallMethod and the ppc trampoline? I probably screwed it up wrt darwin when I

Re: [kaffe] DArwin6 JIT3

2005-02-20 Thread Timothy Stack
On Feb 20, 2005, at 5:21 AM, Dalibor Topic wrote: As for why stuff doesn't work, have you guys tried reverting my last changes to sysdepCallMethod and the ppc trampoline? I probably screwed it up wrt darwin when I was getting linux to work. Now I just need to figure out which switch to toggle

Re: [kaffe] CVS kaffe (stack): Checkpoint of jitter for linux/ppc.

2004-12-21 Thread Timothy Stack
Hi Tim, Your patch is great but you have forgotten the code compatibility with JIT for jitCodeHeader. I think it is simple to adapt but could you do it ? It breaks the compilation on platforms which only supports JIT. I don't understand the problem... Do you have some output I can

Re: [kaffe] CVS kaffe (hkraemer): moved handling of thread interruption

2004-10-31 Thread Timothy Stack
moved handling of thread interruption to jthread layer, So, I haven't been paying close attention... But, didn't interruption used to be in the jthread layer, and then someone moved it up to the java layer. Why move it back down? thanks, tim ___

[kaffe] Re: mipsel/jit3 regression test results

2004-10-13 Thread Timothy Stack
On Tue, 2004-10-12 at 11:11, Timothy Stack wrote: To run it manually, you need to do something like the following in sh/bash: [..snip..] Magic, thanks! Excellent! Results are: Bombed with Illegal Instruction: ControlFlowMethods, ObjectFields, PrimitiveArrays, StaticFields

Re: [kaffe] mipsel and jit3

2004-10-12 Thread Timothy Stack
On Oct 11, 2004, at 6:47 PM, Dalibor Topic wrote: Mikolaj Habryn wrote: So, trying to run them, deducing environment setup etc. from scripts. internal/jitBasic appears to work, but doesn't actually seem to do anything. stracing it on x86 also doesn't appear to do anything (anything with the list

Re: [kaffe] Idea for a security compatible JIT

2004-10-04 Thread Timothy Stack
(I'm not subscribed, and I won't help you past this message, but it'd be nice to know you're working on this :) Please respond, even if just to say you read the message. :) I'm interested in knowing whether or not you're interested in exploring this idea at all; although this is all the

Re: [kaffe] PowerPC JIT3 - How to integrate

2004-09-13 Thread Timothy Stack
Hi All, I have the PowrPC JIT3 compiling and running for Mac OS X 10.2.8. It does not run well - I think it fails everything at the moment. I am wondering do we want to add it to the Kaffe's head so that anyone with an interest can look at it and get it working? yes Michael tim

Re: [kaffe] [PATCH] fixing UDP receive timeout (makes mauve not hang

2004-09-10 Thread Timothy Stack
- should the socket be permanently non blocking? I've CC:ed Tim Stack[1] Guilhem Lavaux on that one. Socket should be blocking by default. It is necessary for the other syscalls. BTW, you may be interested by the jthread_set_blocking function (available for both jthreads and

Re: [kaffe] stepping inside kaffe.def file

2004-09-09 Thread Timothy Stack
Hi, how can I step inside the file .../kaffe/kaffevm/kaffe.def while debugging? when I do a 'step', gdb just shows the line number and says in file kaffe.def. It doesn't show the code that's being executed. I checked that the Makefile in the same directory has the -g option. What

Re: [kaffe] Re: m68k/jit3 can print Hello World!

2004-07-27 Thread Timothy Stack
hi, On Tuesday, July 27, 2004, at 05:32 AM, Kiyo Inaba wrote: The regression test was finished. m68k/jit3 failed 44 tests. There are enough room to improve, but big progress, I think. Dalibor, could you put my patch attached into the CVS? If you have any additional test cases can you submit those

[kaffe] Re: fixing tests/internal

2004-07-14 Thread Timothy Stack
Heya, it seems that the internal jit tests on CVS head can no longer be built. I've tried to write a patch to fix that, but I just managed to make the test compile fail. Any idea what's wrong? I've attached my patch. The problem is with JNI_GetDefaultJavaVMInitArgs() in jni-base.c, the

Re: [kaffe] Relicensing the Verifier, and Turning it On

2004-07-13 Thread Timothy Stack
Looks like this will depend mainly on Tim... Uh, me? Sorry, I haven't been paying attention... If it is me, I could care less about legal stuff, do what you want. :) Chris tim ___ kaffe mailing list [EMAIL PROTECTED]

Re: [kaffe] patch for kaffe1.0.7jit3 code runing on MIPS

2004-07-08 Thread Timothy Stack
There is libunwind http://www.hpl.hp.com/research/linux/libunwind/, but it only supports x86 and IA-64. GCC has fairly sophisticated unwinding support, in gcc/unwind*. For MIPS, and probably most other architectures too, it uses the DWARF-2 debugging format for unwinding, because that

Re: [kaffe] Possibly Bug In the implementation of jcondvar_broadcast

2004-06-03 Thread Timothy Stack
dai shaowei wrote: Dear Jim Pick: I am currently analysing the source code of Kaffe,I find there are possibly something wrong in the implemention of the function jcondvar_broadcastand jthread_stop in kaffe -1.1.4\kaffe\kaffevm\systems\unix-jhtreads,following is the source

Re: [kaffe] NetworkInterfaceTest failed

2004-05-21 Thread Timothy Stack
The network interface ed0 has two addresses: inet 192.168.0.4 netmask 0xff00 broadcast 192.168.0.255 inet6 fe80::290:99ff:fe5f:4cb2%ed0 prefixlen 64 scopeid 0x2 In this case, I think, java.net.getNetworkInterfaces() should return one interface, [ed0 {192.168.0.4,

Re: [kaffe] Cross compilation on MacOS X - need a little help

2004-05-21 Thread Timothy Stack
This continues several times for other make directories. Otherwise, the native and the cross-compilation runs without further errors. When I try to execute any .jar file, I get the same error messages. Hm. I think that's a problem with the current compile_time tests. Tim,

Re: [kaffe] CVS kaffe (guilhem): Implemented stack overflow detection.

2004-04-22 Thread Timothy Stack
Implemented stack overflow detection. Can you give us a more detailed explanation of what this all is? thanks, tim ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Re: [kaffe] LwVCL and Thinlet

2004-03-29 Thread Timothy Stack
Hi! hi, And in its forum, anybody have written, that there existing an other one, too, called Thinlet. Thinlet sort-of runs on kaffe, although the performance kinda sucks. It is a nice toolkit though. Both looks very nice. And I hope, that something of that can be a replacement for

Re: [kaffe] debugging JITted methods

2004-03-19 Thread Timothy Stack
Dalibor Topic wrote: See the xdebugging support (FAQ.xdebugging) for a way to generate debugging information in jitted code siutable for gdb. You can take a look at the emitted code from the jitter by configuring and building kaffe with --enable-debug and using kaffe -vmdebug JIT

Re: [kaffe] MIPS JIT3 and null pointers.

2004-03-19 Thread Timothy Stack
Casey == Casey Marshall [EMAIL PROTECTED] writes: Casey Hi, I've determined why an invokeinterface on a null object Casey will abort rather than throw a NullPointerException: in Casey dispatchException (kaffe/kaffevm/exception.c:303) the full Casey stack trace cannot be built, for some

Re: [kaffe] Bug in Kaffe 1.1.4 handling of Stack Overflow.

2004-03-15 Thread Timothy Stack
I'm using Kaffe 1.1.4. What CPU/OS are you using? If I compile and run the following test program under Kaffe 1.1.4, Kaffe exits with status 0 (normal exit). It should instead throw a java.lang.StackOverflowError and print out a backtrace. The program, Bad.java: [snipped]

Re: [kaffe] PATCH: check range before calling sub_int_const

2004-03-10 Thread Timothy Stack
This fixes the issue I posted about earlier, that causes a segfault in `translate'. Without this, sub_int and sub_int_const will recursively call each other. Which is bad. 2004-03-09 Casey Marshall [EMAIL PROTECTED] * kaffe/kaffevm/jit3/icode.c: (sub_int): call

Re: [kaffe] More mipsel jit3

2004-03-09 Thread Timothy Stack
You might want to remove the boolean_exception() method from the ControlFlowMethods class (or move it to the end of the class). It instantiates a new Throwable Object which causes a whole bunch of methods to be translated and executed. Yeah, that kinda sucks, the old kaffe Throwable was

Re: [kaffe] More mipsel jit3

2004-03-09 Thread Timothy Stack
But now my problem appears to be that soft_anewarray is being called with an uninitialized class, which is supposed to be java.util.HashMap$HashEntry. Any ideas of why this would happen? Need some more info: What test is dying? Can you send a back trace and disassembly? And anything

Re: [kaffe] PATCH: consistently separate jitter and backend register ID

2004-03-09 Thread Timothy Stack
Hi. hi, Working on the MIPS JIT3 I have made some small changes to the architechture-independent register code for JIT3 that at least allow the MIPS JIT to pass all the tests in test/internal. To summarize, slotRegister now returns the `jitter ID' of the assigned register (the index into

Re: [kaffe] More mipsel jit3

2004-03-09 Thread Timothy Stack
Success! Casey So either (1) the call to push_int preceding this is bogus, or Casey (2) that call needs to be followed by a popargs, but isn't. The problem stemmed from exception throwing: popargs_internal will not call popargs if the method does not return (and popargs_noreturn, called

Re: [kaffe] Re: [OFBiz] Dev - Re: good day for kaffe 1.1.4 and ofbiz 2.1

2004-03-08 Thread Timothy Stack
On Mar 8, 2004, at 12:55 PM, Adam Heath wrote: Also, shutdown hooks in kaffe are not run. OK, that's bad. Do you have a small (5-10 lines) test case? I'll make one. == bash-2.05b$ /usr/lib/kaffe/bin/java -cp . ShutdownHookTest bash-2.05b$ /usr/lib/j2se/1.4/bin/java -cp . ShutdownHookTest

Re: [kaffe] mipsel JIT3

2004-03-06 Thread Timothy Stack
On Mar 5, 2004, at 4:24 PM, Casey Marshall wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin == Kevin D Kissell [EMAIL PROTECTED] writes: * If I renumber the float registers from 32 to 63, the spill problem doesn't happen, but I get a bus error when the `call' instruction is reached.

Re: [kaffe] mipsel JIT3

2004-03-05 Thread Timothy Stack
Timothy Hmm, what are the error messages? The internal tests are Timothy pretty much the baby-steps, so you might want to pursue this Timothy first. The tests starts out simple with just trying to call Timothy functions, then passing parameters, then doing some Timothy arithmetic, and so

Re: [kaffe] [PATCH] use InternalError for memory errors

2004-03-05 Thread Timothy Stack
Hi, hi, I'd like to suggest that instead of throwing a NullPointerException for bad memory accesses (SIGBUS and SIGSEGV) an InternalError is thrown instead. Well, if the VM has done a bad memory access that isn't a null pointer dereference, there is really no point in continuing and the VM

Re: [kaffe] mipsel JIT3

2004-03-05 Thread Timothy Stack
*Maybe* the register functions need to be a little smarter, by first choosing any register whose regno field matches the ideal number, then choosing the best register out of that set that fits the other criteria best. (This is all crash-course hacking I'm

Re: [kaffe] mipsel JIT3

2004-03-04 Thread Timothy Stack
Hi, hi, I've started hacking around the JIT3 sources, and have found at least the first point of failure: spill() in jit3/register.c is being called in such a way that reginfo[s-regno].ctype is 0, i.e. it's type field is unset. This causes an immediate ABORT because there is (obviously) no

Re: [kaffe] mipsel JIT3

2004-03-04 Thread Timothy Stack
Timothy What method is being jitted? Does the MIPS jitter pass all Timothy of the tests in the test/internal directory? java.lang.Float.toString. okie I can't seem to get jitBasic to staticly link, and Hmm, what are the error messages? The internal tests are pretty much the

Re: [kaffe] JIT4

2004-03-03 Thread Timothy Stack
Who should I hand it over to? I don't want the work to be lost, but wasn't sure anyone was actively maintaining kaffe. You can send it to me, Dalibor, or anyone else with CVS access. Either way, we'll just check it in as is. Although, we'll probably leave it out of the distribution until

Re: [kaffe] JIT4

2004-03-01 Thread Timothy Stack
mike == mikey [EMAIL PROTECTED] writes: mike I have no problem handing it over, as long as the code has the mike proper acknowledgements, but I will not be able to help with mike much support at the moment. Ooh, please post it, especially if you are going to stop working on it.

Re: [kaffe] CVS kaffe (guilhem): New compile_time regression test.

2004-01-26 Thread Timothy Stack
hi, New compile_time regression test. I'm not sure if this test belongs here or not... The compile_time and run_time directories were intended to check for differences in compile time vs. run time class paths. For example, if I compiled against a class, but at run time, the class is really

Re: [kaffe] SHA1PRNG synchronization w/ reseed

2004-01-20 Thread Timothy Stack
'lo all, hi, an app I'm working on is gobbling up entropy like there's no tomorrow, and I've run into the following intermittently: java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy (System.java) at kaffe.security.provider.SHA1PRNG.engineNextBytes

Re: MIPS remote debugging support (Was: Re: [kaffe] mipsel SIGSEGV)

2003-12-10 Thread Timothy Stack
b) Adding support for gdb stubs for mips to kaffe. There is a mips-stub.c in the linux kernel sources [1] and there is some documentation on using remote stubs [2]. We are thinking alike ;-) This is the next step in my plan. Over the weekend, I dug out mips-stub.c (ok, in my

Re: [kaffe] ANN: testing page and results

2003-12-09 Thread Timothy Stack
There is my current attempt to track down the sparc build problem on * BSD/sparc (besides, notice the current statups of OpenBSD: some stupid header is acting up). Since Solaris did work in August I tried to update it gradually to see if it breaks and if it breaks if it acts like

Re: [kaffe] Documentation

2003-11-23 Thread Timothy Stack
Hi everyone, hi, I haven't read the list for a few months now, so I don't know if there have been any developments from the documentation front. Anyway, my thesis (due in a few days) includes some useful information (well at least I guess it might be useful to other people) about the

Re: [kaffe] x86 JIT bug

2003-11-01 Thread Timothy Stack
On Oct 31, 2003, at 10:12 PM, Jim Pick wrote: This dies with a NullPointerException with jit3 on x86, but it works with the interpreter. I'll look deeper tomorrow, but if anybody else wants to take a shot at it, be my guest. Its caused by the jitter not spilling one of the values before the

Re: [kaffe] Weird warnings on powerpc-macosx

2003-10-30 Thread Timothy Stack
Hi Tim, hi, while I'm taking the chance to root out the warnings on macosx, I stumbled accross a weird one in kaffe.def. Namely all code of the form (METHOD_NATIVECODE(method_method())== soft_null_call) ) raises a gcc warning sayng that the comparison of distinct pointer types

Re: [kaffe] patch w/ security implications for SecureRandom

2003-10-27 Thread Timothy Stack
Hola, hi, I've been running into some messy stuff with the kaffe SecureRandom and finally looked into what was up - there was a missing shift in the next(int numbits) function. Demo program trivial patch below. Oops, my bad, I'll check it in in a sec. I know kaffe's SecureRandom

Re: [kaffe] loadClass() vs. loadClass()

2003-09-19 Thread Timothy Stack
Hi, I gave JBoss another try recently and finally got to a point where I really don't know what to do. As you will know, java.lang.ClassLoader contains two different loadClass methods, one that takes a String and a boolean as its parameters and one that takes only a String. Whenever

Re: [kaffe] Freeing jit temp data on demand (Was: Re: JavaLayer 0.3.0

2003-09-19 Thread Timothy Stack
hi, now the jit frees its temp data, but I don't hear a sound anymore and the cpu usage is at ninety-something percent ;) when I run kaffe with -verbosecall and pipe the output to a file, I can hear some sound, but it skips. Weird. Could you take a third look at the code?

Re: [kaffe] loadClass() vs. loadClass()

2003-09-19 Thread Timothy Stack
Could this probably help with the problem about loading classes during verification, too? One of the problems was that we thought we couldn't predict the state of a class that's returned by a user class loader, but this paragraph seems to define this, doesn't it ? I don't think so, the root

Re: [kaffe] Freeing jit temp data on demand (Was: Re: JavaLayer 0.3.0

2003-09-18 Thread Timothy Stack
Hi Tim, it's getting better but it's not perfect yet ;) bah, i suck now the jit frees its temp data, but I don't hear a sound anymore and the cpu usage is at ninety-something percent ;) when I run kaffe with -verbosecall and pipe the output to a file, I can hear some sound, but it

Re: [kaffe] build error with current CVS

2003-09-17 Thread Timothy Stack
make Klasses Compiling classes from @essential.files using /usr/src/kaffe/kaffe/kaffe/kaffe-bin -verbosegc at.dms.kjc.Main [ start compilationin verbose mode ] lt-kaffe-bin: machine.c:221: translate: Assertion `reinvokde == false' failed ./rebuildLib: line 55: 994 aborted my bad,

Re: [kaffe] Freeing jit temp data on demand (Was: Re: JavaLayer 0.3.0 works)

2003-09-16 Thread Timothy Stack
Timothy Stack wrote: Hi, The memory usage seems to come from jit-temp-data: Nr179 Mem 8980K, which doesn't get freed as it should be, so it's impossible to run with less then -mx 16M. I think the gc should try to free jit temp data when it runs out of memory. Tim, Helmer

Re: [kaffe] Regarding labels !!

2003-09-15 Thread Timothy Stack
Akash Mahajan wrote: I meant the label structure defined in labels.h, something more simpler and understandable than what is written in that file. Which labels.h? The one in jit or jit3? And, what in particular don't you understand? tim ___

[kaffe] Re: JavaLayer 0.3.0 works

2003-09-15 Thread Timothy Stack
Hi, just a quick heads up, since this his been a busy weekend getting applications to work: JavaLayer 0.3.0 works with kaffe from CVS. JavaLayer is a free software MP3 player, available at http://www.javazoom.net/javalayer/javalayer.html . It's quite fast, and takes about 18M to play

Re: [kaffe] CVS kaffe (jim): Fix -- only register network interfaces that have an IPv4 or IPv6 address.

2003-09-02 Thread Timothy Stack
PatchSet 4010 Date: 2003/09/02 00:53:58 Author: jim Branch: HEAD Tag: (none) Log: Fix -- only register network interfaces that have an IPv4 or IPv6 address. ... Its still kinda broken and a cursory look at the code shows that it doesn't quite match what the previous code was doing. Is

Re: [kaffe] bug report

2003-09-02 Thread Timothy Stack
Hi, hi, I was doing a make check on the latest CVS version of Kaffe and got the following error: ../kaffevm/.libs/libkaffevm.so: undefined reference to `softcall_illegalaccess' My bad, I'll get it in a sec. and the check failed. The architecture is PA-RISC and the OS is Debian. I

Re: [kaffe] Porting of Kaffe

2003-09-02 Thread Timothy Stack
I am part of a team porting Kaffe to a Cray. I would like to find someone who has an understanding of why the locks were implemented with hidden stack variable (the where in _lockMutex). It is causing great consternation in light of the Cray stack. Can you explain whats unique about the

Re: [kaffe] jvmpi

2003-08-31 Thread Timothy Stack
hi, I've checked in some JVMPI stuff. Its not completely done yet, but its a pretty good start. I'll try and get it finish RSN. Hopefully, i didn't break anything... Real soon now indeed... The last checkin gets things a bit farther, atleast for the jit3/unix-jthreads

Re: [kaffe] CVS kaffe (guilhem): Various fixes.

2003-08-31 Thread Timothy Stack
PatchSet 4001 Date: 2003/08/31 17:16:47 Author: guilhem Branch: HEAD Tag: (none) Log: Various fixes. Noticeable changes: Reimplementation of deleteOnExit (missing in classpath) The test case for this is not checked in (DeleteFile.java). Removed SoInterrupt because it is wrong.

Re: [kaffe] CVS kaffe (guilhem): Classpath's IO/net subsystem merging + fixes.

2003-08-30 Thread Timothy Stack
On Sat, 30 Aug 2003 07:20:57 -0700 Kaffe CVS [EMAIL PROTECTED] wrote: PatchSet 3996 Date: 2003/08/30 14:18:17 Author: guilhem Branch: HEAD Tag: (none) Log: Classpath's IO/net subsystem merging + fixes. Nice work! That's going to help me out a lot. I compiled it 4

Re: [kaffe] CVS kaffe (hkraemer): fixed mem leak in garbage collector

2003-08-22 Thread Timothy Stack
On Friday, August 22, 2003, at 05:43 AM, Kaffe CVS wrote: PatchSet 3971 Date: 2003/08/22 11:42:13 Author: hkraemer Branch: HEAD Tag: (none) Log: fixed mem leak in garbage collector Can you elaborate on what was going on here? thanks, tim ___ kaffe

Re: [kaffe] completed bytecode verifier!

2003-08-18 Thread Timothy Stack
On Friday, August 8, 2003, at 10:22 AM, Timothy Stack wrote:but not CSTATE_LINKED. The subclass would load the superclass using this special getClass(), set its own state to CSTATE_LOADED_SUPER (and NMS_LOADING) and process the superclass to CSTATE_LINKED afterwards. That way, the verifier would

Re: [kaffe] jvmpi

2003-08-14 Thread Timothy Stack
hi Tim, hi, I've checked in some JVMPI stuff. Its not completely done yet, but its a pretty good start. I'll try and get it finish RSN. Hopefully, i didn't break anything... thanks! I've tried to build kaffe with jvmpi enabled, but it breaks during linking because a function is

Re: [kaffe] completed bytecode verifier!

2003-08-14 Thread Timothy Stack
Hi all, I just committed the bytecode verifier. It's a huge chunk of code and it's very likely that there are little bugs lurking around in it...I can't even count how many off-by-one errors I had during development. make check-TESTS make[1]: Entering directory

Re: [kaffe] completed bytecode verifier!

2003-08-09 Thread Timothy Stack
Hi Tim, hi, I think I managed to figure out what is going wrong here. Hopefully my explanations will not get too confusing. Thanks, I understood it just fine. First of all, you might consider applying the attached patch, since it will give you some better error messages in case some type

Re: [kaffe] completed bytecode verifier!

2003-08-08 Thread Timothy Stack
Hi all, I just committed the bytecode verifier. It's a huge chunk of code and it's very likely that there are little bugs lurking around in it...I can't even count how many off-by-one errors I had during development. make check-TESTS make[1]: Entering directory

Re: [kaffe] static vm on mipsel

2003-08-07 Thread Timothy Stack
Hi folks I've compiled kaffe for mipsel and wound up with a dynamically linked kaffe-bin. One of the FAQs says to give configure --with-staticvm and it will link statically. I did, but got a dynamically linked kaffa-bin again. Is there any way to force it to build statically?

Re: [kaffe] Jython

2003-08-03 Thread Timothy Stack
hi guys, CVS update and try again... I'm able to run it, but I get an occasional 'java.io.IOError: Bad file descriptor', haven't looked into it though. Also, it turns out the installer they use is broken and doesn't check for errors when loading images. So, if kaffe doesn't find a gif

Re: [kaffe] Debugging Help

2003-07-30 Thread Timothy Stack
Hi all, hi, Attached is a patch for a nearly completed bytecode verifier. There are two things that are still not checked that are required by JVM Spec 4.8.2, but they will be pretty simple to add in later. Well, first, there are a couple references to 'free()' which should be 'KFREE()'.

Re: [kaffe] Quick Stack Trace Question

2003-07-29 Thread Timothy Stack
Hi all, hi, When my verifier throws a VerifyError kaffe exits fine, but I get a: No stacktrace available What generally causes a lack of stacktrace being available? I'm assuming you're trying to execute a broken class on the command line... In which case, the VM never gets a

Re: [kaffe] build failures

2003-07-28 Thread Timothy Stack
Timothy Stack wrote: hi, hi, Thanks, I didn't notice we had different failures. ops, I didn't look close enough, the intrp ones are my fault... I need to fix it so jvmpi works right. should be fixed by attached patch. cheers, dalibor topic thanks, tim

Re: [kaffe] NIO in classpath

2003-07-24 Thread Timothy Stack
On Thursday, July 24, 2003, at 01:06 AM, Guilhem Lavaux wrote: Hi ! hi, I joined Kaffe developers recently and I am currently fixing things here and there. One of my current projects is to get a valid NIO implementation in Kaffe/Classpath. As I have already some work done (FileChannels on

Re: [kaffe] State of the Verifier

2003-07-23 Thread Timothy Stack
Hi, hi, I don't see why instanceof or checkcast would need to be loaded aggressively during verification, but my hunch is that they're dealing with some of the same issues that I am. Namely, when checkcast is performed during execution simulation you'll need to be able to load a pointer

Re: [kaffe] State of the Verifier

2003-07-23 Thread Timothy Stack
Hello, hi, The JanosVM versions don't, so you can try backporting those. Are you sure the janosVM versions don't force the referenced class to be linked? I just spent some time poking around the 1.0a source and it seems that they do... of course, I could simply be misreading

Re: [kaffe] New server is up

2003-07-23 Thread Timothy Stack
On Wednesday, July 23, 2003, at 06:32 PM, Jim Pick wrote: Hi, hi, I think we're back... The motherboard on our server died suddenly late on Monday night, and I had to scramble to figure out what was wrong and basically build a new server. I ripped the old server out yesterday morning, got the

Re: running Java applications within kaffe (Re: [kaffe] shutdownHook changes broke the build)

2003-07-09 Thread Timothy Stack
hi Guilhem, I've just checked in a patch that fixed the remaining compilation problems for me. Cool, thanks. It now builds fine for me, but the shutdown hook test still fails. From a cursory examination it looks like some bad code is generated somewhere. The 'dummy' variable has a

Re: running Java applications within kaffe (Re: [kaffe] shutdownHook changes broke the build)

2003-07-09 Thread Timothy Stack
From a cursory examination it looks like some bad code is generated somewhere. The 'dummy' variable has a different value after the first call to addShutdownHook() :( FYI, I'm pretty sure its kjc's fault tim ___ kaffe mailing list [EMAIL

Re: running Java applications within kaffe (Re: [kaffe] shutdownHook changes broke the build)

2003-07-09 Thread Timothy Stack
From a cursory examination it looks like some bad code is generated somewhere. The 'dummy' variable has a different value after the first call to addShutdownHook() :( FYI, I'm pretty sure its kjc's fault Note to Rob: The verifier isn't picking up on the error like the jdk:

Re: [kaffe] Shutdown patch

2003-07-08 Thread Timothy Stack
Hi, hi, This patch adds the ShutdownHook (Java 1.3) feature to kaffe. Here is a=20 Changelog: Neat, can you make a test case for it please? Cheers, Guilhem. thanks, tim ___ kaffe mailing list [EMAIL PROTECTED]

Re: [kaffe] failed regression tests

2003-07-01 Thread Timothy Stack
Hi all, hi, * KaffeInternal.java: * /* Expected Output: java.lang.NoClassDefFoundError: kaffe/lang/ThreadStack */ what i got:

Re: [kaffe] new machine-dependent source file

2003-07-01 Thread Timothy Stack
Hi Automake/autoconf experts, is there any way to add a new machine-dependent assembler (.s) or C (.c) file to the build process, and put it my config/cpu or config/cpu/os dir? I tried creating a cpu/os/Makefile.frag as its done in the engines and threadsystems directories, but

Re: [kaffe] new machine-dependent source file

2003-07-01 Thread Timothy Stack
On Tue, 1 Jul 2003, Timothy Stack wrote: I tried creating a cpu/os/Makefile.frag as its done in the engines and threadsystems directories, but that didn't quite work... It appears that the configure script looks for Make.frag and not Makefile.frag. Ah, gotta love

Re: [kaffe] HAVE_move_float_const

2003-07-01 Thread Timothy Stack
Hi everyone, hi, (especially the JIT back-end coders) does anyone have any idea why _slot_slot_fconst is declared void _slot_slot_fconst(SlotInfo*, SlotInfo*, double, ifunc, int) ^^ shouldn't there be a float instead? Can you update

Re: [kaffe] HAVE_move_float_const

2003-06-30 Thread Timothy Stack
On Monday, June 30, 2003, at 04:54 AM, Gerlando Falauto wrote: Hi everyone, hi, (especially the JIT back-end coders) does anyone have any idea why _slot_slot_fconst is declared void _slot_slot_fconst(SlotInfo*, SlotInfo*, double, ifunc, int) ^^

Re: [kaffe] 1.1.0 Interpreter Performance

2003-06-11 Thread Timothy Stack
On Wednesday, June 11, 2003, at 06:01 AM, Helmer Krämer wrote: On Wed, 11 Jun 2003 13:02:16 +0200 Kevin D. Kissell [EMAIL PROTECTED] wrote: Our of curiousity, I configured the MIPS/Linux interpretive kaffe with --disable-debug, for speed, and ran the Embedded CaffeieneMark benchmark. Comparing

Re: [kaffe] 1.1.0 on alpha-linux: make check crashes

2003-06-11 Thread Timothy Stack
On Wednesday, June 11, 2003, at 05:16 AM, Kevin D. Kissell wrote: Could you please check confirm that the 4 regression tests which succeed on alpha-linux are the same 4 that succeed with MIPS/Linux under jit3, i.e. HelloWorldApp.class.save CatchLimits.class.save TestFloatDouble, and ThreadStop?

[kaffe] Test results: FreeBSD 4.6

2003-06-06 Thread Timothy Stack
hi, I've attached a log of a FullTest.sh done on a 1Ghz PIII running FreeBSD 4.6. Basically, everything seemed to work, whee. Although it took forever to run... tim 267 irontown:release/kaffe uname -a FreeBSD irontown 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Aug 1 23:39:05 MDT 2002

Re: Release Dates (was Re: [kaffe] Qt AWT backend works under Qtopia(Qt Palmtop))

2003-06-05 Thread Timothy Stack
hi guys, (Sorry I haven't been active, work and all) On Tuesday, June 3, 2003, at 09:29 AM, Jim Pick wrote: Well, the original plan for 1.1.0 was to freeze on May 18th, and release on June 1st. Obviously, we didn't freeze on May 18th, and did not release on June 1st. I'll take the blame for

Re: [kaffe] jetty _almost_ works

2003-06-01 Thread Timothy Stack
Hi, hi, Sorry for the late checkins, I'm trying to help out some other folks, hopefully they won't cause any damage. Anyways, they get us pretty close to a working jetty (jetty.mortbay.org/jetty/). The server gets running, but for some reason it can't find any pages, bah. If

Re: [kaffe] help with -Xxprof

2003-05-31 Thread Timothy Stack
Hai Please give me step by step instruction on how to run the xprof..I am having really tough time configuring with xprof with the FAQ file provided. Get the CVS version, I'm pretty sure it works just fine. I would really appreciate the help... Thanks Ram tim

Re: [kaffe] libraries/clib/net/InetAddressImpl.c cannot be compiled on old Linux

2003-05-31 Thread Timothy Stack
On Friday, May 30, 2003, at 08:08 AM, Dalibor Topic wrote: 2. Patch replace/getifaddrs.c Old Linux does not have linux/netlink.h and linux/rtnetlink.h. So I do not expect kaffe to use replace/getifaddrs.c. I'll happily let Tim deal with the ipv6 stuff ;) Just some configure magic i think.

[kaffe] jetty _almost_ works

2003-05-31 Thread Timothy Stack
hi, Sorry for the late checkins, I'm trying to help out some other folks, hopefully they won't cause any damage. Anyways, they get us pretty close to a working jetty (jetty.mortbay.org/jetty/). The server gets running, but for some reason it can't find any pages, bah. If anyone wants to

Re: [kaffe] libraries/clib/net/InetAddressImpl.c cannot be compiled on old Linux

2003-05-30 Thread Timothy Stack
hi, On Thursday, May 29, 2003, at 10:00 PM, Ito Kazumitsu wrote: The current libraries/clib/net/InetAddressImpl.c and some others cannot be compiled on my poor old Linux (2.0.38) machine. What is wrong: (1) InetAddressImpl.c checks whether AF_INET6 and PF_INET6 are defined. Yes, they are

Re: [kaffe] Class loader checkins

2003-05-27 Thread Timothy Stack
hi, hi, I just checked in some code merged from the JanosVM, which include some fixes for the class loader and other bits. Update and give it a go. Hopefully, I didn't frell everything up... everything's working fine here, too ;) good However, I've got two small issues:

Re: [kaffe] Bug [CVS version]: Calling non-implemented method in abstract class

2003-03-28 Thread Timothy Stack
Hi all, hi, The following code: --- snip --- gives me the following error: [EMAIL PROTECTED]:~/ff/fenfire$ /usr/local/kaffe/bin/kaffe -cp build Bug java.lang.NoSuchMethodError: Bug$Abstract.foo()V at Bug$Abstract.bug(source file unknown:line unknown, pc 0x81ff788)

Re: [kaffe] Simple program shows strange results

2003-03-14 Thread Timothy Stack
hi, In message Re: [kaffe] Simple program shows strange results on 03/03/05, Ito Kazumitsu [EMAIL PROTECTED] writes: I have made a simpler test program: This strange problem occurs with float and double, but not with int or byte. $ cat Test.java.m4 public class Test { public

Re: [kaffe] [Bug in CVS version] (-1)/2 == -1 sometimes

2003-03-13 Thread Timothy Stack
Hi all, hi With a current CVS version of Kaffe (compiled yesterday), the following program, compiled with Sun javac or kjc-- Thanks for the bug report, I've replicated it and am trying to fix it... Thanks, - Benja tim ___ kaffe mailing

Re: [kaffe] [Bug in CVS version] (-1)/2 == -1 sometimes

2003-03-13 Thread Timothy Stack
Hi all, hi, With a current CVS version of Kaffe (compiled yesterday), the following program, compiled with Sun javac or kjc-- ... gives me this output: [EMAIL PROTECTED]:/tmp$ /usr/local/kaffe/bin/java -cp . Foo 0 -1 CVS update and give it a try. The problem was that the jitter

Re: [kaffe] JIT3 Questions

2003-03-10 Thread Timothy Stack
I've been looking at the problem with JIT3 on MIPS platforms, and have come across something distinctly suspicious that I know how to fix in the abstract. I could use some guidance from other more experienced JIT hands as to how to best deal with it in practice. In the generated function

  1   2   >