Re: [PATCH] vm: catch and print unhandled exceptions

2009-06-25 Thread Pekka Enberg
On Fri, 2009-06-26 at 09:39 +0300, Pekka Enberg wrote: > On Fri, 2009-06-26 at 09:32 +0300, Pekka Enberg wrote: > > On Fri, 2009-06-26 at 00:45 +0200, Tomek Grabiec wrote: > > > When exception is thrown out of main then we should print that > > > exception (printing support is preliminary yet). The

Re: [PATCH] vm: catch and print unhandled exceptions

2009-06-25 Thread Pekka Enberg
On Fri, 2009-06-26 at 09:32 +0300, Pekka Enberg wrote: > On Fri, 2009-06-26 at 00:45 +0200, Tomek Grabiec wrote: > > When exception is thrown out of main then we should print that > > exception (printing support is preliminary yet). The process should be > > terminated with non-zero exit status to

Re: [PATCH] vm: catch and print unhandled exceptions

2009-06-25 Thread Pekka Enberg
On Fri, 2009-06-26 at 00:45 +0200, Tomek Grabiec wrote: > When exception is thrown out of main then we should print that > exception (printing support is preliminary yet). The process should be > terminated with non-zero exit status to indicate the failure. > > Signed-off-by: Tomek Grabiec Appli

Re: [PATCH] jit: do not use CLASS_CB macro in jit_native_trampoline()

2009-06-25 Thread Pekka Enberg
On Thu, 2009-06-25 at 23:14 +0200, Tomek Grabiec wrote: > Signed-off-by: Tomek Grabiec > --- > jit/trampoline.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/jit/trampoline.c b/jit/trampoline.c > index 1afcfbd..05f5cc6 100644 > --- a/jit/trampoline.c > +++ b/jit/

Re: [PATCH] vm: fix slash2dots() function

2009-06-25 Thread Pekka Enberg
On Thu, 2009-06-25 at 22:30 +0200, Vegard Nossum wrote: > 2009/6/25 Tomek Grabiec : > > > > Signed-off-by: Tomek Grabiec > > My mistake :-) > > Acked-by: Vegard Nossum Applied, thanks! --

Re: [PATCH] vm/classloader: stop searching once we've found the class

2009-06-25 Thread Pekka Enberg
On Thu, 2009-06-25 at 18:17 +0200, Vegard Nossum wrote: > From 721f6ad6eed965afb940158c25826a4c997cc74b Mon Sep 17 00:00:00 2001 > From: Vegard Nossum > Date: Thu, 25 Jun 2009 18:14:30 +0200 > Subject: [PATCH] vm/classloader: stop searching once we've found the class > > If we don't break out of

Re: [PATCH] run-suite: fix missing $JAVA_OPTS on cmdline

2009-06-25 Thread Pekka Enberg
On Thu, 2009-06-25 at 18:09 +0200, Vegard Nossum wrote: > 2009/6/25 Arthur HUILLET : > > Signed-off-by: Arthur HUILLET > > Acked-by: Vegard Nossum > > This was a left-over from: > > commit fd3c3475e6825e52b8d7045b96fd44bb5ae04c81 > Author: Vegard Nossum > Date: Mon May 25 14:18:21 2009 +020

[PATCH] vm: catch and print unhandled exceptions

2009-06-25 Thread Tomek Grabiec
When exception is thrown out of main then we should print that exception (printing support is preliminary yet). The process should be terminated with non-zero exit status to indicate the failure. Signed-off-by: Tomek Grabiec --- include/vm/stack-trace.h |1 + vm/jato.c| 10

Re: [PATCH] vm/object: fix array-of-primitive allocation

2009-06-25 Thread Vegard Nossum
Oops, that was the wrong patch. Sorry about that. Prepare for new submission. Vegard -- ___ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforg

[PATCH] jit: do not use CLASS_CB macro in jit_native_trampoline()

2009-06-25 Thread Tomek Grabiec
Signed-off-by: Tomek Grabiec --- jit/trampoline.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/jit/trampoline.c b/jit/trampoline.c index 1afcfbd..05f5cc6 100644 --- a/jit/trampoline.c +++ b/jit/trampoline.c @@ -61,7 +61,7 @@ static void *jit_native_trampoline(struct

Re: [PATCH] vm: fix slash2dots() function

2009-06-25 Thread Vegard Nossum
2009/6/25 Tomek Grabiec : > > Signed-off-by: Tomek Grabiec My mistake :-) Acked-by: Vegard Nossum > --- >  vm/utf8.c |    4 ++-- >  1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/vm/utf8.c b/vm/utf8.c > index b55cda7..d3538d7 100644 > --- a/vm/utf8.c > +++ b/vm/utf8.c > @@ -

[PATCH] vm/object: fix array-of-primitive allocation

2009-06-25 Thread Vegard Nossum
>From 721f6ad6eed965afb940158c25826a4c997cc74b Mon Sep 17 00:00:00 2001 From: Vegard Nossum Date: Thu, 25 Jun 2009 18:14:30 +0200 Subject: [PATCH] vm/classloader: stop searching once we've found the class If we don't break out of that loop, the next iteration (if there are more -cp arguments) wil

[PATCH] vm: fix slash2dots() function

2009-06-25 Thread Tomek Grabiec
Signed-off-by: Tomek Grabiec --- vm/utf8.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vm/utf8.c b/vm/utf8.c index b55cda7..d3538d7 100644 --- a/vm/utf8.c +++ b/vm/utf8.c @@ -88,8 +88,8 @@ char *slash2dots(char *utf8) char *result = strdup(utf8);

