This makes it easier to add new system properties in the future, and
error handling is confined to a single place in the source code.
Signed-off-by: Vegard Nossum
---
vm/jato.c | 32 +++-
1 files changed, 19 insertions(+), 13 deletions(-)
diff --git a/vm/jato.c b/v
Signed-off-by: Vegard Nossum
---
include/vm/class.h |1 +
vm/class.c | 38 ++
vm/itable.c| 23 +--
3 files changed, 40 insertions(+), 22 deletions(-)
diff --git a/include/vm/class.h b/include/vm/class.h
index cf07dc7
Signed-off-by: Vegard Nossum
---
vm/jato.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/vm/jato.c b/vm/jato.c
index 41e9e73..492550c 100644
--- a/vm/jato.c
+++ b/vm/jato.c
@@ -174,6 +174,13 @@ static int32_t __vm_native
native_vmsystem_identityhashcode(struct v
Signed-off-by: Vegard Nossum
---
vm/jato.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/vm/jato.c b/vm/jato.c
index 899361b..41e9e73 100644
--- a/vm/jato.c
+++ b/vm/jato.c
@@ -100,6 +100,13 @@ static void __vm_native native_vmruntime_exit(int status)
exi
This is needed for java.io.File.
Signed-off-by: Vegard Nossum
---
vm/jato.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/vm/jato.c b/vm/jato.c
index 7e2ef1f..899361b 100644
--- a/vm/jato.c
+++ b/vm/jato.c
@@ -84,6 +84,14 @@ static void __vm_native
native_vmsys
Java monitors are reentrant, so our mutexes should be as well (i.e. calling
a synchronized method from within another, both on the same object, should
not deadlock).
Reported-by: Tomek Grabiec
Signed-off-by: Vegard Nossum
---
include/vm/object.h |2 ++
vm/jato.c |2 ++
vm/obje
Now we take interfaces into account as well.
Signed-off-by: Vegard Nossum
---
vm/class.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/vm/class.c b/vm/class.c
index d4f099b..f3f1512 100644
--- a/vm/class.c
+++ b/vm/class.c
@@ -753,7 +753,11 @@ bool vm_class_is_ass
This also adds support for reading SourceFile class attribute
Signed-off-by: Tomek Grabiec
---
Makefile |1 +
cafebabe/include/cafebabe/class.h|1 +
cafebabe/include/cafebabe/sourcefile_attribute.h | 51 +++
cafeba
Signed-off-by: Tomek Grabiec
---
vm/class.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/vm/class.c b/vm/class.c
index 9efb7a7..e2fbb9f 100644
--- a/vm/class.c
+++ b/vm/class.c
@@ -408,7 +408,7 @@ int vm_class_init(struct vm_class *vmc)
signal_new_exc
Signed-off-by: Tomek Grabiec
---
vm/class.c | 35 +++
vm/classloader.c |5 +
2 files changed, 36 insertions(+), 4 deletions(-)
diff --git a/vm/class.c b/vm/class.c
index 96405db..9efb7a7 100644
--- a/vm/class.c
+++ b/vm/class.c
@@ -33,6 +33,7 @@
Hi,
The following changes since commit 0ba959dfd181e0c11c605b847831cee46a87c1a9:
Arthur Huillet (1):
x86: factorize code for INVOKE and FINVOKE
are available in the git repository at:
git://github.com/vegard/jato.git for-pekka
(Note: I'm sending this as a pull request in order to pr
We now push directly the floating point immediate value when we have one
instead of going through the XMM registers back to memory.
Signed-off-by: Arthur Huillet
---
arch/x86/insn-selector_32.brg | 14 +-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/arch/x86/insn
Tomek Grabiec wrote:
> @@ -229,7 +232,24 @@ static const struct method_preload_entry
> method_preload_entries[] = {
> "(Ljava/lang/Throwable;)Ljava/lang/Throwable;",
> &vm_java_lang_Throwable_initCause,
> },
> -
> + {
> + &vm_java_lang_StackTraceEl
introduce freg: EXPR_LOCAL and stmt_store: STMT_STORE(EXPR_TEMPORARY,
EXPR_LOCAL)
Signed-off-by: Arthur Huillet
---
arch/x86/insn-selector_32.brg | 44 +++-
1 files changed, 42 insertions(+), 2 deletions(-)
diff --git a/arch/x86/insn-selector_32.brg b/arch
Introduced in commit "vm: introduce fault injection into VM"
Signed-off-by: Tomek Grabiec
---
test/arch-x86/Makefile |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/test/arch-x86/Makefile b/test/arch-x86/Makefile
index 8e2526a..a374120 100644
--- a/test/arch-x86/Makefile
Signed-off-by: Tomek Grabiec
---
Makefile|3 +-
regression/jvm/ClassExceptionsTest.java | 66 +++
regression/run-suite.sh |1 +
3 files changed, 69 insertions(+), 1 deletions(-)
create mode 100644 regression/j
This lets us enabled/disable specific VM faults from regression tests
Signed-off-by: Tomek Grabiec
---
Makefile |3 +-
include/vm/fault-inject.h| 23
regression/jato/internal/VM.java |4 ++
vm/class.c | 26 +++
Signed-off-by: Tomek Grabiec
---
include/vm/preload.h |4
vm/jato.c|2 --
vm/preload.c | 22 +-
vm/stack-trace.c | 45 ++---
4 files changed, 31 insertions(+), 42 deletions(-)
diff --git a/inclu
Signed-off-by: Tomek Grabiec
---
vm/preload.c | 137 +++---
1 files changed, 112 insertions(+), 25 deletions(-)
diff --git a/vm/preload.c b/vm/preload.c
index 264d7ab..5c8a181 100644
--- a/vm/preload.c
+++ b/vm/preload.c
@@ -64,25 +64,82 @@ s
19 matches
Mail list logo