[PATCH] vm/classloader: stop searching once we've found the class

2009-06-25 Thread Vegard Nossum
>From 721f6ad6eed965afb940158c25826a4c997cc74b Mon Sep 17 00:00:00 2001 From: Vegard Nossum Date: Thu, 25 Jun 2009 18:14:30 +0200 Subject: [PATCH] vm/classloader: stop searching once we've found the class If we don't break out of that loop, the next iteration (if there are more -cp arguments) wil

Re: [PATCH] run-suite: fix missing $JAVA_OPTS on cmdline

2009-06-25 Thread Vegard Nossum
2009/6/25 Arthur HUILLET : > Signed-off-by: Arthur HUILLET Acked-by: Vegard Nossum This was a left-over from: commit fd3c3475e6825e52b8d7045b96fd44bb5ae04c81 Author: Vegard Nossum Date: Mon May 25 14:18:21 2009 +0200 regression: temporary work-around for cafebabe Just remove the e

[PATCH] run-suite: fix missing $JAVA_OPTS on cmdline

2009-06-25 Thread Arthur HUILLET
Signed-off-by: Arthur HUILLET --- regression/run-suite.sh |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/regression/run-suite.sh b/regression/run-suite.sh index 4b89769..f5b7625 100755 --- a/regression/run-suite.sh +++ b/regression/run-suite.sh @@ -10,7 +10,7 @@ functio

Re: [PATCH] build: fix long-standing bug with parallel make

2009-06-25 Thread Vegard Nossum
2009/6/25 Vegard Nossum : > 2009/6/25 Vegard Nossum >> >> From bfe486f4c2463b319660931126f71f69b94ade21 Mon Sep 17 00:00:00 2001 >> From: Vegard Nossum >> Date: Thu, 25 Jun 2009 15:21:01 +0200 >> Subject: [PATCH] build: fix long-standing bug with parallel make >> >> This got exposed with the rece

Re: [PATCH] build: fix long-standing bug with parallel make

2009-06-25 Thread Vegard Nossum
2009/6/25 Vegard Nossum > > From bfe486f4c2463b319660931126f71f69b94ade21 Mon Sep 17 00:00:00 2001 > From: Vegard Nossum > Date: Thu, 25 Jun 2009 15:21:01 +0200 > Subject: [PATCH] build: fix long-standing bug with parallel make > > This got exposed with the recent cafebabe merge. We need to depen

[PATCH] build: fix long-standing bug with parallel make

2009-06-25 Thread Vegard Nossum
>From bfe486f4c2463b319660931126f71f69b94ade21 Mon Sep 17 00:00:00 2001 From: Vegard Nossum Date: Thu, 25 Jun 2009 15:21:01 +0200 Subject: [PATCH] build: fix long-standing bug with parallel make This got exposed with the recent cafebabe merge. We need to depend on monoburg getting built before we

Re: [GIT PULL] cafebabe

2009-06-25 Thread Pekka Enberg
On Thu, 2009-06-25 at 14:05 +0200, Vegard Nossum wrote: > Ok. Please review and pull if this looks okay. Pulled, thanks! Can you please send me another one that removes jamvm completely from the master? Pekka --

[GIT PULL] cafebabe

2009-06-25 Thread Vegard Nossum
Hi, Please pull. I broke some of the most recent changes to mainline (stack-trace printing), that I will hopefully get around to fixing soon. For now, I really think you should pull, simply because I am not able to keep up with tgrabiec and ahuillet's patches anymore. And almost everything they d

[PATCH] x86: add OP_MUL(reg, reg)

2009-06-25 Thread Arthur HUILLET
It is necessary for System.out.println to work. Signed-off-by: Arthur HUILLET --- arch/x86/insn-selector_32.brg |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/x86/insn-selector_32.brg b/arch/x86/insn-selector_32.brg index 96316b7..63ed31b 100644 --- a/arch/x8

Re: [PATCH] x86: implement i2b conversion

2009-06-25 Thread Arthur Huillet
On Thu, 25 Jun 2009 11:59:16 +0200 Arthur HUILLET wrote: > Signed-off-by: Arthur HUILLET Don't apply, the test is broken. -- Greetings, A.H. -- ___ Jatovm-devel mailing

[PATCH] regression: add PrintTest test

2009-06-25 Thread Arthur HUILLET
Signed-off-by: Arthur HUILLET --- This patch works, please merge. Makefile |3 ++- regression/jvm/PrintTest.java | 39 +++ regression/run-suite.sh |1 + 3 files changed, 42 insertions(+), 1 deletions(-) create mode 100644

[PATCH] regression: add PrintTest test

2009-06-25 Thread Arthur HUILLET
Signed-off-by: Arthur HUILLET --- Hi, this patch adds a PrintTest regression test - for now the only thing enabled is a write call because that's the only working thing. :) Makefile |3 ++- regression/jvm/PrintTest.java | 39 ++

[PATCH] x86: implement i2b conversion

2009-06-25 Thread Arthur HUILLET
Signed-off-by: Arthur HUILLET --- Hi, this is the updated, working version. Please merge. Sorry for screwing up. arch/x86/emit-code.c|8 arch/x86/include/arch/instruction.h |1 + arch/x86/insn-selector_32.brg |5 + arch/x86/

[PATCH] x86: implement i2b conversion

2009-06-25 Thread Arthur HUILLET
Signed-off-by: Arthur HUILLET --- arch/x86/emit-code.c|8 arch/x86/include/arch/instruction.h |1 + arch/x86/insn-selector_32.brg |5 + arch/x86/lir-printer.c |8 arch/x86/use-def.c |1 + regression/jvm/